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