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