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