Fix BZ #16734 -- fopen calls mmap to allocate its buffer
[glibc.git] / ChangeLog.old-ports-mips
bloba1b16886fc125cdd95c32036476a2e23a11d7b71
1 This file describes changes to the MIPS port while it was in the ports
2 add-on directory.  This port is no longer part of an add-on and so
3 future changes to it should be listed in the top-level ChangeLog file,
4 not here.
6 \f
8 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10         * sysdeps/mips: Move directory to ../sysdeps/mips.
11         * sysdeps/unix/mips: Move directory to ../sysdeps/unix/mips.
12         * sysdeps/unix/sysv/linux/mips: Move directory to
13         ../sysdeps/unix/sysv/linux/mips.
15         * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Move from
16         sysdeps/unix/sysv/linux/hppa/umount.c instead of #include of that
17         file.
19         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Directly include
20         sysdeps/unix/sysv/linux/powerpc/ipc_priv.h instead of via
21         sysdeps/unix/sysv/linux/alpha/ipc_priv.h.
23 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Move to
26         ....
27         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist:
28         ... here.
29         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist: New
30         file.
32 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39         * sysdeps/mips/dl-lookup.c: Update from generic version.
41 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43         * sysdeps/mips/fpu/fegetround.c (fegetround): Use libm_hidden_def.
45 2013-11-27  Aurelien Jarno <aurelien@aurel32.net>
47         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM64_INFINITY): Fix
48         Fix 64-bit value for 32-bit ABIs.
49         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Rename generic getrlimit64
50         version as getrlimit64@@GLIBC_2_2.  Provide the getrlimit64 as
51         getrlimit64@@GLIBC_2_19.
52         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Ditto with setrlimit64.
53         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist (GLIBC_2.19):
54         Add getrlimit64 and setrlimit64.
55         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Ditto.
56         * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
57         getrlimit64@@GLIBC_2_19 and setrlimit64@@GLIBC_2_19.
58         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions: Ditto.
60 2013-11-27  Aurelien Jarno <aurelien@aurel32.net>
62         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: On O32 and N32 ABIs,
63         include the generic getrlimit64 version as __internal_getrlimit64
64         and add a wrapper around it to convert the RLIM64_INFINITY constant
65         between the libc and the kernel version.
66         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Ditto with setrlimit64.
68 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
69         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Use __glibc_reserved instead __unused.
70         * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
71         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
72         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
74 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
76         * sysdeps/mips/configure.in: Moved to ...
77         * sysdeps/mips/configure.ac: ... here.
78         * sysdeps/unix/sysv/linux/mips/configure.in: Moved to ...
79         * sysdeps/unix/sysv/linux/mips/configure.ac: ... here.
80         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: Moved to ...
81         * sysdeps/unix/sysv/linux/mips/mips64/configure.ac: ... here.
82         * sysdeps/mips/configure: Regenerated.
83         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
84         * sysdeps/unix/sysv/linux/mips/mips64/configure: Likewise.
86 2013-09-26  Steve Ellcey  <sellcey@mips.com>
88         [BZ #15632]
89         * sysdeps/mips/mips32/fpu/e_sqrt.c: New.
90         * sysdeps/mips/mips32/fpu/e_sqrtf.c: New.
91         * sysdeps/mips/mips64/n32/fpu/e_sqrt.c: New.
92         * sysdeps/mips/mips64/n32/fpu/e_sqrtf.c: New.
93         * sysdeps/mips/mips64/n64/fpu/e_sqrt.c: New.
94         * sysdeps/mips/mips64/n64/fpu/e_sqrtf.c: New.
96 2013-09-23  Steve Ellcey  <sellcey@mips.com>
98         * sysdeps/mips/math_private.h (libc_feholdexcept_mips): New function.
99         (libc_feholdexcept): New macro.
100         (libc_feholdexceptf): New macro.
101         (libc_feholdexceptl): New macro.
102         (libc_fesetround_mips): New function.
103         (libc_fesetround): New macro.
104         (libc_fesetroundf): New macro.
105         (libc_fesetroundl): New macro.
106         (libc_feholdexcept_setround_mips): New function.
107         (libc_feholdexcept_setround): New macro.
108         (libc_feholdexcept_setroundf): New macro.
109         (libc_feholdexcept_setroundl): New macro.
110         (libc_fesetenv_mips): New function.
111         (libc_fesetenv): New macro.
112         (libc_fesetenvf): New macro.
113         (libc_fesetenvl): New macro.
114         (libc_feupdateenv_mips): New function.
115         (libc_feupdateenv): New macro.
116         (libc_feupdateenvf): New macro.
117         (libc_feupdateenvl): New macro.
119 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
121         * sysdeps/mips/bits/atomic.h: Fix comment typo.
123 2013-09-23  Steve Ellcey  <sellcey@mips.com>
125         * sysdeps/mips/fpu/fegetround.c (fegetround): Use _FPU_RC_MASK.
126         * sysdeps/mips/fpu/fesetround.c (fesetround): Use _FPU_RC_MASK.
128 2013-09-23  Steve Ellcey  <sellcey@mips.com>
130         * sysdeps/mips/fpu_control.h (_FPU_RC_MASK): New.
132 2013-09-23  Steve Ellcey  <sellcey@mips.com>
134         * sysdeps/mips/fpu_control.h (comments): Add capitalization and
135         periods to match GNU standard.
137 2013-09-20  Steve Ellcey  <sellcey@mips.com>
139         * sysdeps/mips/memset.S: Change prefetching and add loop unrolling.
140         * sysdeps/mips/mips64/memset.S: Remove.
142 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
143             Thomas Schwinge  <thomas@codesourcery.com>
145         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NAN2008): New macro.
146         (elf_machine_matches_host): Reject objects that use a different
147         NaN encoding convention.
148         * sysdeps/mips/fpu_control.h: Document IEEE 754-2008 feature
149         control bits.
150         (_FPU_ABS2008, _FPU_NAN2008): New macros.
151         (_FPU_RESERVED): Clear bits #20 and #19.
152         (_FPU_DEFAULT) [__mips_nan2008]: Set bit #18.
153         (_FPU_IEEE) [__mips_nan2008]: Likewise.
154         * sysdeps/mips/math_private.h [__mips_nan2008]
155         (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Don't define.
156         * sysdeps/mips/bits/nan.h [__mips_nan2008] (__qnan_bytes): Define
157         appropriately.
158         * sysdeps/mips/mips64/soft-fp/sfp-machine.h [__mips_nan2008]
159         (_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): Define 2008-NaN
160         payloads.
161         (_FP_QNANNEGATEDP): Set to 0.
162         * sysdeps/mips/soft-fp/sfp-machine.h [__mips_nan2008]
163         (_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): Define 2008-NaN
164         payloads.
165         (_FP_QNANNEGATEDP): Set to 0.
166         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
167         Define 2008 NaN encoding values.
168         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
169         Handle 2008-NaN libraries.
170         * sysdeps/mips/shlib-versions [HAVE_MIPS_NAN2008]: Set
171         ld=ld-linux-mipsn8.so.1.
172         * sysdeps/mips/configure.in: Define HAVE_MIPS_NAN2008 if the
173         2008 NaN encoding is used.
174         * sysdeps/unix/sysv/linux/mips/Makefile (abi-variants): Add
175         2008-NaN ABI variants.
176         (abi-o32_soft-options, abi-o32_soft-condition): Update with the
177         __mips_nan2008 macro.
178         (abi-o32_hard-options, abi-o32_hard-condition): Likewise.
179         (abi-n32_soft-options, abi-n32_soft-condition): Likewise.
180         (abi-n32_hard-options, abi-n32_hard-condition): Likewise.
181         (abi-n64_soft-options, abi-n64_soft-condition): Likewise.
182         (abi-n64_hard-options, abi-n64_hard-condition): Likewise.
183         (abi-o32_soft-ld-soname, abi-o32_hard-ld-soname): New macros.
184         (abi-n32_soft-ld-soname, abi-n32_hard-ld-soname): Likewise.
185         (abi-n64_soft-ld-soname, abi-n64_hard-ld-soname): Likewise.
186         (abi-o32_soft_2008-options): Likewise.
187         (abi-o32_soft_2008-condition): Likewise.
188         (abi-o32_hard_2008-options): Likewise.
189         (abi-o32_hard_2008-condition): Likewise.
190         (abi-n32_soft_2008-options): Likewise.
191         (abi-n32_soft_2008-condition): Likewise.
192         (abi-n32_hard_2008-options): Likewise.
193         (abi-n32_hard_2008-condition): Likewise.
194         (abi-n64_soft_2008-options): Likewise.
195         (abi-n64_soft_2008-condition): Likewise.
196         (abi-n64_hard_2008-options): Likewise.
197         (abi-n64_hard_2008-condition): Likewise.
198         (abi-o32_soft_2008-ld-soname): Likewise.
199         (abi-o32_hard_2008-ld-soname): Likewise.
200         (abi-n32_soft_2008-ld-soname): Likewise.
201         (abi-n32_hard_2008-ld-soname): Likewise.
202         (abi-n64_soft_2008-ld-soname): Likewise.
203         (abi-n64_hard_2008-ld-soname): Likewise.
204         * sysdeps/unix/sysv/linux/mips/configure.in: Include the NaN
205         encoding selection in default-abi.  Set arch_minimum_kernel to
206         10.0.0 if 2008 NaN encoding is used.
207         * sysdeps/mips/configure: Regenerate.
208         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
210 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
212         * sysdeps/mips/memcpy.S: Fix then/than typos.
214 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
216         * sysdeps/mips/memcpy.S: Fix typos.
218 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
220         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
221         Use ELFOSABI_GNU instead of ELFOSABI_LINUX.
223 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
225         * sysdeps/mips/sys/asm.h: Fix typos.
227 2013-08-22  Maciej W. Rozycki  <macro@codesourcery.com>
229         * sysdeps/mips/fpu_control.h: Document bits reserved for
230         architecture implementers.
231         (_FPU_RESERVED): Clear bit #21.
232         * sysdeps/mips/fpu/fedisblxcpt.c (fedisableexcept): Don't clear
233         reserved bits.
234         * sysdeps/mips/fpu/feenablxcpt.c (feenableexcept): Likewise.
236 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
238         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
239         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
241         [BZ #13304]
242         * sysdeps/mips/ieee754/s_fma.c: New file.
243         * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
244         * sysdeps/mips/ieee754/s_fmal.c: Likewise.
245         * sysdeps/mips/mips32/Implies: Add mips/soft-fp.
246         * sysdeps/mips/mips64/n32/s_fma.c: Remove file.
247         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
248         * sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_MUL_MEAT_DW_S):
249         New macro.
250         (_FP_MUL_MEAT_DW_D): Likewise.
251         (_FP_MUL_MEAT_DW_Q): Likewise.
252         * sysdeps/mips/soft-fp/sfp-machine.h (_FP_MUL_MEAT_DW_S): New
253         macro.
254         (_FP_MUL_MEAT_DW_D): Likewise.
255         (_FP_MUL_MEAT_DW_Q): Likewise.
257 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
259         * sysdeps/mips/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
260         to macro prototype for AT_HWCAP2 support.
262 2013-06-27  Maciej W. Rozycki  <macro@codesourcery.com>
264         * sysdeps/unix/sysv/linux/mips/dl-static.c: Do not include
265         <bits/libc-lock.h>.
266         (_dl_static_lock): Remove variable.
267         (_dl_static_init): Remove _dl_static_lock locking.
269 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
272         Update.
273         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
274         Likewise.
275         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
276         Likewise.
278 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
280         [BZ #14909]
281         * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
282         Rename __fpc_csr field to __glibc_reserved1.
283         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux) [__mips_hard_float]:
284         Do not set __fpc_csr.
285         * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux)
286         [__mips_hard_float]: Likewise.
287         * sysdeps/mips/__longjmp.c (____longjmp) [__mips_hard_float]: Do
288         not use __fpc_csr.
289         * sysdeps/mips/mips64/__longjmp.c (__longjmp) [__mips_hard_float]:
290         Likewise.
292         * sysdeps/mips/math-tests.h: New file.
294 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
296         * sysdeps/mips/fpu/fgetexcptflg.c: Remove trailing whitespace.
297         * sysdeps/mips/fpu/fraiseexcpt.c: Likewise.
298         * sysdeps/mips/memset.S: Likewise.
299         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
300         * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
301         * sysdeps/mips/mips64/memset.S: Likewise.
302         * sysdeps/mips/mips64/setjmp.S: Likewise.
303         * sysdeps/mips/start.S: Likewise.
304         * sysdeps/unix/mips/sysdep.S: Likewise.
305         * sysdeps/unix/sysv/linux/mips/dl-static.c: Likewise.
306         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Likewise.
308 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
310         [BZ #15465]
311         * sysdeps/mips/dl-lookup.c (do_lookup_x): Use DSO_FILENAME.
312         (add_dependency): Likewise.
313         (_dl_lookup_symbol_x): Likewise.
314         (_dl_debug_bindings): Likewise.
315         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Use
316         RTLD_PROGNAME.
318 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
320         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add
321         si_addr_lsb to _sifields.sifault.
322         (si_addr_lsb): Define new macro.
323         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
325 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
327         * sysdeps/mips/mips32/libm-test-ulps: Update test names.
328         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
330 2013-05-21  Joseph Myers  <joseph@codesourcery.com>
332         [BZ #15506]
333         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
334         [!__PIC__] (PSEUDO): Undefine and redefine.
335         (PSEUDO_END): Undefine and redefine unconditionally.
336         [!__PIC__] (STK_PAD): Define to 0.
337         [!__PIC__] (STKOFF_GP): Do not define.
338         [!__PIC__] (STKSPACE): Define to (STKOFF_SVMSK + SZREG).
339         (PSEUDO_JMP): Define depending on [__PIC__].
340         (CENABLE): Use PSEUDO_JMP in all definitions.
341         (CDISABLE): Likewise.
342         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
343         (SYSCALL_ERROR_LABEL): Define unconditionally.
344         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
345         (SYSCALL_ERROR_LABEL): Define unconditionally.
347 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
349         * sysdeps/mips/mips32/libm-test-ulps: Update names of sincos
350         tests.
351         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
353 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
355         [BZ #15442]
356         * sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
357         New macro.
358         (_FP_NANFRAC_S): Don't set the quiet bit.
359         (_FP_NANFRAC_D): Likewise.
360         (_FP_NANFRAC_Q): Likewise.
361         * sysdeps/mips/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): New
362         macro.
363         (_FP_NANFRAC_S): Don't set the quiet bit.
364         (_FP_NANFRAC_D): Likewise.
365         (_FP_NANFRAC_Q): Likewise.
367 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
369         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: Add missing
370         #include <stdint.h> due to uint64_t or uint32_t usage.
371         * sysdeps/mips/bits/atomic.h: Likewise.
373 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
375         * sysdeps/mips/math_private.h: New file.
377 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
379         * sysdeps/unix/sysv/linux/mips/configure.in (default-abi): Set
380         using LIBC_CONFIG_VAR.
381         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
382         * sysdeps/unix/sysv/linux/mips/Makefile: Do not include
383         default-abi.make.
385 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
387         * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
388         (MAP_ANONYMOUS): Don't define.
390 2013-03-06  Andreas Jaeger  <aj@suse.de>
392         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines
393         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
394         (__MAP_ANONYMOUS): Define.
396         * sysdeps/unix/sysv/linux/mips/bits/msq.h (MSG_COPY): Define.
398 2013-02-27  Chung-Lin Tang  <cltang@codesourcery.com>
399             Maciej W. Rozycki  <macro@codesourcery.com>
400             Maxim Kuvyrkov  <maxim@codesourcery.com>
402         * sysdeps/mips/abort-instr.h (ABORT_INSTRUCTION) [__mips16]:
403         New macro.
404         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Add
405         MIPS16 version of assembly code.
406         (RTLD_START) [__mips16]: New macro.
407         * sysdeps/mips/fpu_control.h (__mips_fpu_getcw): New prototype.
408         (__mips_fpu_setcw): Likewise.
409         (_FPU_GETCW) [__mips16]: New macro.
410         (_FPU_SETCW) [__mips16]: Likewise.
411         * sysdeps/mips/machine-gmon.h (MCOUNT): Add `.set nomips16'.
412         * sysdeps/mips/tls-macros.h (LOAD_GP) [__mips16]: New macro.
413         (TLS_GD, TLS_LD, TLS_IE, TLS_LE) [__mips16]: Likewise.
414         * sysdeps/mips/bits/atomic.h: Also use __atomic_* builtins with
415         GCC 4.7 in MIPS16 code.
416         (atomic_compare_and_exchange_val_acq) [__mips16]: New macro.
417         (atomic_compare_and_exchange_bool_acq) [__mips16]: Likewise.
418         (atomic_exchange_acq) [__mips16]: Likewise.
419         (atomic_exchange_and_add) [__mips16]: Likewise.
420         (atomic_bit_test_set) [__mips16]: Likewise.
421         (atomic_and, atomic_and_val) [__mips16]: Likewise.
422         (atomic_or, atomic_or_val) [__mips16]: Likewise.
423         (atomic_full_barrier) [__mips16]: Likewise.
424         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER) [__mips16]:
425         Likewise.
426         * sysdeps/mips/sys/tas.h (_test_and_set): Add `__nomips16__'
427         attribute.
428         * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO): Add
429         `.set nomips16'.
430         (PSEUDO_ERRVAL): Likewise.
431         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Likewise.
432         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
433         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
434         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
435         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS) [__mips16]: New macros.
436         (INTERNAL_SYSCALL_MIPS16) [__mips16]: Likewise.
437         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h:
438         New file.
439         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO):
440         Add `.set nomips16'.
441         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
442         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
443         * sysdeps/mips/memset.S (memset): Likewise.
444         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
445         * sysdeps/mips/start.S (ENTRY_POINT) [__mips16]: New function.
446         * sysdeps/mips/mips32/crti.S: Add `.set nomips16'.
447         * sysdeps/mips/mips32/crtn.S: Likewise.
448         * sysdeps/mips/mips64/n32/crti.S: Likewise.
449         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
450         * sysdeps/mips/mips64/n64/crti.S: Likewise.
451         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
452         * sysdeps/unix/mips/sysdep.S: Likewise.
453         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
454         * sysdeps/unix/sysv/linux/mips/getcontext.S: Likewise.
455         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
456         * sysdeps/unix/sysv/linux/mips/setcontext.S: Likewise.
457         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
458         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
459         * sysdeps/mips/__longjmp.c (__longjmp): Rename function to...
460         (____longjmp): ... this.  Make static and add `nomips16'
461         attribute.
462         (__longjmp): New alias.
463         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve) [__mips16]:
464         New function.
465         (_dl_runtime_pltresolve): Likewise.
466         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Add `nomips16'
467         attribute.
468         * sysdeps/mips/fpu/e_sqrt.c (__ieee754_sqrt): Likewise.
469         * sysdeps/mips/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise.
470         * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Rewrite in terms
471         of INTERNAL_SYSCALL.
472         * sysdeps/mips/mips32/fpu/fpu_control.c: New file.
473         * sysdeps/mips/mips32/mips16/add_n.c: New file.
474         * sysdeps/mips/mips32/mips16/addmul_1.c: New file.
475         * sysdeps/mips/mips32/mips16/lshift.c: New file.
476         * sysdeps/mips/mips32/mips16/mul_1.c: New file.
477         * sysdeps/mips/mips32/mips16/rshift.c: New file.
478         * sysdeps/mips/mips32/mips16/sub_n.c: New file.
479         * sysdeps/mips/mips32/mips16/submul_1.c: New file.
480         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c:
481         New file.
482         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c:
483         New file.
484         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c:
485         New file.
486         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c:
487         New file.
488         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c:
489         New file.
490         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
491         New file.
492         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
493         New file.
494         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
495         New file.
496         * sysdeps/mips/mips32/fpu/Versions: New file.
497         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions: New file.
498         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: New
499         file.
500         * sysdeps/mips/mips32/mips16/fpu/Makefile: New file.
501         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile: New file.
502         * sysdeps/mips/preconfigure: Handle o32 MIPS16 compilation.
504 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
506         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
507         __attribute__ ((unused)) to __attribute__ ((__unused__)).
509         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Sort
510         properly.
512         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
513         __attribute_used__ to __attribute__ ((unused)).
515         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Add
516         __attribute_used__.
518         * sysdeps/mips/bits/nan.h: Align to generic IEEE 754 file.
520 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
522         [BZ #14920]
523         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
524         (FUTEX_WAIT_REQUEUE_PI): Define.
525         (FUTEX_CMP_REQUEUE_PI): Likewise.
526         (lll_futex_wait_requeue_pi): Likewise.
527         (lll_futex_timed_wait_requeue_pi): Likewise.
528         (lll_futex_cmp_requeue_pi): Likewise.
530 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
533         __cxa_thread_atexit_impl.
534         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
535         Likewise.
536         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
537         Likewise.
539 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
541         [BZ #13550]
542         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c (__fxstat64): Do
543         not use __ptrvalue.
544         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c (__fxstatat64):
545         Likewise.
546         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c (__lxstat64):
547         Likewise.
548         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c (__xstat64):
549         Likewise.
550         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
551         Likewise.
553 2013-02-11  Joseph Myers  <joseph@codesourcery.com>
555         * sysdeps/mips/include/sys/asm.h: New file.
556         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use SETUP_GP64_REG
557         and RESTORE_GP64_REG.
558         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
559         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
560         * sysdeps/mips/sys/asm.h (__mips_cfi_startproc): Define to empty.
561         (__mips_cfi_endproc): Likewise.
562         (LEAF): Use __mips_cfi_startproc.
563         (NESTED): Likewise.
564         (END): Use __mips_cfi_endproc.
565         (EXPORT): Use __mips_cfi_startproc.
566         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Add CFI information
567         for error-handling code in both definitions.
568         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
569         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
570         * sysdeps/unix/mips/sysdep.h (ENTRY): Use cfi_startproc.
571         (END): Use cfi_endproc.
572         (PSEUDO_END): Likewise.
573         (PSEUDO_END_NOERRNO): Likewise.
574         (PSEUDO_END_ERRVAL): Likewise.
575         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Add CFI
576         information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
577         * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext):
578         Likewise.
579         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
580         Likewise.
581         * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
582         SETUP_GP64_REG and RESTORE_GP64_REG.
583         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
584         [(!NOT_IN_libc || IS_IN_libpthread || IS_IN_librt) && __PIC__]
585         (PSEUDO): Use cfi_endproc before ENTRY.
586         * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Add CFI
587         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
588         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h [(!NOT_IN_libc
589         || IS_IN_libpthread || IS_IN_librt) && __PIC__] (PSEUDO): Use
590         cfi_endproc before ENTRY.
591         * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext): Add
592         CFI information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
593         * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
594         Likewise.
595         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Add CFI
596         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
598 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
600         [BZ #13550]
601         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: Don't include
602         <bp-checks.h>.
603         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
604         (__libc_pread): Don't use CHECK_N.
605         * sysdeps/unix/sysv/linux/mips/pread64.c: Don't include
606         <bp-checks.h>.
607         (__libc_pread64): Don't use CHECK_N.
608         * sysdeps/unix/sysv/linux/mips/pwrite.c: Don't include
609         <bp-checks.h>.
610         (__libc_pwrite): Don't use CHECK_N.
611         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Don't include
612         <bp-checks.h>.
613         (__libc_pwrite64): Don't use CHECK_N.
615         * sysdeps/mips/add_n.S (__mpn_add_n): Use END.
616         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
617         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
618         * sysdeps/mips/mips64/add_n.S (__mpn_add_n): Use ENTRY and END.
619         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Likewise.
620         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use END.
621         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
622         * sysdeps/mips/mips64/lshift.S (__mpn_lshift): Use ENTRY and END.
623         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Likewise.
624         * sysdeps/mips/mips64/rshift.S (__mpn_rshift): Likewise.
625         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Use END.
626         * sysdeps/mips/mips64/sub_n.S (__mpn_sub_n): Use ENTRY and END.
627         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Likewise.
628         * sysdeps/mips/setjmp.S (__sigsetjmp): Use END.
630         [BZ #13550]
631         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Do not include
632         <bp-checks.h>.
633         (__msgctl): Do not use CHECK_1.
634         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Do not include
635         <bp-checks.h>.
636         (__shmctl): Do not use CHECK_1.
637         * sysdeps/unix/sysv/linux/mips/ustat.c: Do not include
638         <bp-checks.h>.
639         (ustat): Do not use CHECK_1.
641 2013-02-05  Maciej W. Rozycki  <macro@codesourcery.com>
643         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Add a missing
644         space in asm register specifiers throughout.
645         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
646         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
648         [BZ #15054]
649         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (MOVE32):
650         New macro.
651         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
652         restart convention.
653         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
654         convention.
655         (internal_syscall0, internal_syscall1): Likewise.
656         (internal_syscall2, internal_syscall3): Likewise.
657         (internal_syscall4, internal_syscall5): Likewise.
658         (internal_syscall6, internal_syscall7): Likewise.
659         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (MOVE32):
660         New macro.
661         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
662         restart convention.
663         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
664         convention.
665         (internal_syscall0, internal_syscall1): Likewise.
666         (internal_syscall2, internal_syscall3): Likewise.
667         (internal_syscall4, internal_syscall5): Likewise.
668         (internal_syscall6): Likewise.
669         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (MOVE32):
670         New macro.
671         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
672         restart convention.
673         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
674         convention.
675         (internal_syscall0, internal_syscall1): Likewise.
676         (internal_syscall2, internal_syscall3): Likewise.
677         (internal_syscall4, internal_syscall5): Likewise.
678         (internal_syscall6): Likewise.
680 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
682         [BZ #13550]
683         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Do not include
684         <bp-checks.h>.
685         (truncate64): Do not use CHECK_STRING.
686         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
687         <bp-checks.h>.
688         (__fxstatat64): Do not use CHECK_STRING.
689         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Do not include
690         <bp-checks.h>.
691         (__lxstat64): Do not use CHECK_STRING.
692         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Do not include
693         <bp-checks.h>.
694         (__xstat64): Do not use CHECK_STRING.
696 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
698         [BZ #13550]
699         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Don't include
700         <bp-checks.h> and <bp-semctl.h>.
701         (__semctl): Don't use CHECK_SEMCTL.
703 2013-01-29  Maciej W. Rozycki  <macro@codesourcery.com>
705         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Correct
706         whitespace damage throughout.
707         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
709 2013-01-25  Steve Ellcey  <sellcey@mips.com>
711         * sysdeps/mips/memmove.c: Remove.
713 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
715         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h (struct
716         sigcontext): Use __extension__ with long long in all definitions.
718 2013-01-08  Steve Ellcey  <sellcey@mips.com>
720         * sysdeps/mips/memcpy.S: Change prefetch hint, reorder partial
721         loads and stores, set and use MAX_PREFETCH_SIZE.
723 2013-01-08  Andreas Jaeger  <aj@suse.de>
725         [BZ# 14985]
726         * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): Remove.
728 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
730         * All files with FSF copyright notices: Update copyright dates
731         using scripts/update-copyrights.
733 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
735         * sysdeps/mips/bits/dlfcn.h: Reformat copyright notice.
736         * sysdeps/mips/bits/mathdef.h: Likewise.
737         * sysdeps/mips/bits/setjmp.h: Likewise.
738         * sysdeps/mips/ieee754/ieee754.h: Likewise.
739         * sysdeps/mips/machine-gmon.h: Likewise.
740         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
741         * sysdeps/mips/mips64/setjmp.S: Likewise.
742         * sysdeps/mips/start.S: Likewise.
743         * sysdeps/unix/mips/mips64/n32/sysdep.h: Likewise.
744         * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
745         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
746         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
748 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
750         * sysdeps/mips/fpu_control.h [__mips_soft_float] (_FPU_GETCW):
751         Define to set cw to 0, not just to plain "0" as a statement.
752         [__mips_soft_float] (_FPU_SETCW): Define to (void) (cw), rather
753         than doing nothing with cw.
755 2012-11-30  Joseph Myers  <joseph@codesourcery.com>
757         * sysdeps/mips/mips32/libm-test-ulps: Update.
758         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
760 2012-11-29  Joseph Myers  <joseph@codesourcery.com>
762         [BZ #14893]
763         * sysdeps/mips/mips64/n32/_itoa.h: New file.
764         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include
765         <sgidefs.h>.
766         (CTX_TYPE): New macro.
767         (CTX_REG): Likewise.
768         (CTX_PC): Likewise.
769         (CTX_MDHI): Likewise.
770         (CTX_MDLO): Likewise.
771         (REG_HEX_SIZE): Likewise.
772         (hexvalue): Take _ITOA_WORD_TYPE argument.
773         (register_dump): Use these macros instead of hardcoding struct
774         sigcontext * type and accesses and 8-byte textual output for
775         registers.
777 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
779         [BZ #14822]
780         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
781         (sendfile): New syscall entry.
782         * sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c: New file.
783         Copy of ../sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c.
785 2012-11-21  Joseph Myers  <joseph@codesourcery.com>
787         * sysdeps/mips/jmpbuf-unwind.h (_jmpbuf_sp): Cast regs[0].__sp to
788         uintptr_t.
790         * sysdeps/mips/sotruss-lib.c: New file.
792 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
794         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
795         (internal_syscall1): Use parentheses around macro arguments.
796         (internal_syscall2): Likewise.
797         (internal_syscall3): Likewise.
798         (internal_syscall4): Likewise.
799         (internal_syscall5): Likewise.
800         (internal_syscall6): Likewise.
801         (internal_syscall7): Likewise.
802         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
803         (internal_syscall1): Likewise.
804         (internal_syscall2): Likewise.
805         (internal_syscall3): Likewise.
806         (internal_syscall4): Likewise.
807         (internal_syscall5): Likewise.
808         (internal_syscall6): Likewise.
810         * sysdeps/mips/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
811         _Unwind_GetCFA return to _Unwind_Ptr before casting to a pointer
812         type.
813         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c (CHECK_SP): Cast
814         ss_sp to long before casting to sp_type.
815         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h [_MIPS_SIM ==
816         _ABIO32] (GET_PC): Cast to unsigned long before casting to a
817         pointer type.
818         [_MIPS_SIM == _ABIO32] (GET_FRAME): Likewise.
819         [_MIPS_SIM == _ABIO32] (GET_STACK): Likewise.
820         [_MIPS_SIM != _ABIO32] (GET_PC): Likewise.
821         [_MIPS_SIM != _ABIO32] (GET_FRAME): Likewise.
822         [_MIPS_SIM != _ABIO32] (GET_STACK): Likewise.
824         * sysdeps/mips/bits/atomic.h [!__GNUC_PREREQ (4, 8)]
825         (__arch_compare_and_exchange_xxx_8_int): Separate assignments to
826         __prev and __cmp.  Cast __cmp to void.
827         [!__GNUC_PREREQ (4, 8)] (__arch_compare_and_exchange_xxx_16_int):
828         Likewise.
829         [!__GNUC_PREREQ (4, 8) && _MIPS_SIM == _ABIO32]
830         (__arch_compare_and_exchange_xxx_64_int): Likewise.
832 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
834         * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Declare VERSION
835         variable with __attribute__ ((unused)).
837         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
838         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
839         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
840         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
841         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
842         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
843         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
844         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
845         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
846         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
847         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
848         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
850 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
852         * sysdeps/mips/bits/atomic.h
853         (__arch_compare_and_exchange_bool_8_int): Mark __PREV variable
854         with __attribute__ ((unused)).
855         (__arch_compare_and_exchange_bool_16_int): Likewise.
856         (__arch_compare_and_exchange_bool_32_int): Likewise.
857         (__arch_compare_and_exchange_bool_64_int): Likewise.
859 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
861         * sysdeps/mips/memmove.c: New file.  Use memcpy for forward memmove.
863 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
865         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
866         (lll_futex_timed_wait_bitset): New macro.
868 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
870         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Don't
871         include <stub-tag.h>.
873 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
875         * sysdeps/mips/fpu/fclrexcpt.c (feclearexcept): Add
876         libm_hidden_def.
878         [BZ #3439]
879         * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define macro to integer
880         constant usable in #if and use that to give value to enum
881         constant.
882         (FE_UNDERFLOW): Likewise.
883         (FE_OVERFLOW): Likewise.
884         (FE_DIVBYZERO): Likewise.
885         (FE_INVALID): Likewise.
886         (FE_TONEAREST): Likewise.
887         (FE_TOWARDZERO): Likewise.
888         (FE_UPWARD): Likewise.
889         (FE_DOWNWARD): Likewise.
891 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
893         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
895         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist
896         (GLIBC_2.17): Add clock_* symbols.
898 2012-10-31  Steve Ellcey  <sellcey@mips.com>
900         * sysdeps/mips/memcpy.S: Add prefetching and more unrolling, make
901         it work in 32 or 64 bit modes.
902         * sysdeps/mips/mips64/memcpy.S: Remove.
904 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
906         [BZ #14047]
907         * sysdeps/mips/tininess.h: New file.
909 2012-10-29  Steve Ellcey  <sellcey@mips.com>
911         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
912         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
913         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
914         * sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
915         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
916         * sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
917         (abi-variants): Add hard and soft float versions.
918         (abi-o32-options): Remove.
919         (abi-o32-condition): Remove.
920         (abi-n32-options): Remove.
921         (abi-n32-condition): Remove.
922         (abi-n64-options): Remove.
923         (abi-n64-condition): Remove.
924         (abi-o32_soft-options): New.
925         (abi-o32_soft-condition): New.
926         (abi-o32_hard-options): New.
927         (abi-o32_hard-condition): New.
928         (abi-n32_soft-options): New.
929         (abi-n32_soft-condition): New.
930         (abi-n32_hard-options): New.
931         (abi-n32_hard-condition): New.
932         (abi-n64_soft-options): New.
933         (abi-n64_soft-condition): New.
934         (abi-n64_hard-options): New.
935         (abi-n64_hard-condition): New.
937 2012-10-19  Roland McGrath  <roland@hack.frob.com>
939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist
940         (GLIBC_2.17): Add clock_* symbols.
941         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
943 2012-10-24  Andreas Jaeger  <aj@suse.de>
945         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all
946         definitions and declarations that are provided by
947         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
949 2012-10-03  Steve Ellcey  <sellcey@mips.com>
951         * sysdeps/mips/ieee754.h: Move to...
952         * sysdeps/mips/ieee754/ieee754.h: Here.
953         * sysdeps/mips/mips32/Implies: Add mips/ieee754.
954         * sysdeps/mips/mips64/Implies: Ditto.
955         * sysdeps/mips/mips64/n32/Implies: Ditto.
956         * sysdeps/mips/mips64/n64/Implies: Ditto.
958 2012-10-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
960         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Fix clone
961         flag name in comment to CLONE_CHILD_CLEARTID.
963 2012-09-28  Roland McGrath  <roland@hack.frob.com>
965         * sysdeps/mips/init-first.c: File removed.
967 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
969         * sysdeps/mips/dl-trampoline.c (VERSYMIDX): Removed.
971 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
973         * sysdeps/unix/sysv/linux/mips/kernel-features.h
974         (__ASSUME_STAT64_SYSCALL): Remove.
976 2012-08-27  Guido Guenther  <agx@sigxcpu.org>
978         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Set bit 23.
980 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
982         * sysdeps/unix/sysv/linux/mips/kernel-features.h [_MIPS_SIM ==
983         _ABIO32] (__ASSUME_STAT64_SYSCALL): Define.
984         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: New file.  Based
985         on version from ../sysdeps/unix/sysv/linux/.
986         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Likewise.
987         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Likewise.
989 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
991         * sysdeps/mips/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
992         <mips_o32_gnu_pltenter, mips_n32_gnu_pltenter, mips_n64_gnu_pltenter>:
993         struct La_mips_32_regs and struct La_mips_64_regs are not constant.
995 2012-08-15  Tom de Vries  <vries@codesourcery.com>
996             Maxim Kuvyrkov  <maxim@codesourcery.com>
998         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (__libc_lock_lock)
999         (__libc_lock_trylock): Define versions optimized for MIPS.
1001 2012-08-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
1003         * sysdeps/mips/nptl/pthread_spin_lock.S: Remove, use generic version.
1004         * sysdeps/mips/nptl/pthread_spin_lock.c: New file.
1005         * sysdeps/mips/nptl/pthread_spin_trylock.S: Remove, use generic version.
1007 2012-08-15  Joseph Myers  <joseph@codesourcery.com>
1009         * sysdeps/mips/dl-lookup.c: Update from generic version.
1011 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
1013         [__GNUC_PREREQ (4, 8)]
1014         (atomic_exchange_and_add): Split into ...
1015         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1016         New atomic macros.
1017         [!__GNUC_PREREQ (4, 8)]
1018         (atomic_exchange_and_add): Split into ...
1019         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1020         New atomic macros.
1022 2012-08-09  Joseph Myers  <joseph@codesourcery.com>
1024         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1025         (__ASSUME_UTIMES): Define.
1027 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1029         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1030         Remove.
1031         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1033 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
1035         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1036         (__ASSUME_FCNTL64): Remove.
1038 2012-08-01  Steve Ellcey  <sellcey@mips.com>
1040         * sysdeps/mips/sys/asm.h [_MIPS_ISA != _MIPS_ISA_MIPS4 &&
1041         _MIPS_ISA != _MIPS_ISA_MIPS5 && _MIPS_ISA != _MIPS_ISA_MIPS32 &&
1042         _MIPS_ISA != _MIPS_ISA_MIPS64] (PREF): Define as function-like
1043         macro.
1044         (PREFX): Likewise.
1046 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
1048         * sysdeps/unix/sysv/linux/mips/fcntl.c: Remove.
1049         * sysdeps/unix/sysv/linux/mips/lockf64.c: Likewise.
1050         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: New file.
1051         * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1052         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
1053         * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1055 2012-07-27  Joseph Myers  <joseph@codesourcery.com>
1057         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): New.
1058         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: New file.
1060 2012-07-25  Florian Weimer  <fweimer@redhat.com>
1062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
1063         secure_getenv.
1064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
1065         Likewise.
1066         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
1067         Likewise.
1069 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
1071         * sysdeps/mips/configure.in: Remove TLS check.
1072         * sysdeps/mips/configure: Regenerated.
1074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: New
1075         file.
1076         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1079         Likewise.
1081 2012-07-11  Tom de Vries  <vries@codesourcery.com>
1082             Maxim Kuvyrkov  <maxim@codesourcery.com>
1084         * sysdeps/mips/bits/atomic.h [__GNUC_PREREQ (4, 8)]
1085         (__arch_compare_and_exchange_bool_32_int)
1086         (__arch_compare_and_exchange_val_32_int)
1087         (__arch_compare_and_exchange_bool_64_int)
1088         (__arch_compare_and_exchange_val_64_int)
1089         Define in terms of __atomic_compare_exchange_n.
1090         [__GNUC_PREREQ (4, 8)]
1091         (__arch_exchange_32_int, __arch_exchange_64_int):
1092         Define in terms of __atomic_exchange_n.
1093         [__GNUC_PREREQ (4, 8)]
1094         (__arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
1095         Define in terms of __atomic_fetch_add.
1096         [!__GNUC_PREREQ (4, 8)]: Update formatting.
1098 2012-07-06  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1100         * sysdeps/mips/dl-machine.h (RTLD_START): Do not store data below
1101         the stack pointer.
1103 2012-06-19  Joseph Myers  <joseph@codesourcery.com>
1105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Update
1106         _gp_disp entry.
1107         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1108         Likewise.
1109         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist:
1110         Likewise.
1111         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
1112         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist:
1113         Likewise.
1114         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist:
1115         Likewise.
1116         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist:
1117         Likewise.
1118         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
1119         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist:
1120         Likewise.
1121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1122         Likewise.
1123         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
1124         Likewise.
1125         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
1126         Likewise.
1127         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1128         Likewise.
1129         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1130         Likewise.
1131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
1132         Likewise.
1133         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1134         Likewise.
1135         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
1136         Likewise.
1137         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist:
1138         Likewise.
1139         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist:
1140         Likewise.
1141         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1142         Likewise.
1143         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist:
1144         Likewise.
1146 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
1148         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1149         (FORCE_FRAME_POINTER): Assign result of alloca to a volatile
1150         variable.
1152 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1154         * sysdeps/mips/mips64/n32/s_fma.c: New file.
1155         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
1157         * sysdeps/unix/sysv/linux/mips/Makefile (abi-n32-condition): Fix
1158         typo.
1160 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
1162         * sysdeps/mips/mips64/libm-test-ulps: Remove sqrt ulps.
1164         * sysdeps/mips/mips32/libm-test-ulps: Regenerate.
1165         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1167 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
1169         * sysdeps/unix/sysv/linux/mips/Makefile [subdir = misc]: Move ABI
1170         settings out of conditional.
1172         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove
1173         __connect_internal alias.
1175         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1176         (FP_TRAPPING_EXCEPTIONS): Define.
1178         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-variants):
1179         Rename to abi-variants.
1180         (syscall-list-includes): Rename to abi-includes.
1181         (syscall-list-o32-options): Rename to abi-o32-options.
1182         (syscall-list-o32-condition): Rename to abi-o32-condition.
1183         (syscall-list-n32-options): Rename to abi-n32-options.
1184         (syscall-list-n32-condition): Rename to abi-n32-condition.
1185         (syscall-list-n64-options): Rename to abi-n64-options.
1186         (syscall-list-n64-condition): Rename to abi-n64-condition.
1187         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1188         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Likewise.
1189         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Likewise.
1191         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Replace
1192         _internal alias by hidden_def.
1194 2012-05-26  Joseph Myers  <joseph@codesourcery.com>
1196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: New
1197         file.
1198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1199         Likewise.
1200         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
1201         Likewise.
1202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
1203         Likewise.
1204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1205         Likewise.
1206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1207         Likewise.
1208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
1209         Likewise.
1210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1211         Likewise.
1213 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1215         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1216         (__ASSUME_32BITUIDS): Remove.
1218 2012-05-23  Steve Ellcey  <sellcey@mips.com>
1220         * sysdeps/unix/sysv/linux/mips/Makefile
1221         (syscall-list-o32-options): Use -D_MIPS_SIM=1.
1222         (syscall-list-n32-options): Use -D_MIPS_SIM=2.
1223         (syscall-list-n64-options): Use -D_MIPS_SIM=3.
1225 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
1227         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_DONTDUMP):
1228         Define.
1229         (MADV_DODUMP): Likewise.
1231 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
1233         * sysdeps/mips/bits/wordsize.h (__WORDSIZE_COMPAT32): Rename to
1234         __WORDSIZE_TIME64_COMPAT32.
1236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Update.
1237         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Update.
1238         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Update.
1240 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
1242         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Move to ...
1243         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: ... here.
1244         (kernel-features.h): Don't include.
1245         [__NR_ftruncate64]: Make code unconditional.
1246         [!__NR_ftruncate64]: Remove conditional code.
1247         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1248         * sysdeps/unix/sysv/linux/mips/truncate64.c: Move to ...
1249         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: ... here.
1250         (kernel-features.h): Don't include.
1251         [__NR_truncate64]: Make code unconditional.
1252         [!__NR_truncate64]: Remove conditional code.
1253         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1254         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1255         Add syscall.
1256         (truncate): Likewise.
1257         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1258         (ftruncate): Remove syscall.
1259         (truncate): Likewise.
1260         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Move to ...
1261         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: ... here.
1262         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Move to ...
1263         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: ... here.
1265 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
1267         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat)
1268         [!__USE_MISC && !__USE_XOPEN2K8]: Declare nanoseconds fields with
1269         type unsigned long and names st_atimensec, st_mtimensec and
1270         st_ctimensec.
1271         (struct stat64) [!__USE_MISC && !__USE_XOPEN2K8]: Likewise.
1273 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
1275         * sysdeps/unix/sysv/linux/mips/pread.c [!__ASSUME_PREAD_SYSCALL]:
1276         Remove conditional code.
1277         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1278         * sysdeps/unix/sysv/linux/mips/pread64.c
1279         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1280         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1281         * sysdeps/unix/sysv/linux/mips/pwrite.c
1282         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1283         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1284         * sysdeps/unix/sysv/linux/mips/pwrite64.c
1285         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1286         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1287         * sysdeps/unix/sysv/linux/mips/sigaction.c
1288         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1289         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1291 2012-05-11  Joseph Myers  <joseph@codesourcery.com>
1293         * sysdeps/mips/dl-lookup.c: Update from generic version.
1295 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
1297         * sysdeps/mips/fpu/libm-test-ulps: Move to ...
1298         * sysdeps/mips/mips32/libm-test-ulps: ... here.
1299         * sysdeps/mips/mips64/n32/libm-test-ulps: Move to ...
1300         * sysdeps/mips/mips64/libm-test-ulps: ... here.
1301         * sysdeps/mips/mips64/n64/libm-test-ulps: Remove file.
1303 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1305         [BZ #14044]
1306         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Copy
1307         from libc version and add symbol versions.
1308         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilis
1309         (GLIBC_2.3.3): Add posix_fadvise64.
1311 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: New file.
1314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1315         Likewise.
1316         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Likewise.
1317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
1318         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Likewise.
1319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Likewise.
1320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
1321         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Likewise.
1322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
1323         Likewise.
1324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Likewise.
1325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Likewise.
1326         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1327         Likewise.
1328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Likewise.
1329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Likewise.
1330         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1331         Likewise.
1332         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1333         Likewise.
1334         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Likewise.
1335         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1336         Likewise.
1337         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: Likewise.
1339         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1340         Likewise.
1341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1342         Likewise.
1343         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1344         Likewise.
1345         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: Likewise.
1346         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1347         Likewise.
1348         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1349         Likewise.
1350         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Likewise.
1351         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1352         Likewise.
1353         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1354         Likewise.
1355         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1357         Likewise.
1358         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Likewise.
1359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Likewise.
1360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist:
1361         Likewise.
1362         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1363         Likewise.
1364         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1365         Likewise.
1366         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Likewise.
1367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1368         Likewise.
1369         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1370         Likewise.
1372         * sysdeps/mips/mips64/memcpy.S: Don't include <endian.h>.  Test
1373         __MIPSEB instead of __BYTE_ORDER.
1374         * sysdeps/mips/mips64/memset.S: Likewise.
1376 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1378         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1379         Change to 2.6.12.
1380         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1382 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1384         * sysdeps/unix/mips/brk.S: Remove file.
1385         * sysdeps/unix/mips/dl-brk.S: Likewise.
1386         * sysdeps/unix/mips/sigreturn.S: Likewise.
1387         * sysdeps/unix/mips/wait.S: Likewise.
1389 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1391         * sysdeps/mips/memcpy.S: Don't include <endian.h>.  Test __MIPSEB
1392         instead of __BYTE_ORDER.
1393         * sysdeps/mips/memset.S: Likewise.
1395         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1396         kernel_rt_sigframe): Use siginfo_t instead of struct siginfo.
1398 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1400         * sysdeps/unix/mips/fork.S: Remove file.
1402 2012-04-24  Mike Frysinger  <vapier@gentoo.org>
1404         * sysdeps/unix/sysv/linux/mips/mips64/configure.in
1405         (ldd_rewrite_script): Change $dest to $dir.
1406         * sysdeps/unix/sysv/linux/mips/mips64/configure: Regenerate.
1408 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
1410         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Include
1411         sysdeps/unix/sysv/linux/arm/readahead.c not
1412         sysdeps/unix/sysv/linux/arm/eabi/readahead.c.
1414 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1416         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define.
1417         (MAP_HUGETLB): Likewise.
1419 2012-03-27  Joseph Myers  <joseph@codesourcery.com>
1421         * sysdeps/mips/elf/start.S: Moved to ...
1422         * sysdeps/mips/start.S: ...here.
1423         * sysdeps/mips/elf/configure.in: Moved to ...
1424         * sysdeps/mips/configure.in: ...here.  Update comment.
1425         * sysdeps/mips/configure: New generated file.
1427 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1429         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include <_itoa.h>
1430         instead of <stdio-common/_itoa.h>.
1432 2012-03-10  Paul Eggert  <eggert@cs.ucla.edu>
1434         [BZ #13673]
1435         * sysdeps/mips/mips64/gmp-mparam.h: Replace FSF snail mail address
1436         with URL.
1438 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
1440         [BZ #13673]
1441         Replace FSF snail mail address with URLs, as per GNU coding standards.
1443 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1445         * sysdeps/unix/sysv/linux/mips/bits/socket_type.h: New file.
1446         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Remove.
1448 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1450         * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not
1451         declare recvmmsg and sendmmsg.
1453 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1455         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t):
1456         Change union tag to pthread_attr_t.  Only define typedef if not
1457         already defined.
1458         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1459         (pthread_attr_t): Change union tag to pthread_attr_t.  Only define
1460         typedef if not already defined.
1462 2012-02-26  Joseph Myers  <joseph@codesourcery.com>
1464         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
1465         siginfo_t struct.  Add forward declaration of pthread_attr_t and
1466         use it in sigevent.
1467         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
1468         pthread_attr_t union.
1470 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
1472         * sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
1473         * sysdeps/unix/sysv/linux/mips/bits/timerfd.h: Likewise.
1474         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Remove.
1475         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1477 2012-02-20  Andreas Schwab  <schwab@linux-m68k.org>
1479         * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
1480         not defined.
1482 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1484         * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,
1485         matching the array in dl-procinfo.c.
1487 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1489         * sysdeps/mips/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1490         * sysdeps/mips/mips64/n32/fpu/libm-test-ulps: Likewise.
1491         * sysdeps/mips/mips64/n64/fpu/libm-test-ulps: Likewise.
1493 2012-02-15  Robert Millan  <rmh@gnu.org>
1495         [BZ #12301]
1496         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__]
1497         [__PIC__] (SYSCALL_ERROR_LABEL): New macro.
1499 2012-02-15  Robert Millan  <rmh@gnu.org>
1501         [BZ #12298]
1502         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Moved to ...
1503         * sysdeps/mips/sys/tas.h: ... here.
1505 2012-02-15  Robert Millan  <rmh@gnu.org>
1507         [BZ #12297]
1508         * sysdeps/mips/dl-machine.h: Fix a comment regarding __start.
1509         * sysdeps/unix/sysv/linux/mips/entry.h: Moved to ...
1510         * sysdeps/unix/mips/entry.h: ... here.
1512 2012-02-15  Robert Millan  <rmh@gnu.org>
1514         [BZ #12193]
1515         * sysdeps/mips/dl-machine.h (DL_PLATFORM_INIT, dl_platform_init):
1516         Define.
1517         * sysdeps/mips/dl-procinfo.c: New file.
1518         * sysdeps/mips/dl-procinfo.h: Likewise.
1520 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
1522         * sysdeps/unix/sysv/linux/mips/bits/signalfd.h: New file.
1523         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: Remove.
1525 2012-02-15  Viju Vincent  <vijuvince@gmail.com>
1527         * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Use locking
1528         around calls to _dl_lookup_symbol_x.
1530 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1532         * sysdeps/unix/sysv/linux/mips/bits/inotify.h: New file.
1533         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Remove.
1535 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1537         * sysdeps/unix/sysv/linux/mips/bits/eventfd.h: New file.
1538         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Remove.
1540 2012-02-10  Joseph Myers  <joseph@codesourcery.com>
1542         * sysdeps/mips/mips32/crti.S: New file, based on compiler output
1543         for sysdeps/generic/initfini.c.
1544         * sysdeps/mips/mips32/crtn.S: Likewise.
1545         * sysdeps/mips/mips64/n32/crti.S: Likewise.
1546         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
1547         * sysdeps/mips/mips64/n64/crti.S: Likewise.
1548         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
1549         * sysdeps/mips/Makefile (CFLAGS-initfini.s): Remove variable.
1550         (CFLAGS-pt-initfini.s): Likewise.
1551         (CPPFLAGS-crti.S, CPPFLAGS-crtn.S, CPPFLAGS-pt-crti.S): Define
1552         variables.
1554 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
1556         * sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals.
1557         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1558         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1559         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1561 2012-01-08  Joseph Myers  <joseph@codesourcery.com>
1563         * sysdeps/mips/bits/fenv.h: Use const instead of __const.
1564         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1565         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1566         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1567         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Likewise.
1568         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1569         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1571 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1573         * sysdeps/mips/nptl/shlib-versions: New.
1575 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1577         * sysdeps/mips/backtrace.c: Use x86_64 version of backtrace.c.
1579 2012-01-04  Tom de Vries  <tom@codesourcery.com>
1581         * sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with
1582         -fno-unwind-tables.
1584 2012-01-03  Tom de Vries  <tom@codesourcery.com>
1586         * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
1587         * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
1589 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1591         * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)
1592         (mips_list_syscalls, $(objpfx)syscall-%.h $(objpfx)syscall-%.d):
1593         Remove.
1594         (syscall-list-variants, syscall-list-includes)
1595         (syscall-list-o32-options, syscall-list-o32-condition)
1596         (syscall-list-n32-options, syscall-list-n32-condition)
1597         (syscall-list-n64-options, syscall-list-n64-condition): Define.
1598         * sysdeps/unix/sysv/linux/mips/configure.in: Don't generate
1599         asm-unistd.h.
1600         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1601         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Remove.
1603 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1605         [BZ #13538]
1606         * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT)
1607         (EPOLLET): Initialize with unsigned values.
1609 2011-12-19  Joseph Myers  <joseph@codesourcery.com>
1611         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
1612         $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h.
1614 2011-11-17  Joseph Myers  <joseph@codesourcery.com>
1616         * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c,
1617         sysdeps/unix/sysv/linux/mips/mips64/n64/ftw64.c: New.
1619 2011-11-11  Joseph Myers  <joseph@codesourcery.com>
1621         * sysdeps/mips/dl-lookup.c: Update from generic version.
1623 2011-10-12  Joseph Myers  <joseph@codesourcery.com>
1625         * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
1626         * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
1627         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias.
1629 2011-10-05  Andreas Schwab  <schwab@redhat.com>
1631         * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela)
1632         (elf_machine_lazy_rel): Add parameter skip_ifunc.
1634 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1636         * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Cast
1637         return value to (struct cmsghdr *).
1639 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1641         * sysdeps/mips/elf/configure.in: Always test for TLS support and
1642         error out in case it is missing.
1643         * sysdeps/mips/elf/configure: Regenerate.
1644         * sysdeps/mips/nptl/tls.h: Remove test for HAVE_TLS_SUPPORT.
1646 2011-09-11  Joseph Myers  <joseph@codesourcery.com>
1648         * sysdeps/mips/dl-machine.h, sysdeps/mips/libc-tls.c,
1649         sysdeps/mips/nptl/tls.h: Don't define or use USE_TLS.
1651 2011-09-06  Joseph Myers  <joseph@codesourcery.com>
1653         [BZ #13109]
1654         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs)
1655         (statfs): New.
1656         * sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c,
1657         sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New.
1659 2011-08-02  Matt Turner  <mattst88@gmail.com>
1661         * sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata.
1663 2011-07-25  Joseph Myers  <joseph@codesourcery.com>
1665         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC):
1666         Define.
1668 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1670         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c,
1671         sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: New.
1673 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1675         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SI_USER): Don't
1676         mention raise in the comment.
1678 2011-05-23  Aurelien Jarno  <aurelien@aurel32.net>
1680         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME):
1681         Add.
1683 2011-05-13  Joseph Myers  <joseph@codesourcery.com>
1685         * sysdeps/mips/dl-lookup.c: Update from generic version.
1687 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
1689         * sysdeps/mips/dl-lookup.c: Update from generic version.
1691 2011-04-11  Joseph Myers  <joseph@codesourcery.com>
1693         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
1695 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1697         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle
1698         to open_by_handle_at.
1700 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1702         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define.
1704 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1706         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct
1707         file_handle and MAX_HANDLE_SZ.  Declare name_to_handle_at and
1708         open_by_handle.  Augment a few comments.
1710 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1712         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Make
1713         cancelable.
1714         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Likewise.
1715         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1716         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Mark
1717         sync_file_range as cancellation point.
1718         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Mark
1719         sync_file_range as cancellation point.
1721 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1723         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add
1724         sync_file_range.
1726 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
1728         * sysdeps/mips/dl-lookup.c: Update from generic version.
1730 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1732         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
1733         MADV_NOHUGEPAGE): Define.
1735 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1737         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
1738         PF_CAIF, PF_ALG): Define.
1740 2010-12-30  Joseph Myers  <joseph@codesourcery.com>
1742         * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if
1743         NO_CTORS_DTORS_SECTIONS is defined.
1744         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1746 2010-12-21  Joseph Myers  <joseph@codesourcery.com>
1748         * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1750 2010-12-06  Matt Turner  <mattst88@gmail.com>
1752         * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
1754 2010-12-06  Joseph Myers  <joseph@codesourcery.com>
1756         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1757         Change to 2.4.1.
1758         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1760 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
1762         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1763         sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list,
1764         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries
1765         for fanotify_mark.
1767 2010-10-11  Joseph Myers  <joseph@codesourcery.com>
1769         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
1770         libm_hidden_def.
1771         * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
1773 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1775         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1776         (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
1778 2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
1780         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
1781         jump delay slot.
1782         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
1784 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1786         * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
1788 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1790         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
1791         struct statfs64): Add f_flags field.
1793 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1795         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
1796         Define.
1798 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1800         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
1801         and prlimit64.
1802         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1803         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
1804         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
1805         prlimit64 syscall.
1807 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
1809         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
1810         F_GETPIPE_SZ): Define.
1812 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
1814         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
1815         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
1817 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
1819         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
1821 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
1823         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
1824         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
1825         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1826         Define.
1828 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
1830         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
1831         MSG_WAITFORONE.
1833 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
1835         * sysdeps/mips/dl-lookup.c: Update from generic version.
1837 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
1839         [BZ #11291]
1840         * sysdeps/mips/bits/atomic.h
1841         (__arch_compare_and_exchange_xxx_32_int,
1842         __arch_compare_and_exchange_xxx_64_int,
1843         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
1844         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
1845         Specify *mem as asm output as well as input.
1847 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
1849         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
1851 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
1853         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
1854         _dl_runtime_pltresolve): Calculate offset from start of function
1855         to .cpload instead of hardcoding instruction size.
1857 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1859         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
1860         problem.
1862 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1864         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
1865         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
1867 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
1869         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
1870         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
1871         XPG7.
1872         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
1873         fcntl.h.
1875 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1877         [BZ #11093]
1878         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
1879         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
1881 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1883         * sysdeps/mips/dl-lookup.c: Update from generic version.
1885 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
1887         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
1888         O_DSYNC to match 2.6.33+ kernels.
1890 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
1892         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
1893         declare recvmmsg.
1895 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1897         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1898         (posix_fadvise): Remove.
1899         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
1900         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
1901         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
1903 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1905         * sysdeps/mips/dl-lookup.c: Update from generic version.
1907 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
1909         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
1910         for timestamps also if __USE_XOPEN2K8.
1912 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
1914         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
1915         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
1917 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
1919         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
1920         names of parameters of sync_file_range.
1922 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1924         [BZ #10972]
1925         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
1926         constants from recent kernels.
1928 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1930         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
1931         not already defined.
1933 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
1935         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
1936         F_GETOWN_EX): Update values.
1938 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
1940         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
1941         of last two arguments when -D_FILE_OFFSET_BITS=64.
1943 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
1945         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
1946         f_owner_ex.
1948 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
1950         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
1951         and F_GETOWN_EX.
1953 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
1955         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1956         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
1957         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1958         (__SYSCALL_CLOBBERS): Likewise.
1959         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1960         (__SYSCALL_CLOBBERS): Likewise.
1962 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
1964         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
1965         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
1966         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
1967         variable for env.  Use expansion of CHECK_SP macro for check.
1968         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
1970 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
1972         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
1973         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
1975 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
1977         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
1978         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
1980 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
1982         * sysdeps/mips/do-lookup.h: Remove.
1983         * sysdeps/mips/dl-lookup.c: Update from generic version, with
1984         non-PIC handling integrated.
1986 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
1988         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
1989         and AF_IEEE802154.
1991 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1993         * sysdeps/mips/____longjmp_chk.c: New file.
1994         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
1995         undefine __longjmp.
1996         * sysdeps/mips64/__longjmp.c: Likewise.
1998 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
2000         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
2001         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
2002         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
2003         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
2005 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
2007         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
2008         fallocate64@@GLIBC_2.11.
2010 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
2012         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
2013         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
2015 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
2017         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
2018         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
2019         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
2020         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
2021         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
2022         Update comment.
2023         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
2024         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
2025         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
2026         Add ucontext_i.sym.
2028 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
2030         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
2031         __ASSUME_PWRITEV): Don't define here.
2033 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
2035         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
2037 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
2039         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
2040         numbers.
2041         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
2042         Define.
2043         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
2044         preadv and pwritev.
2046 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
2048         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
2049         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
2051 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
2053         [BZ #7074]
2054         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
2055         Fix the condition used to annotate n32 objects.
2057 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
2059         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
2060         Change parameters and use next_line.
2062 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
2064         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
2065         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2066         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2068 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
2070         * sysdeps/mips/bits/link.h: Uglify function parameter names.
2071         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
2072         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
2073         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
2074         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
2076 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
2078         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
2079         fallocate{,64}.
2081 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
2083         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
2084         UTIME_OMIT only with __USE_ATFILE.
2086 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
2088         [BZ #7040]
2089         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
2090         inotify_rm_watch should have type int.
2092 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
2094         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
2096 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
2097             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2099         PR glibc/1048
2100         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
2101         variable page size for MIPS.
2102         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
2103         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
2104         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
2106 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
2108         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
2109         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
2110         -D_GNU_SOURCE.
2112 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
2114         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
2115         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
2117 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
2119         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
2120         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
2121         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
2122         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
2124 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
2126         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
2127         Make available only for __USE_GNU.
2129 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
2131         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
2132         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
2134 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
2136         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
2137         __THROW vs. __nonnull order for C++.
2139 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
2141         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
2142         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
2143         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
2145 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
2146             Daniel Jacobowitz  <dan@codesourcery.com>
2147             Richard Sandiford  <rdsandiford@googlemail.com>
2149         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
2150         * sysdeps/mips/dl-lookup.c: New.
2151         * sysdeps/mips/do-lookup.h: New.
2152         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
2153         definition.
2154         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
2155         if needed.
2156         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
2157         (elf_machine_type_class): Likewise.
2158         (ELF_MACHINE_PLT_REL): Define.
2159         (elf_machine_fixup_plt): New.
2160         (elf_machine_plt_value): New.
2161         (elf_machine_reloc): Handle jump slot and copy relocations.
2162         (elf_machine_lazy_rel): Point relocation place at PLT if
2163         required.
2164         (RESOLVE_GOTSYM): Take a relocation type argument.
2165         (elf_machine_got_rel): Bind lazy stubs directly to their target if
2166         !lazy.  Skip lazy binding for PLT symbols.
2167         (elf_machine_runtime_setup): Fill in .got.plt header.
2168         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
2169         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
2170         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
2171         (_dl_runtime_pltresolve): New.
2172         * sysdeps/mips/bits/linkmap.h: New file.
2173         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
2174         64-bit versions.
2176         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
2177         Delete definition.
2178         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
2179         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
2180         (PSEUDO): Use them.  Move outside __PIC__.
2181         (PSEUDO_JMP): New.
2182         (CENABLE, CDISABLE): Use it.
2184 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2186         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
2187         to epoll_create1.
2189 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2191         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
2192         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
2193         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
2194         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
2195         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
2196         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
2197         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
2199 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2201         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
2202         volatile.
2204 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
2206         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
2207         type.
2209 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
2211         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
2212         (SOCK_DCCP): Define.
2214 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
2216         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
2217         RUSAGE_THREAD and RUSAGE_LWP.
2219 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
2221         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
2222         shmid_ds.
2224 2008-04-21  Khem Raj  <kraj@mvista.com>
2226         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
2228 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
2230         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
2231         truncate and ftruncate systems calls.
2232         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
2233         empty file.
2234         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
2236 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
2238         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
2239         ARG_MAX if <linux/limits.h> has defined it.
2241 2008-03-28  Robin Randhawa  <robin@mips.com>
2243         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
2244         barriers to enforce strict ordering on weakly ordered systems.
2246 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
2247             Daniel Jacobowitz  <dan@codesourcery.com>
2249         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
2250         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2251         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2253 2008-03-09  Andreas Jaeger  <aj@suse.de>
2255         [BZ #5753]
2256         * sysdeps/mips/ieee754.h: Use protected namespace
2257         __BIG_ENDIAN/__LITTLE_ENDIAN.
2258         Patch by Aurelien Jarno <aurelien@aurel32.net>.
2260 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
2262         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
2263         Reorganize to match other architectures.  Replace _timer._timer1
2264         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
2265         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
2266         (si_timerid, si_overrun): Define.
2267         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
2268         (__pthread_attr_s): Remove declaration.
2269         (struct sigevent): Remove XXX.  Add _tid.
2271 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
2273         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
2275 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
2277         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
2278         type and __THROW marker of splice, vmsplice, and tee.
2280 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
2282         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
2283         LLL_PRIVATE argument to lll_futex_wake.
2284         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
2285         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
2286         comment.
2287         (PF_IUCV, PF_RXRPC): Define.
2288         (PF_MAX): Update.
2289         (AF_IUCV, AF_RXRPC): Define.
2290         (MSG_CMSG_CLOEXEC): Define.
2291         (_EXTERN_INLINE): Define to __extern_inline.
2292         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
2293         UTIME_OMIT): Define.
2294         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
2295         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2296         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2297         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
2298         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
2299         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
2300         LLL_LOCK_*.  Include <kernel-features.h>.
2301         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
2302         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
2303         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
2304         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
2305         lll_futex_wait.
2306         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
2307         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
2308         private arguments.
2309         (__lll_robust_trylock): Convert to macro.
2310         (__lll_robust_lock_wait): Add private argument.
2311         (__lll_lock_wait_private, __lll_lock_wait): Declare.
2312         (__lll_lock): Convert to macro.  Take private argument.
2313         (__lll_cond_lock): Likewise.
2314         (lll_lock, lll_cond_lock): Take private arguments.
2315         (__lll_robust_lock): Take private argument.  Convert to macro.
2316         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
2317         lll_robust_cond_lock): Take private arguments.
2318         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
2319         arguments.
2320         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
2321         (lll_timedlock, lll_robust_timedlock): Take private arguments.
2322         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
2323         private arguments.
2324         (lll_unlock, lll_robust_unlock): Take private arguments.
2325         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
2326         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
2327         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
2328         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
2329         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
2330         lll_cond_wake, lll_cond_broadcast): Remove.
2331         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
2332         to __extern_inline.
2334 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
2336         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
2337         New macros for the (n)64 and n32 ABIs.
2338         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
2340 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
2342         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
2343         Define __WORDSIZE_COMPAT32 as 1.
2345 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
2347         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
2348         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
2349         PTHREAD_STACK_MIN.
2351 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
2353         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
2355         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
2356         Delete.
2358 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
2360         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
2361         (internal_syscall1, internal_syscall2, internal_syscall3,
2362         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
2364 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
2366         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
2367         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
2368         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
2369         THREAD_GSCOPE_WAIT): Define.
2370         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
2371         (FUTEX_PRIVATE_FLAG): Define.
2372         (lll_unlock_wake_cb): Delete prototype.
2373         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
2374         <endian.h>.
2375         (pthread_rwlock_t): Shrink __flags and add __shared.
2377 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2379         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
2380         (posix_fadvise): Fix high word of len argument.
2382 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2384         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2385         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
2386         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
2387         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
2388         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
2389         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
2391 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
2393         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
2394         * sysdeps/mips/mips64/n64/Implies: Likewise.
2395         * sysdeps/mips/mips64/soft-fp/Makefile: New.
2396         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
2397         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
2398         <fpu_control.h>.  Use hardware exception and rounding mode
2399         settings.
2401 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
2403         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
2404         r_info argument to ElfW(Addr).
2406 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
2408         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
2410 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
2411             Daniel Jacobowitz  <dan@codesourcery.com>
2413         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
2414         shmctl, and semctl.
2415         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
2416         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
2417         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
2419 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2421         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
2422         PTR_DEMANGLE): Define.
2423         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
2424         PTR_DEMANGLE): Define.
2425         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
2426         PTR_DEMANGLE): Define.
2428 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2430         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2431         (cfi_same_value): Delete definition.
2433 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
2435         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
2436         (elf_machine_reloc): New function, retaining the body of
2437         elf_machine_rel.  Take the reloc's r_info field as an argument,
2438         not the reloc itself.  Add extra r_addend and inplace_p arguments.
2439         When inplace_p is false, use r_addend as the addend, not the contents
2440         of the relocation field.  Hoist the conversion of reloc_addr to
2441         "ELFW(Addr) *".  Don't try to apply TLS relocations against
2442         undefined symbols.  Add R_MIPS_GLOB_DAT support.
2443         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
2444         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
2445         to ElfW(Rela).
2447 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
2449         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
2450         multiple inclusion guard.
2451         * sysdeps/mips/elf/ldsodefs.h: Delete file.
2453 2007-01-04  Thiemo Seufer  <ths@networkno.de>
2455         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
2456         to match the kernel.
2458 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
2460         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
2461         (RTLD_SINGLE_THREAD_P): Define.
2462         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
2464 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
2466         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
2467         prototype.
2469 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
2471         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
2472         code.
2473         (__xstat_conv): Use memset to clear padding arrays.  Check for
2474         overflow.
2475         (__xstat64_conv): Use memset to clear padding arrays.
2476         (__xstat32_conv): New function.
2477         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
2478         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
2480 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
2482         * sysdeps/mips/fpu_control.h: If soft-float, don't use
2483         floating-point registers.
2484         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
2485         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
2486         Likewise.
2488 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
2490         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
2491         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
2493 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2495         * sysdeps/mips/mips64/n32/libm-test-ulps,
2496         sysdeps/mips/mips64/n64/libm-test-ulps: New.
2498 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2500         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
2501         defined, include the named file.
2503 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
2505         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
2506         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
2507         Define.
2509 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2511         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
2512         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
2513         types.
2515 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2517         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2518         Don't use struct timespec.
2519         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
2520         __xstat64_conv): Copy individual timespec fields.
2522 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
2524         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
2526 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2528         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
2529         * sysdeps/mips/fpu/fesetround.c: Likewise.
2531 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
2532             Daniel Jacobowitz  <dan@codesourcery.com>
2534         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
2535         dump sc_cause, sc_status or sc_badvaddr.
2536         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
2537         structure definitions after DSP kernel changes.
2538         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
2539         after the same DSP changes.
2541 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2543         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
2544         st_atim, st_mtim and st_ctim interface.
2545         (struct stat64): Likewise.
2546         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2547         Replace st_atime and its padding field with st_atim.  Likewise
2548         st_mtime/st_mtim and st_ctime/st_ctim.
2549         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
2550         after above changes.
2551         (__xstat64_conv): Likewise.
2553 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2555         * sysdeps/mips/ldsodefs.h: New file.
2556         * sysdeps/mips/tst-audit.h: New file.
2558 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
2560         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
2561         for consistency with other ports.
2562         (MADV_REMOVE): Correct value.
2563         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
2564         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
2565         POSIX_MADV_DONTNEED): Define.
2567 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
2569         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
2570         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
2571         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
2572         and SYNC_FILE_RANGE_WAIT_AFTER.
2573         Declare sync_file_range, vmsplice, splice and tee.
2575 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
2577         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
2578         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
2579         prototype.
2581 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
2583         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
2584         Define.
2586 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
2588         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
2589         typo.
2591 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2593         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
2594         i386/fork.c.
2596 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2598         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
2599         libc_cv_localedir, libdir, arch_minimum_kernel, and
2600         libc_cv_gcc_unwind_find_fde.
2601         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
2602         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2603         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
2605 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
2607         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2608         (__pthread_list_t, __pthread_slist_t): New typedefs.
2609         (pthread_mutex_t): Replace __next and __prev fields with __list.
2610         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
2611         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
2612         (lll_futex_wake_unlock): Define.
2613         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
2614         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
2615         lll_robust_mutex_unlock): New macros.
2616         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
2617         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
2618         vfork.S.
2619         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
2621 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2623         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
2624         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
2626 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2628         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2629         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2630         (INTERNAL_SYSCALL_NCS): New.
2631         (internal_syscall0, internal_syscall1, internal_syscall2,
2632         internal_syscall3, internal_syscall4, internal_syscall5,
2633         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2634         Use them.  Correct types for registers.
2635         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2636         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2637         (INTERNAL_SYSCALL_NCS): New.
2638         (internal_syscall0, internal_syscall1, internal_syscall2,
2639         internal_syscall3, internal_syscall4, internal_syscall5,
2640         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2641         Use them.
2642         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
2643         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
2644         points.
2645         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
2646         Use Elf(Addr) for TLS relocation targets.
2647         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
2648         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
2649         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
2650         futexp to long for n64.
2651         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
2653 2006-02-20  Roland McGrath  <roland@redhat.com>
2655         * sysdeps/mips/shlib-versions: New file.
2656         * sysdeps/mips/preconfigure: New file.
2657         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.