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