Use <bits/mman-linux.h> for MIPS
[jlayton/glibc.git] / ports / ChangeLog.mips
1 2013-03-06  Andreas Jaeger  <aj@suse.de>
2
3         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines
4         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5         (__MAP_ANONYMOUS): Define.
6
7         * sysdeps/unix/sysv/linux/mips/bits/msq.h (MSG_COPY): Define.
8
9 2013-02-27  Chung-Lin Tang  <cltang@codesourcery.com>
10             Maciej W. Rozycki  <macro@codesourcery.com>
11             Maxim Kuvyrkov  <maxim@codesourcery.com>
12
13         * sysdeps/mips/abort-instr.h (ABORT_INSTRUCTION) [__mips16]:
14         New macro.
15         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Add
16         MIPS16 version of assembly code.
17         (RTLD_START) [__mips16]: New macro.
18         * sysdeps/mips/fpu_control.h (__mips_fpu_getcw): New prototype.
19         (__mips_fpu_setcw): Likewise.
20         (_FPU_GETCW) [__mips16]: New macro.
21         (_FPU_SETCW) [__mips16]: Likewise.
22         * sysdeps/mips/machine-gmon.h (MCOUNT): Add `.set nomips16'.
23         * sysdeps/mips/tls-macros.h (LOAD_GP) [__mips16]: New macro.
24         (TLS_GD, TLS_LD, TLS_IE, TLS_LE) [__mips16]: Likewise.
25         * sysdeps/mips/bits/atomic.h: Also use __atomic_* builtins with
26         GCC 4.7 in MIPS16 code.
27         (atomic_compare_and_exchange_val_acq) [__mips16]: New macro.
28         (atomic_compare_and_exchange_bool_acq) [__mips16]: Likewise.
29         (atomic_exchange_acq) [__mips16]: Likewise.
30         (atomic_exchange_and_add) [__mips16]: Likewise.
31         (atomic_bit_test_set) [__mips16]: Likewise.
32         (atomic_and, atomic_and_val) [__mips16]: Likewise.
33         (atomic_or, atomic_or_val) [__mips16]: Likewise.
34         (atomic_full_barrier) [__mips16]: Likewise.
35         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER) [__mips16]:
36         Likewise.
37         * sysdeps/mips/sys/tas.h (_test_and_set): Add `__nomips16__'
38         attribute.
39         * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO): Add
40         `.set nomips16'.
41         (PSEUDO_ERRVAL): Likewise.
42         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Likewise.
43         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
44         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
45         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
46         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS) [__mips16]: New macros.
47         (INTERNAL_SYSCALL_MIPS16) [__mips16]: Likewise.
48         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h:
49         New file.
50         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO):
51         Add `.set nomips16'.
52         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
53         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
54         * sysdeps/mips/memset.S (memset): Likewise.
55         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
56         * sysdeps/mips/start.S (ENTRY_POINT) [__mips16]: New function.
57         * sysdeps/mips/mips32/crti.S: Add `.set nomips16'.
58         * sysdeps/mips/mips32/crtn.S: Likewise.
59         * sysdeps/mips/mips64/n32/crti.S: Likewise.
60         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
61         * sysdeps/mips/mips64/n64/crti.S: Likewise.
62         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
63         * sysdeps/unix/mips/sysdep.S: Likewise.
64         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
65         * sysdeps/unix/sysv/linux/mips/getcontext.S: Likewise.
66         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
67         * sysdeps/unix/sysv/linux/mips/setcontext.S: Likewise.
68         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
69         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
70         * sysdeps/mips/__longjmp.c (__longjmp): Rename function to...
71         (____longjmp): ... this.  Make static and add `nomips16'
72         attribute.
73         (__longjmp): New alias.
74         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve) [__mips16]:
75         New function.
76         (_dl_runtime_pltresolve): Likewise.
77         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Add `nomips16'
78         attribute.
79         * sysdeps/mips/fpu/e_sqrt.c (__ieee754_sqrt): Likewise.
80         * sysdeps/mips/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise.
81         * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Rewrite in terms
82         of INTERNAL_SYSCALL.
83         * sysdeps/mips/mips32/fpu/fpu_control.c: New file.
84         * sysdeps/mips/mips32/mips16/add_n.c: New file.
85         * sysdeps/mips/mips32/mips16/addmul_1.c: New file.
86         * sysdeps/mips/mips32/mips16/lshift.c: New file.
87         * sysdeps/mips/mips32/mips16/mul_1.c: New file.
88         * sysdeps/mips/mips32/mips16/rshift.c: New file.
89         * sysdeps/mips/mips32/mips16/sub_n.c: New file.
90         * sysdeps/mips/mips32/mips16/submul_1.c: New file.
91         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c:
92         New file.
93         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c:
94         New file.
95         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c:
96         New file.
97         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c:
98         New file.
99         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c:
100         New file.
101         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
102         New file.
103         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
104         New file.
105         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
106         New file.
107         * sysdeps/mips/mips32/fpu/Versions: New file.
108         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions: New file.
109         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: New
110         file.
111         * sysdeps/mips/mips32/mips16/fpu/Makefile: New file.
112         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile: New file.
113         * sysdeps/mips/preconfigure: Handle o32 MIPS16 compilation.
114
115 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
116
117         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
118         __attribute__ ((unused)) to __attribute__ ((__unused__)).
119
120         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Sort
121         properly.
122
123         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
124         __attribute_used__ to __attribute__ ((unused)).
125
126         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Add
127         __attribute_used__.
128
129         * sysdeps/mips/bits/nan.h: Align to generic IEEE 754 file.
130
131 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
132
133         [BZ #14920]
134         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
135         (FUTEX_WAIT_REQUEUE_PI): Define.
136         (FUTEX_CMP_REQUEUE_PI): Likewise.
137         (lll_futex_wait_requeue_pi): Likewise.
138         (lll_futex_timed_wait_requeue_pi): Likewise.
139         (lll_futex_cmp_requeue_pi): Likewise.
140
141 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
142
143         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
144         __cxa_thread_atexit_impl.
145         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
146         Likewise.
147         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
148         Likewise.
149
150 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
151
152         [BZ #13550]
153         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c (__fxstat64): Do
154         not use __ptrvalue.
155         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c (__fxstatat64):
156         Likewise.
157         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c (__lxstat64):
158         Likewise.
159         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c (__xstat64):
160         Likewise.
161         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
162         Likewise.
163
164 2013-02-11  Joseph Myers  <joseph@codesourcery.com>
165
166         * sysdeps/mips/include/sys/asm.h: New file.
167         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use SETUP_GP64_REG
168         and RESTORE_GP64_REG.
169         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
170         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
171         * sysdeps/mips/sys/asm.h (__mips_cfi_startproc): Define to empty.
172         (__mips_cfi_endproc): Likewise.
173         (LEAF): Use __mips_cfi_startproc.
174         (NESTED): Likewise.
175         (END): Use __mips_cfi_endproc.
176         (EXPORT): Use __mips_cfi_startproc.
177         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Add CFI information
178         for error-handling code in both definitions.
179         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
180         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
181         * sysdeps/unix/mips/sysdep.h (ENTRY): Use cfi_startproc.
182         (END): Use cfi_endproc.
183         (PSEUDO_END): Likewise.
184         (PSEUDO_END_NOERRNO): Likewise.
185         (PSEUDO_END_ERRVAL): Likewise.
186         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Add CFI
187         information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
188         * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext):
189         Likewise.
190         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
191         Likewise.
192         * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
193         SETUP_GP64_REG and RESTORE_GP64_REG.
194         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
195         [(!NOT_IN_libc || IS_IN_libpthread || IS_IN_librt) && __PIC__]
196         (PSEUDO): Use cfi_endproc before ENTRY.
197         * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Add CFI
198         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
199         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h [(!NOT_IN_libc
200         || IS_IN_libpthread || IS_IN_librt) && __PIC__] (PSEUDO): Use
201         cfi_endproc before ENTRY.
202         * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext): Add
203         CFI information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
204         * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
205         Likewise.
206         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Add CFI
207         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
208
209 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
210
211         [BZ #13550]
212         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: Don't include
213         <bp-checks.h>.
214         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
215         (__libc_pread): Don't use CHECK_N.
216         * sysdeps/unix/sysv/linux/mips/pread64.c: Don't include
217         <bp-checks.h>.
218         (__libc_pread64): Don't use CHECK_N.
219         * sysdeps/unix/sysv/linux/mips/pwrite.c: Don't include
220         <bp-checks.h>.
221         (__libc_pwrite): Don't use CHECK_N.
222         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Don't include
223         <bp-checks.h>.
224         (__libc_pwrite64): Don't use CHECK_N.
225
226         * sysdeps/mips/add_n.S (__mpn_add_n): Use END.
227         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
228         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
229         * sysdeps/mips/mips64/add_n.S (__mpn_add_n): Use ENTRY and END.
230         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Likewise.
231         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use END.
232         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
233         * sysdeps/mips/mips64/lshift.S (__mpn_lshift): Use ENTRY and END.
234         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Likewise.
235         * sysdeps/mips/mips64/rshift.S (__mpn_rshift): Likewise.
236         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Use END.
237         * sysdeps/mips/mips64/sub_n.S (__mpn_sub_n): Use ENTRY and END.
238         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Likewise.
239         * sysdeps/mips/setjmp.S (__sigsetjmp): Use END.
240
241         [BZ #13550]
242         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Do not include
243         <bp-checks.h>.
244         (__msgctl): Do not use CHECK_1.
245         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Do not include
246         <bp-checks.h>.
247         (__shmctl): Do not use CHECK_1.
248         * sysdeps/unix/sysv/linux/mips/ustat.c: Do not include
249         <bp-checks.h>.
250         (ustat): Do not use CHECK_1.
251
252 2013-02-05  Maciej W. Rozycki  <macro@codesourcery.com>
253
254         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Add a missing
255         space in asm register specifiers throughout.
256         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
257         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
258
259         [BZ #15054]
260         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (MOVE32):
261         New macro.
262         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
263         restart convention.
264         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
265         convention.
266         (internal_syscall0, internal_syscall1): Likewise.
267         (internal_syscall2, internal_syscall3): Likewise.
268         (internal_syscall4, internal_syscall5): Likewise.
269         (internal_syscall6, internal_syscall7): Likewise.
270         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (MOVE32):
271         New macro.
272         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
273         restart convention.
274         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
275         convention.
276         (internal_syscall0, internal_syscall1): Likewise.
277         (internal_syscall2, internal_syscall3): Likewise.
278         (internal_syscall4, internal_syscall5): Likewise.
279         (internal_syscall6): Likewise.
280         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (MOVE32):
281         New macro.
282         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
283         restart convention.
284         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
285         convention.
286         (internal_syscall0, internal_syscall1): Likewise.
287         (internal_syscall2, internal_syscall3): Likewise.
288         (internal_syscall4, internal_syscall5): Likewise.
289         (internal_syscall6): Likewise.
290
291 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
292
293         [BZ #13550]
294         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Do not include
295         <bp-checks.h>.
296         (truncate64): Do not use CHECK_STRING.
297         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
298         <bp-checks.h>.
299         (__fxstatat64): Do not use CHECK_STRING.
300         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Do not include
301         <bp-checks.h>.
302         (__lxstat64): Do not use CHECK_STRING.
303         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Do not include
304         <bp-checks.h>.
305         (__xstat64): Do not use CHECK_STRING.
306
307 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
308
309         [BZ #13550]
310         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Don't include
311         <bp-checks.h> and <bp-semctl.h>.
312         (__semctl): Don't use CHECK_SEMCTL.
313
314 2013-01-29  Maciej W. Rozycki  <macro@codesourcery.com>
315
316         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Correct
317         whitespace damage throughout.
318         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
319
320 2013-01-25  Steve Ellcey  <sellcey@mips.com>
321
322         * sysdeps/mips/memmove.c: Remove.
323
324 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
325
326         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h (struct
327         sigcontext): Use __extension__ with long long in all definitions.
328
329 2013-01-08  Steve Ellcey  <sellcey@mips.com>
330
331         * sysdeps/mips/memcpy.S: Change prefetch hint, reorder partial
332         loads and stores, set and use MAX_PREFETCH_SIZE.
333
334 2013-01-08  Andreas Jaeger  <aj@suse.de>
335
336         [BZ# 14985]
337         * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): Remove.
338
339 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
340
341         * All files with FSF copyright notices: Update copyright dates
342         using scripts/update-copyrights.
343
344 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
345
346         * sysdeps/mips/bits/dlfcn.h: Reformat copyright notice.
347         * sysdeps/mips/bits/mathdef.h: Likewise.
348         * sysdeps/mips/bits/setjmp.h: Likewise.
349         * sysdeps/mips/ieee754/ieee754.h: Likewise.
350         * sysdeps/mips/machine-gmon.h: Likewise.
351         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
352         * sysdeps/mips/mips64/setjmp.S: Likewise.
353         * sysdeps/mips/start.S: Likewise.
354         * sysdeps/unix/mips/mips64/n32/sysdep.h: Likewise.
355         * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
356         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
357         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
358
359 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
360
361         * sysdeps/mips/fpu_control.h [__mips_soft_float] (_FPU_GETCW):
362         Define to set cw to 0, not just to plain "0" as a statement.
363         [__mips_soft_float] (_FPU_SETCW): Define to (void) (cw), rather
364         than doing nothing with cw.
365
366 2012-11-30  Joseph Myers  <joseph@codesourcery.com>
367
368         * sysdeps/mips/mips32/libm-test-ulps: Update.
369         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
370
371 2012-11-29  Joseph Myers  <joseph@codesourcery.com>
372
373         [BZ #14893]
374         * sysdeps/mips/mips64/n32/_itoa.h: New file.
375         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include
376         <sgidefs.h>.
377         (CTX_TYPE): New macro.
378         (CTX_REG): Likewise.
379         (CTX_PC): Likewise.
380         (CTX_MDHI): Likewise.
381         (CTX_MDLO): Likewise.
382         (REG_HEX_SIZE): Likewise.
383         (hexvalue): Take _ITOA_WORD_TYPE argument.
384         (register_dump): Use these macros instead of hardcoding struct
385         sigcontext * type and accesses and 8-byte textual output for
386         registers.
387
388 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
389
390         [BZ #14822]
391         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
392         (sendfile): New syscall entry.
393         * sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c: New file.
394         Copy of ../sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c.
395
396 2012-11-21  Joseph Myers  <joseph@codesourcery.com>
397
398         * sysdeps/mips/jmpbuf-unwind.h (_jmpbuf_sp): Cast regs[0].__sp to
399         uintptr_t.
400
401         * sysdeps/mips/sotruss-lib.c: New file.
402
403 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
404
405         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
406         (internal_syscall1): Use parentheses around macro arguments.
407         (internal_syscall2): Likewise.
408         (internal_syscall3): Likewise.
409         (internal_syscall4): Likewise.
410         (internal_syscall5): Likewise.
411         (internal_syscall6): Likewise.
412         (internal_syscall7): Likewise.
413         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
414         (internal_syscall1): Likewise.
415         (internal_syscall2): Likewise.
416         (internal_syscall3): Likewise.
417         (internal_syscall4): Likewise.
418         (internal_syscall5): Likewise.
419         (internal_syscall6): Likewise.
420
421         * sysdeps/mips/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
422         _Unwind_GetCFA return to _Unwind_Ptr before casting to a pointer
423         type.
424         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c (CHECK_SP): Cast
425         ss_sp to long before casting to sp_type.
426         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h [_MIPS_SIM ==
427         _ABIO32] (GET_PC): Cast to unsigned long before casting to a
428         pointer type.
429         [_MIPS_SIM == _ABIO32] (GET_FRAME): Likewise.
430         [_MIPS_SIM == _ABIO32] (GET_STACK): Likewise.
431         [_MIPS_SIM != _ABIO32] (GET_PC): Likewise.
432         [_MIPS_SIM != _ABIO32] (GET_FRAME): Likewise.
433         [_MIPS_SIM != _ABIO32] (GET_STACK): Likewise.
434
435         * sysdeps/mips/bits/atomic.h [!__GNUC_PREREQ (4, 8)]
436         (__arch_compare_and_exchange_xxx_8_int): Separate assignments to
437         __prev and __cmp.  Cast __cmp to void.
438         [!__GNUC_PREREQ (4, 8)] (__arch_compare_and_exchange_xxx_16_int):
439         Likewise.
440         [!__GNUC_PREREQ (4, 8) && _MIPS_SIM == _ABIO32]
441         (__arch_compare_and_exchange_xxx_64_int): Likewise.
442
443 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
444
445         * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Declare VERSION
446         variable with __attribute__ ((unused)).
447
448         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
449         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
450         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
451         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
452         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
453         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
454         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
455         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
456         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
457         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
458         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
459         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
460
461 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
462
463         * sysdeps/mips/bits/atomic.h
464         (__arch_compare_and_exchange_bool_8_int): Mark __PREV variable
465         with __attribute__ ((unused)).
466         (__arch_compare_and_exchange_bool_16_int): Likewise.
467         (__arch_compare_and_exchange_bool_32_int): Likewise.
468         (__arch_compare_and_exchange_bool_64_int): Likewise.
469
470 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
471
472         * sysdeps/mips/memmove.c: New file.  Use memcpy for forward memmove.
473
474 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
475
476         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
477         (lll_futex_timed_wait_bitset): New macro.
478
479 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
480
481         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Don't
482         include <stub-tag.h>.
483
484 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
485
486         * sysdeps/mips/fpu/fclrexcpt.c (feclearexcept): Add
487         libm_hidden_def.
488
489         [BZ #3439]
490         * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define macro to integer
491         constant usable in #if and use that to give value to enum
492         constant.
493         (FE_UNDERFLOW): Likewise.
494         (FE_OVERFLOW): Likewise.
495         (FE_DIVBYZERO): Likewise.
496         (FE_INVALID): Likewise.
497         (FE_TONEAREST): Likewise.
498         (FE_TOWARDZERO): Likewise.
499         (FE_UPWARD): Likewise.
500         (FE_DOWNWARD): Likewise.
501
502 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
503
504         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
505
506         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist
507         (GLIBC_2.17): Add clock_* symbols.
508
509 2012-10-31  Steve Ellcey  <sellcey@mips.com>
510
511         * sysdeps/mips/memcpy.S: Add prefetching and more unrolling, make
512         it work in 32 or 64 bit modes.
513         * sysdeps/mips/mips64/memcpy.S: Remove.
514
515 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
516
517         [BZ #14047]
518         * sysdeps/mips/tininess.h: New file.
519
520 2012-10-29  Steve Ellcey  <sellcey@mips.com>
521
522         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
523         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
524         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
525         * sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
526         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
527         * sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
528         (abi-variants): Add hard and soft float versions.
529         (abi-o32-options): Remove.
530         (abi-o32-condition): Remove.
531         (abi-n32-options): Remove.
532         (abi-n32-condition): Remove.
533         (abi-n64-options): Remove.
534         (abi-n64-condition): Remove.
535         (abi-o32_soft-options): New.
536         (abi-o32_soft-condition): New.
537         (abi-o32_hard-options): New.
538         (abi-o32_hard-condition): New.
539         (abi-n32_soft-options): New.
540         (abi-n32_soft-condition): New.
541         (abi-n32_hard-options): New.
542         (abi-n32_hard-condition): New.
543         (abi-n64_soft-options): New.
544         (abi-n64_soft-condition): New.
545         (abi-n64_hard-options): New.
546         (abi-n64_hard-condition): New.
547
548 2012-10-19  Roland McGrath  <roland@hack.frob.com>
549
550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist
551         (GLIBC_2.17): Add clock_* symbols.
552         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
553
554 2012-10-24  Andreas Jaeger  <aj@suse.de>
555
556         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all
557         definitions and declarations that are provided by
558         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
559
560 2012-10-03  Steve Ellcey  <sellcey@mips.com>
561
562         * sysdeps/mips/ieee754.h: Move to...
563         * sysdeps/mips/ieee754/ieee754.h: Here.
564         * sysdeps/mips/mips32/Implies: Add mips/ieee754.
565         * sysdeps/mips/mips64/Implies: Ditto.
566         * sysdeps/mips/mips64/n32/Implies: Ditto.
567         * sysdeps/mips/mips64/n64/Implies: Ditto.
568
569 2012-10-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
570
571         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Fix clone
572         flag name in comment to CLONE_CHILD_CLEARTID.
573
574 2012-09-28  Roland McGrath  <roland@hack.frob.com>
575
576         * sysdeps/mips/init-first.c: File removed.
577
578 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
579
580         * sysdeps/mips/dl-trampoline.c (VERSYMIDX): Removed.
581
582 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
583
584         * sysdeps/unix/sysv/linux/mips/kernel-features.h
585         (__ASSUME_STAT64_SYSCALL): Remove.
586
587 2012-08-27  Guido Guenther  <agx@sigxcpu.org>
588
589         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Set bit 23.
590
591 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
592
593         * sysdeps/unix/sysv/linux/mips/kernel-features.h [_MIPS_SIM ==
594         _ABIO32] (__ASSUME_STAT64_SYSCALL): Define.
595         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: New file.  Based
596         on version from ../sysdeps/unix/sysv/linux/.
597         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Likewise.
598         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Likewise.
599
600 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
601
602         * sysdeps/mips/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
603         <mips_o32_gnu_pltenter, mips_n32_gnu_pltenter, mips_n64_gnu_pltenter>:
604         struct La_mips_32_regs and struct La_mips_64_regs are not constant.
605
606 2012-08-15  Tom de Vries  <vries@codesourcery.com>
607             Maxim Kuvyrkov  <maxim@codesourcery.com>
608
609         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (__libc_lock_lock)
610         (__libc_lock_trylock): Define versions optimized for MIPS.
611
612 2012-08-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
613
614         * sysdeps/mips/nptl/pthread_spin_lock.S: Remove, use generic version.
615         * sysdeps/mips/nptl/pthread_spin_lock.c: New file.
616         * sysdeps/mips/nptl/pthread_spin_trylock.S: Remove, use generic version.
617
618 2012-08-15  Joseph Myers  <joseph@codesourcery.com>
619
620         * sysdeps/mips/dl-lookup.c: Update from generic version.
621
622 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
623
624         [__GNUC_PREREQ (4, 8)]
625         (atomic_exchange_and_add): Split into ...
626         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
627         New atomic macros.
628         [!__GNUC_PREREQ (4, 8)]
629         (atomic_exchange_and_add): Split into ...
630         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
631         New atomic macros.
632
633 2012-08-09  Joseph Myers  <joseph@codesourcery.com>
634
635         * sysdeps/unix/sysv/linux/mips/kernel-features.h
636         (__ASSUME_UTIMES): Define.
637
638 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
639
640         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
641         Remove.
642         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
643
644 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
645
646         * sysdeps/unix/sysv/linux/mips/kernel-features.h
647         (__ASSUME_FCNTL64): Remove.
648
649 2012-08-01  Steve Ellcey  <sellcey@mips.com>
650
651         * sysdeps/mips/sys/asm.h [_MIPS_ISA != _MIPS_ISA_MIPS4 &&
652         _MIPS_ISA != _MIPS_ISA_MIPS5 && _MIPS_ISA != _MIPS_ISA_MIPS32 &&
653         _MIPS_ISA != _MIPS_ISA_MIPS64] (PREF): Define as function-like
654         macro.
655         (PREFX): Likewise.
656
657 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
658
659         * sysdeps/unix/sysv/linux/mips/fcntl.c: Remove.
660         * sysdeps/unix/sysv/linux/mips/lockf64.c: Likewise.
661         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: New file.
662         * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
663         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
664         * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
665
666 2012-07-27  Joseph Myers  <joseph@codesourcery.com>
667
668         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): New.
669         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: New file.
670
671 2012-07-25  Florian Weimer  <fweimer@redhat.com>
672
673         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
674         secure_getenv.
675         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
676         Likewise.
677         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
678         Likewise.
679
680 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
681
682         * sysdeps/mips/configure.in: Remove TLS check.
683         * sysdeps/mips/configure: Regenerated.
684
685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: New
686         file.
687         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
688         Likewise.
689         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
690         Likewise.
691
692 2012-07-11  Tom de Vries  <vries@codesourcery.com>
693             Maxim Kuvyrkov  <maxim@codesourcery.com>
694
695         * sysdeps/mips/bits/atomic.h [__GNUC_PREREQ (4, 8)]
696         (__arch_compare_and_exchange_bool_32_int)
697         (__arch_compare_and_exchange_val_32_int)
698         (__arch_compare_and_exchange_bool_64_int)
699         (__arch_compare_and_exchange_val_64_int)
700         Define in terms of __atomic_compare_exchange_n.
701         [__GNUC_PREREQ (4, 8)]
702         (__arch_exchange_32_int, __arch_exchange_64_int):
703         Define in terms of __atomic_exchange_n.
704         [__GNUC_PREREQ (4, 8)]
705         (__arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
706         Define in terms of __atomic_fetch_add.
707         [!__GNUC_PREREQ (4, 8)]: Update formatting.
708
709 2012-07-06  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
710
711         * sysdeps/mips/dl-machine.h (RTLD_START): Do not store data below
712         the stack pointer.
713
714 2012-06-19  Joseph Myers  <joseph@codesourcery.com>
715
716         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Update
717         _gp_disp entry.
718         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
719         Likewise.
720         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist:
721         Likewise.
722         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
723         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist:
724         Likewise.
725         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist:
726         Likewise.
727         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist:
728         Likewise.
729         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
730         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist:
731         Likewise.
732         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
733         Likewise.
734         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
735         Likewise.
736         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
737         Likewise.
738         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
739         Likewise.
740         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
741         Likewise.
742         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
743         Likewise.
744         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
745         Likewise.
746         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
747         Likewise.
748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist:
749         Likewise.
750         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist:
751         Likewise.
752         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
753         Likewise.
754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist:
755         Likewise.
756
757 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
758
759         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
760         (FORCE_FRAME_POINTER): Assign result of alloca to a volatile
761         variable.
762
763 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
764
765         * sysdeps/mips/mips64/n32/s_fma.c: New file.
766         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
767
768         * sysdeps/unix/sysv/linux/mips/Makefile (abi-n32-condition): Fix
769         typo.
770
771 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
772
773         * sysdeps/mips/mips64/libm-test-ulps: Remove sqrt ulps.
774
775         * sysdeps/mips/mips32/libm-test-ulps: Regenerate.
776         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
777
778 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
779
780         * sysdeps/unix/sysv/linux/mips/Makefile [subdir = misc]: Move ABI
781         settings out of conditional.
782
783         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove
784         __connect_internal alias.
785
786         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
787         (FP_TRAPPING_EXCEPTIONS): Define.
788
789         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-variants):
790         Rename to abi-variants.
791         (syscall-list-includes): Rename to abi-includes.
792         (syscall-list-o32-options): Rename to abi-o32-options.
793         (syscall-list-o32-condition): Rename to abi-o32-condition.
794         (syscall-list-n32-options): Rename to abi-n32-options.
795         (syscall-list-n32-condition): Rename to abi-n32-condition.
796         (syscall-list-n64-options): Rename to abi-n64-options.
797         (syscall-list-n64-condition): Rename to abi-n64-condition.
798         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
799         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Likewise.
800         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Likewise.
801
802         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Replace
803         _internal alias by hidden_def.
804
805 2012-05-26  Joseph Myers  <joseph@codesourcery.com>
806
807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: New
808         file.
809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
810         Likewise.
811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
812         Likewise.
813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
814         Likewise.
815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
816         Likewise.
817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
818         Likewise.
819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
820         Likewise.
821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
822         Likewise.
823
824 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
825
826         * sysdeps/unix/sysv/linux/mips/kernel-features.h
827         (__ASSUME_32BITUIDS): Remove.
828
829 2012-05-23  Steve Ellcey  <sellcey@mips.com>
830
831         * sysdeps/unix/sysv/linux/mips/Makefile
832         (syscall-list-o32-options): Use -D_MIPS_SIM=1.
833         (syscall-list-n32-options): Use -D_MIPS_SIM=2.
834         (syscall-list-n64-options): Use -D_MIPS_SIM=3.
835
836 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
837
838         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_DONTDUMP):
839         Define.
840         (MADV_DODUMP): Likewise.
841
842 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
843
844         * sysdeps/mips/bits/wordsize.h (__WORDSIZE_COMPAT32): Rename to
845         __WORDSIZE_TIME64_COMPAT32.
846
847         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Update.
848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Update.
849         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Update.
850
851 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
852
853         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Move to ...
854         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: ... here.
855         (kernel-features.h): Don't include.
856         [__NR_ftruncate64]: Make code unconditional.
857         [!__NR_ftruncate64]: Remove conditional code.
858         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
859         * sysdeps/unix/sysv/linux/mips/truncate64.c: Move to ...
860         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: ... here.
861         (kernel-features.h): Don't include.
862         [__NR_truncate64]: Make code unconditional.
863         [!__NR_truncate64]: Remove conditional code.
864         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
865         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
866         Add syscall.
867         (truncate): Likewise.
868         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
869         (ftruncate): Remove syscall.
870         (truncate): Likewise.
871         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Move to ...
872         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: ... here.
873         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Move to ...
874         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: ... here.
875
876 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
877
878         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat)
879         [!__USE_MISC && !__USE_XOPEN2K8]: Declare nanoseconds fields with
880         type unsigned long and names st_atimensec, st_mtimensec and
881         st_ctimensec.
882         (struct stat64) [!__USE_MISC && !__USE_XOPEN2K8]: Likewise.
883
884 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
885
886         * sysdeps/unix/sysv/linux/mips/pread.c [!__ASSUME_PREAD_SYSCALL]:
887         Remove conditional code.
888         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
889         * sysdeps/unix/sysv/linux/mips/pread64.c
890         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
891         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
892         * sysdeps/unix/sysv/linux/mips/pwrite.c
893         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
894         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
895         * sysdeps/unix/sysv/linux/mips/pwrite64.c
896         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
897         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
898         * sysdeps/unix/sysv/linux/mips/sigaction.c
899         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
900         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
901
902 2012-05-11  Joseph Myers  <joseph@codesourcery.com>
903
904         * sysdeps/mips/dl-lookup.c: Update from generic version.
905
906 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
907
908         * sysdeps/mips/fpu/libm-test-ulps: Move to ...
909         * sysdeps/mips/mips32/libm-test-ulps: ... here.
910         * sysdeps/mips/mips64/n32/libm-test-ulps: Move to ...
911         * sysdeps/mips/mips64/libm-test-ulps: ... here.
912         * sysdeps/mips/mips64/n64/libm-test-ulps: Remove file.
913
914 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
915
916         [BZ #14044]
917         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Copy
918         from libc version and add symbol versions.
919         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilis
920         (GLIBC_2.3.3): Add posix_fadvise64.
921
922 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
923
924         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: New file.
925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
926         Likewise.
927         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Likewise.
928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
929         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Likewise.
930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Likewise.
931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
932         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Likewise.
933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
934         Likewise.
935         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Likewise.
936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Likewise.
937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
938         Likewise.
939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Likewise.
940         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Likewise.
941         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
942         Likewise.
943         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
944         Likewise.
945         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Likewise.
946         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
947         Likewise.
948         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: Likewise.
949         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: Likewise.
950         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
951         Likewise.
952         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
953         Likewise.
954         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
955         Likewise.
956         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: Likewise.
957         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
958         Likewise.
959         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
960         Likewise.
961         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Likewise.
962         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
963         Likewise.
964         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
965         Likewise.
966         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
967         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
968         Likewise.
969         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Likewise.
970         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Likewise.
971         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist:
972         Likewise.
973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
974         Likewise.
975         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
976         Likewise.
977         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Likewise.
978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
979         Likewise.
980         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
981         Likewise.
982
983         * sysdeps/mips/mips64/memcpy.S: Don't include <endian.h>.  Test
984         __MIPSEB instead of __BYTE_ORDER.
985         * sysdeps/mips/mips64/memset.S: Likewise.
986
987 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
988
989         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
990         Change to 2.6.12.
991         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
992
993 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
994
995         * sysdeps/unix/mips/brk.S: Remove file.
996         * sysdeps/unix/mips/dl-brk.S: Likewise.
997         * sysdeps/unix/mips/sigreturn.S: Likewise.
998         * sysdeps/unix/mips/wait.S: Likewise.
999
1000 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1001
1002         * sysdeps/mips/memcpy.S: Don't include <endian.h>.  Test __MIPSEB
1003         instead of __BYTE_ORDER.
1004         * sysdeps/mips/memset.S: Likewise.
1005
1006         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1007         kernel_rt_sigframe): Use siginfo_t instead of struct siginfo.
1008
1009 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1010
1011         * sysdeps/unix/mips/fork.S: Remove file.
1012
1013 2012-04-24  Mike Frysinger  <vapier@gentoo.org>
1014
1015         * sysdeps/unix/sysv/linux/mips/mips64/configure.in
1016         (ldd_rewrite_script): Change $dest to $dir.
1017         * sysdeps/unix/sysv/linux/mips/mips64/configure: Regenerate.
1018
1019 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
1020
1021         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Include
1022         sysdeps/unix/sysv/linux/arm/readahead.c not
1023         sysdeps/unix/sysv/linux/arm/eabi/readahead.c.
1024
1025 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1026
1027         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define.
1028         (MAP_HUGETLB): Likewise.
1029
1030 2012-03-27  Joseph Myers  <joseph@codesourcery.com>
1031
1032         * sysdeps/mips/elf/start.S: Moved to ...
1033         * sysdeps/mips/start.S: ...here.
1034         * sysdeps/mips/elf/configure.in: Moved to ...
1035         * sysdeps/mips/configure.in: ...here.  Update comment.
1036         * sysdeps/mips/configure: New generated file.
1037
1038 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1039
1040         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include <_itoa.h>
1041         instead of <stdio-common/_itoa.h>.
1042
1043 2012-03-10  Paul Eggert  <eggert@cs.ucla.edu>
1044
1045         [BZ #13673]
1046         * sysdeps/mips/mips64/gmp-mparam.h: Replace FSF snail mail address
1047         with URL.
1048
1049 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
1050
1051         [BZ #13673]
1052         Replace FSF snail mail address with URLs, as per GNU coding standards.
1053
1054 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1055
1056         * sysdeps/unix/sysv/linux/mips/bits/socket_type.h: New file.
1057         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Remove.
1058
1059 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1060
1061         * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not
1062         declare recvmmsg and sendmmsg.
1063
1064 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1065
1066         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t):
1067         Change union tag to pthread_attr_t.  Only define typedef if not
1068         already defined.
1069         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1070         (pthread_attr_t): Change union tag to pthread_attr_t.  Only define
1071         typedef if not already defined.
1072
1073 2012-02-26  Joseph Myers  <joseph@codesourcery.com>
1074
1075         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
1076         siginfo_t struct.  Add forward declaration of pthread_attr_t and
1077         use it in sigevent.
1078         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
1079         pthread_attr_t union.
1080
1081 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
1082
1083         * sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
1084         * sysdeps/unix/sysv/linux/mips/bits/timerfd.h: Likewise.
1085         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Remove.
1086         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1087
1088 2012-02-20  Andreas Schwab  <schwab@linux-m68k.org>
1089
1090         * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
1091         not defined.
1092
1093 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1094
1095         * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,
1096         matching the array in dl-procinfo.c.
1097
1098 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1099
1100         * sysdeps/mips/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1101         * sysdeps/mips/mips64/n32/fpu/libm-test-ulps: Likewise.
1102         * sysdeps/mips/mips64/n64/fpu/libm-test-ulps: Likewise.
1103
1104 2012-02-15  Robert Millan  <rmh@gnu.org>
1105
1106         [BZ #12301]
1107         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__]
1108         [__PIC__] (SYSCALL_ERROR_LABEL): New macro.
1109
1110 2012-02-15  Robert Millan  <rmh@gnu.org>
1111
1112         [BZ #12298]
1113         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Moved to ...
1114         * sysdeps/mips/sys/tas.h: ... here.
1115
1116 2012-02-15  Robert Millan  <rmh@gnu.org>
1117
1118         [BZ #12297]
1119         * sysdeps/mips/dl-machine.h: Fix a comment regarding __start.
1120         * sysdeps/unix/sysv/linux/mips/entry.h: Moved to ...
1121         * sysdeps/unix/mips/entry.h: ... here.
1122
1123 2012-02-15  Robert Millan  <rmh@gnu.org>
1124
1125         [BZ #12193]
1126         * sysdeps/mips/dl-machine.h (DL_PLATFORM_INIT, dl_platform_init):
1127         Define.
1128         * sysdeps/mips/dl-procinfo.c: New file.
1129         * sysdeps/mips/dl-procinfo.h: Likewise.
1130
1131 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
1132
1133         * sysdeps/unix/sysv/linux/mips/bits/signalfd.h: New file.
1134         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: Remove.
1135
1136 2012-02-15  Viju Vincent  <vijuvince@gmail.com>
1137
1138         * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Use locking
1139         around calls to _dl_lookup_symbol_x.
1140
1141 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1142
1143         * sysdeps/unix/sysv/linux/mips/bits/inotify.h: New file.
1144         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Remove.
1145
1146 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1147
1148         * sysdeps/unix/sysv/linux/mips/bits/eventfd.h: New file.
1149         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Remove.
1150
1151 2012-02-10  Joseph Myers  <joseph@codesourcery.com>
1152
1153         * sysdeps/mips/mips32/crti.S: New file, based on compiler output
1154         for sysdeps/generic/initfini.c.
1155         * sysdeps/mips/mips32/crtn.S: Likewise.
1156         * sysdeps/mips/mips64/n32/crti.S: Likewise.
1157         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
1158         * sysdeps/mips/mips64/n64/crti.S: Likewise.
1159         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
1160         * sysdeps/mips/Makefile (CFLAGS-initfini.s): Remove variable.
1161         (CFLAGS-pt-initfini.s): Likewise.
1162         (CPPFLAGS-crti.S, CPPFLAGS-crtn.S, CPPFLAGS-pt-crti.S): Define
1163         variables.
1164
1165 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
1166
1167         * sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals.
1168         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1169         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1170         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1171
1172 2012-01-08  Joseph Myers  <joseph@codesourcery.com>
1173
1174         * sysdeps/mips/bits/fenv.h: Use const instead of __const.
1175         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1176         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1177         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1178         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Likewise.
1179         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1180         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1181
1182 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1183
1184         * sysdeps/mips/nptl/shlib-versions: New.
1185
1186 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1187
1188         * sysdeps/mips/backtrace.c: Use x86_64 version of backtrace.c.
1189
1190 2012-01-04  Tom de Vries  <tom@codesourcery.com>
1191
1192         * sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with
1193         -fno-unwind-tables.
1194
1195 2012-01-03  Tom de Vries  <tom@codesourcery.com>
1196
1197         * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
1198         * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
1199
1200 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1201
1202         * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)
1203         (mips_list_syscalls, $(objpfx)syscall-%.h $(objpfx)syscall-%.d):
1204         Remove.
1205         (syscall-list-variants, syscall-list-includes)
1206         (syscall-list-o32-options, syscall-list-o32-condition)
1207         (syscall-list-n32-options, syscall-list-n32-condition)
1208         (syscall-list-n64-options, syscall-list-n64-condition): Define.
1209         * sysdeps/unix/sysv/linux/mips/configure.in: Don't generate
1210         asm-unistd.h.
1211         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1212         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Remove.
1213
1214 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1215
1216         [BZ #13538]
1217         * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT)
1218         (EPOLLET): Initialize with unsigned values.
1219
1220 2011-12-19  Joseph Myers  <joseph@codesourcery.com>
1221
1222         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
1223         $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h.
1224
1225 2011-11-17  Joseph Myers  <joseph@codesourcery.com>
1226
1227         * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c,
1228         sysdeps/unix/sysv/linux/mips/mips64/n64/ftw64.c: New.
1229
1230 2011-11-11  Joseph Myers  <joseph@codesourcery.com>
1231
1232         * sysdeps/mips/dl-lookup.c: Update from generic version.
1233
1234 2011-10-12  Joseph Myers  <joseph@codesourcery.com>
1235
1236         * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
1237         * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
1238         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias.
1239
1240 2011-10-05  Andreas Schwab  <schwab@redhat.com>
1241
1242         * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela)
1243         (elf_machine_lazy_rel): Add parameter skip_ifunc.
1244
1245 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1246
1247         * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Cast
1248         return value to (struct cmsghdr *).
1249
1250 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1251
1252         * sysdeps/mips/elf/configure.in: Always test for TLS support and
1253         error out in case it is missing.
1254         * sysdeps/mips/elf/configure: Regenerate.
1255         * sysdeps/mips/nptl/tls.h: Remove test for HAVE_TLS_SUPPORT.
1256
1257 2011-09-11  Joseph Myers  <joseph@codesourcery.com>
1258
1259         * sysdeps/mips/dl-machine.h, sysdeps/mips/libc-tls.c,
1260         sysdeps/mips/nptl/tls.h: Don't define or use USE_TLS.
1261
1262 2011-09-06  Joseph Myers  <joseph@codesourcery.com>
1263
1264         [BZ #13109]
1265         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs)
1266         (statfs): New.
1267         * sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c,
1268         sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New.
1269
1270 2011-08-02  Matt Turner  <mattst88@gmail.com>
1271
1272         * sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata.
1273
1274 2011-07-25  Joseph Myers  <joseph@codesourcery.com>
1275
1276         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC):
1277         Define.
1278
1279 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1280
1281         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c,
1282         sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: New.
1283
1284 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1285
1286         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SI_USER): Don't
1287         mention raise in the comment.
1288
1289 2011-05-23  Aurelien Jarno  <aurelien@aurel32.net>
1290
1291         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME):
1292         Add.
1293
1294 2011-05-13  Joseph Myers  <joseph@codesourcery.com>
1295
1296         * sysdeps/mips/dl-lookup.c: Update from generic version.
1297
1298 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
1299
1300         * sysdeps/mips/dl-lookup.c: Update from generic version.
1301
1302 2011-04-11  Joseph Myers  <joseph@codesourcery.com>
1303
1304         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
1305
1306 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1307
1308         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle
1309         to open_by_handle_at.
1310
1311 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1312
1313         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define.
1314
1315 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1316
1317         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct
1318         file_handle and MAX_HANDLE_SZ.  Declare name_to_handle_at and
1319         open_by_handle.  Augment a few comments.
1320
1321 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1322
1323         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Make
1324         cancelable.
1325         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Likewise.
1326         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1327         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Mark
1328         sync_file_range as cancellation point.
1329         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Mark
1330         sync_file_range as cancellation point.
1331
1332 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1333
1334         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add
1335         sync_file_range.
1336
1337 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
1338
1339         * sysdeps/mips/dl-lookup.c: Update from generic version.
1340
1341 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1342
1343         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
1344         MADV_NOHUGEPAGE): Define.
1345
1346 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1347
1348         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
1349         PF_CAIF, PF_ALG): Define.
1350
1351 2010-12-30  Joseph Myers  <joseph@codesourcery.com>
1352
1353         * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if
1354         NO_CTORS_DTORS_SECTIONS is defined.
1355         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1356
1357 2010-12-21  Joseph Myers  <joseph@codesourcery.com>
1358
1359         * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1360
1361 2010-12-06  Matt Turner  <mattst88@gmail.com>
1362
1363         * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
1364
1365 2010-12-06  Joseph Myers  <joseph@codesourcery.com>
1366
1367         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1368         Change to 2.4.1.
1369         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1370
1371 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
1372
1373         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1374         sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list,
1375         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries
1376         for fanotify_mark.
1377
1378 2010-10-11  Joseph Myers  <joseph@codesourcery.com>
1379
1380         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
1381         libm_hidden_def.
1382         * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
1383
1384 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1385
1386         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1387         (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
1388
1389 2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
1390
1391         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
1392         jump delay slot.
1393         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
1394
1395 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1396
1397         * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
1398
1399 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1400
1401         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
1402         struct statfs64): Add f_flags field.
1403
1404 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1405
1406         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
1407         Define.
1408
1409 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1410
1411         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
1412         and prlimit64.
1413         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1414         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
1415         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
1416         prlimit64 syscall.
1417
1418 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
1419
1420         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
1421         F_GETPIPE_SZ): Define.
1422
1423 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
1424
1425         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
1426         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
1427
1428 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
1429
1430         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
1431
1432 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
1433
1434         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
1435         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
1436         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1437         Define.
1438
1439 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
1440
1441         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
1442         MSG_WAITFORONE.
1443
1444 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
1445
1446         * sysdeps/mips/dl-lookup.c: Update from generic version.
1447
1448 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
1449
1450         [BZ #11291]
1451         * sysdeps/mips/bits/atomic.h
1452         (__arch_compare_and_exchange_xxx_32_int,
1453         __arch_compare_and_exchange_xxx_64_int,
1454         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
1455         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
1456         Specify *mem as asm output as well as input.
1457
1458 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
1459
1460         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
1461
1462 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
1463
1464         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
1465         _dl_runtime_pltresolve): Calculate offset from start of function
1466         to .cpload instead of hardcoding instruction size.
1467
1468 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1469
1470         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
1471         problem.
1472
1473 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1474
1475         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
1476         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
1477
1478 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
1479
1480         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
1481         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
1482         XPG7.
1483         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
1484         fcntl.h.
1485
1486 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1487
1488         [BZ #11093]
1489         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
1490         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
1491
1492 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1493
1494         * sysdeps/mips/dl-lookup.c: Update from generic version.
1495
1496 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
1497
1498         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
1499         O_DSYNC to match 2.6.33+ kernels.
1500
1501 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
1502
1503         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
1504         declare recvmmsg.
1505
1506 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1507
1508         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1509         (posix_fadvise): Remove.
1510         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
1511         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
1512         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
1513
1514 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1515
1516         * sysdeps/mips/dl-lookup.c: Update from generic version.
1517
1518 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
1519
1520         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
1521         for timestamps also if __USE_XOPEN2K8.
1522
1523 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
1524
1525         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
1526         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
1527
1528 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
1529
1530         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
1531         names of parameters of sync_file_range.
1532
1533 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1534
1535         [BZ #10972]
1536         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
1537         constants from recent kernels.
1538
1539 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1540
1541         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
1542         not already defined.
1543
1544 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
1545
1546         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
1547         F_GETOWN_EX): Update values.
1548
1549 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
1550
1551         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
1552         of last two arguments when -D_FILE_OFFSET_BITS=64.
1553
1554 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
1555
1556         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
1557         f_owner_ex.
1558
1559 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
1560
1561         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
1562         and F_GETOWN_EX.
1563
1564 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
1565
1566         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1567         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
1568         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1569         (__SYSCALL_CLOBBERS): Likewise.
1570         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1571         (__SYSCALL_CLOBBERS): Likewise.
1572
1573 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
1574
1575         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
1576         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
1577         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
1578         variable for env.  Use expansion of CHECK_SP macro for check.
1579         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
1580
1581 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
1582
1583         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
1584         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
1585
1586 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
1587
1588         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
1589         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
1590
1591 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
1592
1593         * sysdeps/mips/do-lookup.h: Remove.
1594         * sysdeps/mips/dl-lookup.c: Update from generic version, with
1595         non-PIC handling integrated.
1596
1597 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
1598
1599         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
1600         and AF_IEEE802154.
1601
1602 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1603
1604         * sysdeps/mips/____longjmp_chk.c: New file.
1605         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
1606         undefine __longjmp.
1607         * sysdeps/mips64/__longjmp.c: Likewise.
1608
1609 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1610
1611         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
1612         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
1613         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
1614         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
1615
1616 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1617
1618         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
1619         fallocate64@@GLIBC_2.11.
1620
1621 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
1622
1623         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
1624         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
1625
1626 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
1627
1628         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
1629         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
1630         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
1631         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
1632         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
1633         Update comment.
1634         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
1635         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
1636         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
1637         Add ucontext_i.sym.
1638
1639 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
1640
1641         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
1642         __ASSUME_PWRITEV): Don't define here.
1643
1644 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
1645
1646         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
1647
1648 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
1649
1650         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
1651         numbers.
1652         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
1653         Define.
1654         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
1655         preadv and pwritev.
1656
1657 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
1658
1659         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1660         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
1661
1662 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
1663
1664         [BZ #7074]
1665         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1666         Fix the condition used to annotate n32 objects.
1667
1668 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1669
1670         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
1671         Change parameters and use next_line.
1672
1673 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1674
1675         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
1676         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1677         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1678
1679 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
1680
1681         * sysdeps/mips/bits/link.h: Uglify function parameter names.
1682         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1683         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
1684         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1685         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
1686
1687 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
1688
1689         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
1690         fallocate{,64}.
1691
1692 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
1693
1694         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
1695         UTIME_OMIT only with __USE_ATFILE.
1696
1697 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
1698
1699         [BZ #7040]
1700         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
1701         inotify_rm_watch should have type int.
1702
1703 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
1704
1705         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
1706
1707 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
1708             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
1709
1710         PR glibc/1048
1711         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
1712         variable page size for MIPS.
1713         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
1714         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
1715         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
1716
1717 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
1718
1719         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
1720         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
1721         -D_GNU_SOURCE.
1722
1723 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
1724
1725         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
1726         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
1727
1728 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
1729
1730         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
1731         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
1732         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
1733         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
1734
1735 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
1736
1737         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
1738         Make available only for __USE_GNU.
1739
1740 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
1741
1742         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
1743         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
1744
1745 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
1746
1747         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
1748         __THROW vs. __nonnull order for C++.
1749
1750 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
1751
1752         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
1753         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
1754         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
1755
1756 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
1757             Daniel Jacobowitz  <dan@codesourcery.com>
1758             Richard Sandiford  <rdsandiford@googlemail.com>
1759
1760         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
1761         * sysdeps/mips/dl-lookup.c: New.
1762         * sysdeps/mips/do-lookup.h: New.
1763         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
1764         definition.
1765         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
1766         if needed.
1767         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
1768         (elf_machine_type_class): Likewise.
1769         (ELF_MACHINE_PLT_REL): Define.
1770         (elf_machine_fixup_plt): New.
1771         (elf_machine_plt_value): New.
1772         (elf_machine_reloc): Handle jump slot and copy relocations.
1773         (elf_machine_lazy_rel): Point relocation place at PLT if
1774         required.
1775         (RESOLVE_GOTSYM): Take a relocation type argument.
1776         (elf_machine_got_rel): Bind lazy stubs directly to their target if
1777         !lazy.  Skip lazy binding for PLT symbols.
1778         (elf_machine_runtime_setup): Fill in .got.plt header.
1779         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
1780         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
1781         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
1782         (_dl_runtime_pltresolve): New.
1783         * sysdeps/mips/bits/linkmap.h: New file.
1784         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
1785         64-bit versions.
1786
1787         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
1788         Delete definition.
1789         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
1790         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
1791         (PSEUDO): Use them.  Move outside __PIC__.
1792         (PSEUDO_JMP): New.
1793         (CENABLE, CDISABLE): Use it.
1794
1795 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
1796
1797         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
1798         to epoll_create1.
1799
1800 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
1801
1802         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
1803         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
1804         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
1805         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
1806         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
1807         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
1808         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
1809
1810 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
1811
1812         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
1813         volatile.
1814
1815 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
1816
1817         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
1818         type.
1819
1820 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
1821
1822         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
1823         (SOCK_DCCP): Define.
1824
1825 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
1826
1827         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
1828         RUSAGE_THREAD and RUSAGE_LWP.
1829
1830 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
1831
1832         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
1833         shmid_ds.
1834
1835 2008-04-21  Khem Raj  <kraj@mvista.com>
1836
1837         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
1838
1839 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
1840
1841         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
1842         truncate and ftruncate systems calls.
1843         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
1844         empty file.
1845         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
1846
1847 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
1848
1849         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
1850         ARG_MAX if <linux/limits.h> has defined it.
1851
1852 2008-03-28  Robin Randhawa  <robin@mips.com>
1853
1854         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
1855         barriers to enforce strict ordering on weakly ordered systems.
1856
1857 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
1858             Daniel Jacobowitz  <dan@codesourcery.com>
1859
1860         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
1861         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1862         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1863
1864 2008-03-09  Andreas Jaeger  <aj@suse.de>
1865
1866         [BZ #5753]
1867         * sysdeps/mips/ieee754.h: Use protected namespace
1868         __BIG_ENDIAN/__LITTLE_ENDIAN.
1869         Patch by Aurelien Jarno <aurelien@aurel32.net>.
1870
1871 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
1872
1873         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
1874         Reorganize to match other architectures.  Replace _timer._timer1
1875         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
1876         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
1877         (si_timerid, si_overrun): Define.
1878         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
1879         (__pthread_attr_s): Remove declaration.
1880         (struct sigevent): Remove XXX.  Add _tid.
1881
1882 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
1883
1884         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
1885
1886 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
1887
1888         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
1889         type and __THROW marker of splice, vmsplice, and tee.
1890
1891 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
1892
1893         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
1894         LLL_PRIVATE argument to lll_futex_wake.
1895         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
1896         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
1897         comment.
1898         (PF_IUCV, PF_RXRPC): Define.
1899         (PF_MAX): Update.
1900         (AF_IUCV, AF_RXRPC): Define.
1901         (MSG_CMSG_CLOEXEC): Define.
1902         (_EXTERN_INLINE): Define to __extern_inline.
1903         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
1904         UTIME_OMIT): Define.
1905         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
1906         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1907         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1908         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
1909         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
1910         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
1911         LLL_LOCK_*.  Include <kernel-features.h>.
1912         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
1913         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
1914         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
1915         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
1916         lll_futex_wait.
1917         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
1918         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
1919         private arguments.
1920         (__lll_robust_trylock): Convert to macro.
1921         (__lll_robust_lock_wait): Add private argument.
1922         (__lll_lock_wait_private, __lll_lock_wait): Declare.
1923         (__lll_lock): Convert to macro.  Take private argument.
1924         (__lll_cond_lock): Likewise.
1925         (lll_lock, lll_cond_lock): Take private arguments.
1926         (__lll_robust_lock): Take private argument.  Convert to macro.
1927         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
1928         lll_robust_cond_lock): Take private arguments.
1929         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
1930         arguments.
1931         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
1932         (lll_timedlock, lll_robust_timedlock): Take private arguments.
1933         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
1934         private arguments.
1935         (lll_unlock, lll_robust_unlock): Take private arguments.
1936         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
1937         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
1938         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
1939         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
1940         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
1941         lll_cond_wake, lll_cond_broadcast): Remove.
1942         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
1943         to __extern_inline.
1944
1945 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
1946
1947         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
1948         New macros for the (n)64 and n32 ABIs.
1949         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
1950
1951 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
1952
1953         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
1954         Define __WORDSIZE_COMPAT32 as 1.
1955
1956 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
1957
1958         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
1959         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
1960         PTHREAD_STACK_MIN.
1961
1962 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
1963
1964         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
1965
1966         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
1967         Delete.
1968
1969 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
1970
1971         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
1972         (internal_syscall1, internal_syscall2, internal_syscall3,
1973         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
1974
1975 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
1976
1977         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
1978         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
1979         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
1980         THREAD_GSCOPE_WAIT): Define.
1981         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
1982         (FUTEX_PRIVATE_FLAG): Define.
1983         (lll_unlock_wake_cb): Delete prototype.
1984         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
1985         <endian.h>.
1986         (pthread_rwlock_t): Shrink __flags and add __shared.
1987
1988 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
1989
1990         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
1991         (posix_fadvise): Fix high word of len argument.
1992
1993 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
1994
1995         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1996         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
1997         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
1998         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
1999         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
2000         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
2001
2002 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
2003
2004         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
2005         * sysdeps/mips/mips64/n64/Implies: Likewise.
2006         * sysdeps/mips/mips64/soft-fp/Makefile: New.
2007         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
2008         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
2009         <fpu_control.h>.  Use hardware exception and rounding mode
2010         settings.
2011
2012 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
2013
2014         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
2015         r_info argument to ElfW(Addr).
2016
2017 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
2018
2019         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
2020
2021 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
2022             Daniel Jacobowitz  <dan@codesourcery.com>
2023
2024         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
2025         shmctl, and semctl.
2026         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
2027         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
2028         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
2029
2030 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2031
2032         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
2033         PTR_DEMANGLE): Define.
2034         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
2035         PTR_DEMANGLE): Define.
2036         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
2037         PTR_DEMANGLE): Define.
2038
2039 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2040
2041         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2042         (cfi_same_value): Delete definition.
2043
2044 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
2045
2046         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
2047         (elf_machine_reloc): New function, retaining the body of
2048         elf_machine_rel.  Take the reloc's r_info field as an argument,
2049         not the reloc itself.  Add extra r_addend and inplace_p arguments.
2050         When inplace_p is false, use r_addend as the addend, not the contents
2051         of the relocation field.  Hoist the conversion of reloc_addr to
2052         "ELFW(Addr) *".  Don't try to apply TLS relocations against
2053         undefined symbols.  Add R_MIPS_GLOB_DAT support.
2054         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
2055         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
2056         to ElfW(Rela).
2057
2058 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
2059
2060         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
2061         multiple inclusion guard.
2062         * sysdeps/mips/elf/ldsodefs.h: Delete file.
2063
2064 2007-01-04  Thiemo Seufer  <ths@networkno.de>
2065
2066         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
2067         to match the kernel.
2068
2069 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
2070
2071         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
2072         (RTLD_SINGLE_THREAD_P): Define.
2073         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
2074
2075 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
2076
2077         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
2078         prototype.
2079
2080 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
2081
2082         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
2083         code.
2084         (__xstat_conv): Use memset to clear padding arrays.  Check for
2085         overflow.
2086         (__xstat64_conv): Use memset to clear padding arrays.
2087         (__xstat32_conv): New function.
2088         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
2089         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
2090
2091 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
2092
2093         * sysdeps/mips/fpu_control.h: If soft-float, don't use
2094         floating-point registers.
2095         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
2096         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
2097         Likewise.
2098
2099 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
2100
2101         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
2102         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
2103
2104 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2105
2106         * sysdeps/mips/mips64/n32/libm-test-ulps,
2107         sysdeps/mips/mips64/n64/libm-test-ulps: New.
2108
2109 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2110
2111         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
2112         defined, include the named file.
2113
2114 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
2115
2116         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
2117         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
2118         Define.
2119
2120 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2121
2122         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
2123         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
2124         types.
2125
2126 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2127
2128         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2129         Don't use struct timespec.
2130         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
2131         __xstat64_conv): Copy individual timespec fields.
2132
2133 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
2134
2135         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
2136
2137 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2138
2139         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
2140         * sysdeps/mips/fpu/fesetround.c: Likewise.
2141
2142 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
2143             Daniel Jacobowitz  <dan@codesourcery.com>
2144
2145         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
2146         dump sc_cause, sc_status or sc_badvaddr.
2147         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
2148         structure definitions after DSP kernel changes.
2149         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
2150         after the same DSP changes.
2151
2152 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2153
2154         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
2155         st_atim, st_mtim and st_ctim interface.
2156         (struct stat64): Likewise.
2157         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2158         Replace st_atime and its padding field with st_atim.  Likewise
2159         st_mtime/st_mtim and st_ctime/st_ctim.
2160         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
2161         after above changes.
2162         (__xstat64_conv): Likewise.
2163
2164 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2165
2166         * sysdeps/mips/ldsodefs.h: New file.
2167         * sysdeps/mips/tst-audit.h: New file.
2168
2169 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
2170
2171         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
2172         for consistency with other ports.
2173         (MADV_REMOVE): Correct value.
2174         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
2175         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
2176         POSIX_MADV_DONTNEED): Define.
2177
2178 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
2179
2180         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
2181         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
2182         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
2183         and SYNC_FILE_RANGE_WAIT_AFTER.
2184         Declare sync_file_range, vmsplice, splice and tee.
2185
2186 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
2187
2188         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
2189         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
2190         prototype.
2191
2192 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
2193
2194         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
2195         Define.
2196
2197 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
2198
2199         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
2200         typo.
2201
2202 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2203
2204         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
2205         i386/fork.c.
2206
2207 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2208
2209         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
2210         libc_cv_localedir, libdir, arch_minimum_kernel, and
2211         libc_cv_gcc_unwind_find_fde.
2212         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
2213         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2214         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
2215
2216 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
2217
2218         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2219         (__pthread_list_t, __pthread_slist_t): New typedefs.
2220         (pthread_mutex_t): Replace __next and __prev fields with __list.
2221         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
2222         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
2223         (lll_futex_wake_unlock): Define.
2224         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
2225         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
2226         lll_robust_mutex_unlock): New macros.
2227         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
2228         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
2229         vfork.S.
2230         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
2231
2232 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2233
2234         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
2235         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
2236
2237 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2238
2239         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2240         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2241         (INTERNAL_SYSCALL_NCS): New.
2242         (internal_syscall0, internal_syscall1, internal_syscall2,
2243         internal_syscall3, internal_syscall4, internal_syscall5,
2244         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2245         Use them.  Correct types for registers.
2246         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2247         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2248         (INTERNAL_SYSCALL_NCS): New.
2249         (internal_syscall0, internal_syscall1, internal_syscall2,
2250         internal_syscall3, internal_syscall4, internal_syscall5,
2251         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2252         Use them.
2253         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
2254         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
2255         points.
2256         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
2257         Use Elf(Addr) for TLS relocation targets.
2258         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
2259         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
2260         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
2261         futexp to long for n64.
2262         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
2263
2264 2006-02-20  Roland McGrath  <roland@redhat.com>
2265
2266         * sysdeps/mips/shlib-versions: New file.
2267         * sysdeps/mips/preconfigure: New file.
2268         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.