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