Add BZ #15640 to resolved bug list in NEWS.
[glibc.git] / ports / ChangeLog.mips
blob017b2c27eb4d982c7d054e66468de5d7ae149cb7
1 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
2             Thomas Schwinge  <thomas@codesourcery.com>
4         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NAN2008): New macro.
5         (elf_machine_matches_host): Reject objects that use a different
6         NaN encoding convention.
7         * sysdeps/mips/fpu_control.h: Document IEEE 754-2008 feature
8         control bits.
9         (_FPU_ABS2008, _FPU_NAN2008): New macros.
10         (_FPU_RESERVED): Clear bits #20 and #19.
11         (_FPU_DEFAULT) [__mips_nan2008]: Set bit #18.
12         (_FPU_IEEE) [__mips_nan2008]: Likewise.
13         * sysdeps/mips/math_private.h [__mips_nan2008]
14         (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Don't define.
15         * sysdeps/mips/bits/nan.h [__mips_nan2008] (__qnan_bytes): Define
16         appropriately.
17         * sysdeps/mips/mips64/soft-fp/sfp-machine.h [__mips_nan2008]
18         (_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): Define 2008-NaN
19         payloads.
20         (_FP_QNANNEGATEDP): Set to 0.
21         * sysdeps/mips/soft-fp/sfp-machine.h [__mips_nan2008]
22         (_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): Define 2008-NaN
23         payloads.
24         (_FP_QNANNEGATEDP): Set to 0.
25         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
26         Define 2008 NaN encoding values.
27         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
28         Handle 2008-NaN libraries.
29         * sysdeps/mips/shlib-versions [HAVE_MIPS_NAN2008]: Set
30         ld=ld-linux-mipsn8.so.1.
31         * sysdeps/mips/configure.in: Define HAVE_MIPS_NAN2008 if the
32         2008 NaN encoding is used.
33         * sysdeps/unix/sysv/linux/mips/Makefile (abi-variants): Add
34         2008-NaN ABI variants.
35         (abi-o32_soft-options, abi-o32_soft-condition): Update with the
36         __mips_nan2008 macro.
37         (abi-o32_hard-options, abi-o32_hard-condition): Likewise.
38         (abi-n32_soft-options, abi-n32_soft-condition): Likewise.
39         (abi-n32_hard-options, abi-n32_hard-condition): Likewise.
40         (abi-n64_soft-options, abi-n64_soft-condition): Likewise.
41         (abi-n64_hard-options, abi-n64_hard-condition): Likewise.
42         (abi-o32_soft-ld-soname, abi-o32_hard-ld-soname): New macros.
43         (abi-n32_soft-ld-soname, abi-n32_hard-ld-soname): Likewise.
44         (abi-n64_soft-ld-soname, abi-n64_hard-ld-soname): Likewise.
45         (abi-o32_soft_2008-options): Likewise.
46         (abi-o32_soft_2008-condition): Likewise.
47         (abi-o32_hard_2008-options): Likewise.
48         (abi-o32_hard_2008-condition): Likewise.
49         (abi-n32_soft_2008-options): Likewise.
50         (abi-n32_soft_2008-condition): Likewise.
51         (abi-n32_hard_2008-options): Likewise.
52         (abi-n32_hard_2008-condition): Likewise.
53         (abi-n64_soft_2008-options): Likewise.
54         (abi-n64_soft_2008-condition): Likewise.
55         (abi-n64_hard_2008-options): Likewise.
56         (abi-n64_hard_2008-condition): Likewise.
57         (abi-o32_soft_2008-ld-soname): Likewise.
58         (abi-o32_hard_2008-ld-soname): Likewise.
59         (abi-n32_soft_2008-ld-soname): Likewise.
60         (abi-n32_hard_2008-ld-soname): Likewise.
61         (abi-n64_soft_2008-ld-soname): Likewise.
62         (abi-n64_hard_2008-ld-soname): Likewise.
63         * sysdeps/unix/sysv/linux/mips/configure.in: Include the NaN
64         encoding selection in default-abi.  Set arch_minimum_kernel to
65         10.0.0 if 2008 NaN encoding is used.
66         * sysdeps/mips/configure: Regenerate.
67         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
69 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
71         * sysdeps/mips/memcpy.S: Fix then/than typos.
73 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
75         * sysdeps/mips/memcpy.S: Fix typos.
77 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
79         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
80         Use ELFOSABI_GNU instead of ELFOSABI_LINUX.
82 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
84         * sysdeps/mips/sys/asm.h: Fix typos.
86 2013-08-22  Maciej W. Rozycki  <macro@codesourcery.com>
88         * sysdeps/mips/fpu_control.h: Document bits reserved for
89         architecture implementers.
90         (_FPU_RESERVED): Clear bit #21.
91         * sysdeps/mips/fpu/fedisblxcpt.c (fedisableexcept): Don't clear
92         reserved bits.
93         * sysdeps/mips/fpu/feenablxcpt.c (feenableexcept): Likewise.
95 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
97         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
98         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
100         [BZ #13304]
101         * sysdeps/mips/ieee754/s_fma.c: New file.
102         * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
103         * sysdeps/mips/ieee754/s_fmal.c: Likewise.
104         * sysdeps/mips/mips32/Implies: Add mips/soft-fp.
105         * sysdeps/mips/mips64/n32/s_fma.c: Remove file.
106         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
107         * sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_MUL_MEAT_DW_S):
108         New macro.
109         (_FP_MUL_MEAT_DW_D): Likewise.
110         (_FP_MUL_MEAT_DW_Q): Likewise.
111         * sysdeps/mips/soft-fp/sfp-machine.h (_FP_MUL_MEAT_DW_S): New
112         macro.
113         (_FP_MUL_MEAT_DW_D): Likewise.
114         (_FP_MUL_MEAT_DW_Q): Likewise.
116 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
118         * sysdeps/mips/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
119         to macro prototype for AT_HWCAP2 support.
121 2013-06-27  Maciej W. Rozycki  <macro@codesourcery.com>
123         * sysdeps/unix/sysv/linux/mips/dl-static.c: Do not include
124         <bits/libc-lock.h>.
125         (_dl_static_lock): Remove variable.
126         (_dl_static_init): Remove _dl_static_lock locking.
128 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
130         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
131         Update.
132         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
133         Likewise.
134         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
135         Likewise.
137 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
139         [BZ #14909]
140         * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
141         Rename __fpc_csr field to __glibc_reserved1.
142         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux) [__mips_hard_float]:
143         Do not set __fpc_csr.
144         * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux)
145         [__mips_hard_float]: Likewise.
146         * sysdeps/mips/__longjmp.c (____longjmp) [__mips_hard_float]: Do
147         not use __fpc_csr.
148         * sysdeps/mips/mips64/__longjmp.c (__longjmp) [__mips_hard_float]:
149         Likewise.
151         * sysdeps/mips/math-tests.h: New file.
153 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
155         * sysdeps/mips/fpu/fgetexcptflg.c: Remove trailing whitespace.
156         * sysdeps/mips/fpu/fraiseexcpt.c: Likewise.
157         * sysdeps/mips/memset.S: Likewise.
158         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
159         * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
160         * sysdeps/mips/mips64/memset.S: Likewise.
161         * sysdeps/mips/mips64/setjmp.S: Likewise.
162         * sysdeps/mips/start.S: Likewise.
163         * sysdeps/unix/mips/sysdep.S: Likewise.
164         * sysdeps/unix/sysv/linux/mips/dl-static.c: Likewise.
165         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Likewise.
167 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
169         [BZ #15465]
170         * sysdeps/mips/dl-lookup.c (do_lookup_x): Use DSO_FILENAME.
171         (add_dependency): Likewise.
172         (_dl_lookup_symbol_x): Likewise.
173         (_dl_debug_bindings): Likewise.
174         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Use
175         RTLD_PROGNAME.
177 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
179         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add
180         si_addr_lsb to _sifields.sifault.
181         (si_addr_lsb): Define new macro.
182         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
184 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
186         * sysdeps/mips/mips32/libm-test-ulps: Update test names.
187         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
189 2013-05-21  Joseph Myers  <joseph@codesourcery.com>
191         [BZ #15506]
192         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
193         [!__PIC__] (PSEUDO): Undefine and redefine.
194         (PSEUDO_END): Undefine and redefine unconditionally.
195         [!__PIC__] (STK_PAD): Define to 0.
196         [!__PIC__] (STKOFF_GP): Do not define.
197         [!__PIC__] (STKSPACE): Define to (STKOFF_SVMSK + SZREG).
198         (PSEUDO_JMP): Define depending on [__PIC__].
199         (CENABLE): Use PSEUDO_JMP in all definitions.
200         (CDISABLE): Likewise.
201         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
202         (SYSCALL_ERROR_LABEL): Define unconditionally.
203         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
204         (SYSCALL_ERROR_LABEL): Define unconditionally.
206 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
208         * sysdeps/mips/mips32/libm-test-ulps: Update names of sincos
209         tests.
210         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
212 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
214         [BZ #15442]
215         * sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
216         New macro.
217         (_FP_NANFRAC_S): Don't set the quiet bit.
218         (_FP_NANFRAC_D): Likewise.
219         (_FP_NANFRAC_Q): Likewise.
220         * sysdeps/mips/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): New
221         macro.
222         (_FP_NANFRAC_S): Don't set the quiet bit.
223         (_FP_NANFRAC_D): Likewise.
224         (_FP_NANFRAC_Q): Likewise.
226 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
228         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: Add missing
229         #include <stdint.h> due to uint64_t or uint32_t usage.
230         * sysdeps/mips/bits/atomic.h: Likewise.
232 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
234         * sysdeps/mips/math_private.h: New file.
236 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
238         * sysdeps/unix/sysv/linux/mips/configure.in (default-abi): Set
239         using LIBC_CONFIG_VAR.
240         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
241         * sysdeps/unix/sysv/linux/mips/Makefile: Do not include
242         default-abi.make.
244 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
246         * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
247         (MAP_ANONYMOUS): Don't define.
249 2013-03-06  Andreas Jaeger  <aj@suse.de>
251         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines
252         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
253         (__MAP_ANONYMOUS): Define.
255         * sysdeps/unix/sysv/linux/mips/bits/msq.h (MSG_COPY): Define.
257 2013-02-27  Chung-Lin Tang  <cltang@codesourcery.com>
258             Maciej W. Rozycki  <macro@codesourcery.com>
259             Maxim Kuvyrkov  <maxim@codesourcery.com>
261         * sysdeps/mips/abort-instr.h (ABORT_INSTRUCTION) [__mips16]:
262         New macro.
263         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Add
264         MIPS16 version of assembly code.
265         (RTLD_START) [__mips16]: New macro.
266         * sysdeps/mips/fpu_control.h (__mips_fpu_getcw): New prototype.
267         (__mips_fpu_setcw): Likewise.
268         (_FPU_GETCW) [__mips16]: New macro.
269         (_FPU_SETCW) [__mips16]: Likewise.
270         * sysdeps/mips/machine-gmon.h (MCOUNT): Add `.set nomips16'.
271         * sysdeps/mips/tls-macros.h (LOAD_GP) [__mips16]: New macro.
272         (TLS_GD, TLS_LD, TLS_IE, TLS_LE) [__mips16]: Likewise.
273         * sysdeps/mips/bits/atomic.h: Also use __atomic_* builtins with
274         GCC 4.7 in MIPS16 code.
275         (atomic_compare_and_exchange_val_acq) [__mips16]: New macro.
276         (atomic_compare_and_exchange_bool_acq) [__mips16]: Likewise.
277         (atomic_exchange_acq) [__mips16]: Likewise.
278         (atomic_exchange_and_add) [__mips16]: Likewise.
279         (atomic_bit_test_set) [__mips16]: Likewise.
280         (atomic_and, atomic_and_val) [__mips16]: Likewise.
281         (atomic_or, atomic_or_val) [__mips16]: Likewise.
282         (atomic_full_barrier) [__mips16]: Likewise.
283         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER) [__mips16]:
284         Likewise.
285         * sysdeps/mips/sys/tas.h (_test_and_set): Add `__nomips16__'
286         attribute.
287         * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO): Add
288         `.set nomips16'.
289         (PSEUDO_ERRVAL): Likewise.
290         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Likewise.
291         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
292         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
293         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
294         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS) [__mips16]: New macros.
295         (INTERNAL_SYSCALL_MIPS16) [__mips16]: Likewise.
296         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h:
297         New file.
298         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO):
299         Add `.set nomips16'.
300         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
301         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
302         * sysdeps/mips/memset.S (memset): Likewise.
303         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
304         * sysdeps/mips/start.S (ENTRY_POINT) [__mips16]: New function.
305         * sysdeps/mips/mips32/crti.S: Add `.set nomips16'.
306         * sysdeps/mips/mips32/crtn.S: Likewise.
307         * sysdeps/mips/mips64/n32/crti.S: Likewise.
308         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
309         * sysdeps/mips/mips64/n64/crti.S: Likewise.
310         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
311         * sysdeps/unix/mips/sysdep.S: Likewise.
312         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
313         * sysdeps/unix/sysv/linux/mips/getcontext.S: Likewise.
314         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
315         * sysdeps/unix/sysv/linux/mips/setcontext.S: Likewise.
316         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
317         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
318         * sysdeps/mips/__longjmp.c (__longjmp): Rename function to...
319         (____longjmp): ... this.  Make static and add `nomips16'
320         attribute.
321         (__longjmp): New alias.
322         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve) [__mips16]:
323         New function.
324         (_dl_runtime_pltresolve): Likewise.
325         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Add `nomips16'
326         attribute.
327         * sysdeps/mips/fpu/e_sqrt.c (__ieee754_sqrt): Likewise.
328         * sysdeps/mips/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise.
329         * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Rewrite in terms
330         of INTERNAL_SYSCALL.
331         * sysdeps/mips/mips32/fpu/fpu_control.c: New file.
332         * sysdeps/mips/mips32/mips16/add_n.c: New file.
333         * sysdeps/mips/mips32/mips16/addmul_1.c: New file.
334         * sysdeps/mips/mips32/mips16/lshift.c: New file.
335         * sysdeps/mips/mips32/mips16/mul_1.c: New file.
336         * sysdeps/mips/mips32/mips16/rshift.c: New file.
337         * sysdeps/mips/mips32/mips16/sub_n.c: New file.
338         * sysdeps/mips/mips32/mips16/submul_1.c: New file.
339         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c:
340         New file.
341         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c:
342         New file.
343         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c:
344         New file.
345         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c:
346         New file.
347         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c:
348         New file.
349         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
350         New file.
351         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
352         New file.
353         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
354         New file.
355         * sysdeps/mips/mips32/fpu/Versions: New file.
356         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions: New file.
357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: New
358         file.
359         * sysdeps/mips/mips32/mips16/fpu/Makefile: New file.
360         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile: New file.
361         * sysdeps/mips/preconfigure: Handle o32 MIPS16 compilation.
363 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
365         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
366         __attribute__ ((unused)) to __attribute__ ((__unused__)).
368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Sort
369         properly.
371         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
372         __attribute_used__ to __attribute__ ((unused)).
374         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Add
375         __attribute_used__.
377         * sysdeps/mips/bits/nan.h: Align to generic IEEE 754 file.
379 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
381         [BZ #14920]
382         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
383         (FUTEX_WAIT_REQUEUE_PI): Define.
384         (FUTEX_CMP_REQUEUE_PI): Likewise.
385         (lll_futex_wait_requeue_pi): Likewise.
386         (lll_futex_timed_wait_requeue_pi): Likewise.
387         (lll_futex_cmp_requeue_pi): Likewise.
389 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
392         __cxa_thread_atexit_impl.
393         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
394         Likewise.
395         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
396         Likewise.
398 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
400         [BZ #13550]
401         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c (__fxstat64): Do
402         not use __ptrvalue.
403         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c (__fxstatat64):
404         Likewise.
405         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c (__lxstat64):
406         Likewise.
407         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c (__xstat64):
408         Likewise.
409         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
410         Likewise.
412 2013-02-11  Joseph Myers  <joseph@codesourcery.com>
414         * sysdeps/mips/include/sys/asm.h: New file.
415         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use SETUP_GP64_REG
416         and RESTORE_GP64_REG.
417         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
418         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
419         * sysdeps/mips/sys/asm.h (__mips_cfi_startproc): Define to empty.
420         (__mips_cfi_endproc): Likewise.
421         (LEAF): Use __mips_cfi_startproc.
422         (NESTED): Likewise.
423         (END): Use __mips_cfi_endproc.
424         (EXPORT): Use __mips_cfi_startproc.
425         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Add CFI information
426         for error-handling code in both definitions.
427         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
428         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
429         * sysdeps/unix/mips/sysdep.h (ENTRY): Use cfi_startproc.
430         (END): Use cfi_endproc.
431         (PSEUDO_END): Likewise.
432         (PSEUDO_END_NOERRNO): Likewise.
433         (PSEUDO_END_ERRVAL): Likewise.
434         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Add CFI
435         information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
436         * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext):
437         Likewise.
438         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
439         Likewise.
440         * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
441         SETUP_GP64_REG and RESTORE_GP64_REG.
442         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
443         [(!NOT_IN_libc || IS_IN_libpthread || IS_IN_librt) && __PIC__]
444         (PSEUDO): Use cfi_endproc before ENTRY.
445         * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Add CFI
446         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
447         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h [(!NOT_IN_libc
448         || IS_IN_libpthread || IS_IN_librt) && __PIC__] (PSEUDO): Use
449         cfi_endproc before ENTRY.
450         * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext): Add
451         CFI information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
452         * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
453         Likewise.
454         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Add CFI
455         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
457 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
459         [BZ #13550]
460         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: Don't include
461         <bp-checks.h>.
462         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
463         (__libc_pread): Don't use CHECK_N.
464         * sysdeps/unix/sysv/linux/mips/pread64.c: Don't include
465         <bp-checks.h>.
466         (__libc_pread64): Don't use CHECK_N.
467         * sysdeps/unix/sysv/linux/mips/pwrite.c: Don't include
468         <bp-checks.h>.
469         (__libc_pwrite): Don't use CHECK_N.
470         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Don't include
471         <bp-checks.h>.
472         (__libc_pwrite64): Don't use CHECK_N.
474         * sysdeps/mips/add_n.S (__mpn_add_n): Use END.
475         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
476         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
477         * sysdeps/mips/mips64/add_n.S (__mpn_add_n): Use ENTRY and END.
478         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Likewise.
479         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use END.
480         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
481         * sysdeps/mips/mips64/lshift.S (__mpn_lshift): Use ENTRY and END.
482         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Likewise.
483         * sysdeps/mips/mips64/rshift.S (__mpn_rshift): Likewise.
484         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Use END.
485         * sysdeps/mips/mips64/sub_n.S (__mpn_sub_n): Use ENTRY and END.
486         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Likewise.
487         * sysdeps/mips/setjmp.S (__sigsetjmp): Use END.
489         [BZ #13550]
490         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Do not include
491         <bp-checks.h>.
492         (__msgctl): Do not use CHECK_1.
493         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Do not include
494         <bp-checks.h>.
495         (__shmctl): Do not use CHECK_1.
496         * sysdeps/unix/sysv/linux/mips/ustat.c: Do not include
497         <bp-checks.h>.
498         (ustat): Do not use CHECK_1.
500 2013-02-05  Maciej W. Rozycki  <macro@codesourcery.com>
502         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Add a missing
503         space in asm register specifiers throughout.
504         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
505         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
507         [BZ #15054]
508         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (MOVE32):
509         New macro.
510         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
511         restart convention.
512         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
513         convention.
514         (internal_syscall0, internal_syscall1): Likewise.
515         (internal_syscall2, internal_syscall3): Likewise.
516         (internal_syscall4, internal_syscall5): Likewise.
517         (internal_syscall6, internal_syscall7): Likewise.
518         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (MOVE32):
519         New macro.
520         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
521         restart convention.
522         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
523         convention.
524         (internal_syscall0, internal_syscall1): Likewise.
525         (internal_syscall2, internal_syscall3): Likewise.
526         (internal_syscall4, internal_syscall5): Likewise.
527         (internal_syscall6): Likewise.
528         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (MOVE32):
529         New macro.
530         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
531         restart convention.
532         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
533         convention.
534         (internal_syscall0, internal_syscall1): Likewise.
535         (internal_syscall2, internal_syscall3): Likewise.
536         (internal_syscall4, internal_syscall5): Likewise.
537         (internal_syscall6): Likewise.
539 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
541         [BZ #13550]
542         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Do not include
543         <bp-checks.h>.
544         (truncate64): Do not use CHECK_STRING.
545         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
546         <bp-checks.h>.
547         (__fxstatat64): Do not use CHECK_STRING.
548         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Do not include
549         <bp-checks.h>.
550         (__lxstat64): Do not use CHECK_STRING.
551         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Do not include
552         <bp-checks.h>.
553         (__xstat64): Do not use CHECK_STRING.
555 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
557         [BZ #13550]
558         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Don't include
559         <bp-checks.h> and <bp-semctl.h>.
560         (__semctl): Don't use CHECK_SEMCTL.
562 2013-01-29  Maciej W. Rozycki  <macro@codesourcery.com>
564         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Correct
565         whitespace damage throughout.
566         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
568 2013-01-25  Steve Ellcey  <sellcey@mips.com>
570         * sysdeps/mips/memmove.c: Remove.
572 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
574         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h (struct
575         sigcontext): Use __extension__ with long long in all definitions.
577 2013-01-08  Steve Ellcey  <sellcey@mips.com>
579         * sysdeps/mips/memcpy.S: Change prefetch hint, reorder partial
580         loads and stores, set and use MAX_PREFETCH_SIZE.
582 2013-01-08  Andreas Jaeger  <aj@suse.de>
584         [BZ# 14985]
585         * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): Remove.
587 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
589         * All files with FSF copyright notices: Update copyright dates
590         using scripts/update-copyrights.
592 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
594         * sysdeps/mips/bits/dlfcn.h: Reformat copyright notice.
595         * sysdeps/mips/bits/mathdef.h: Likewise.
596         * sysdeps/mips/bits/setjmp.h: Likewise.
597         * sysdeps/mips/ieee754/ieee754.h: Likewise.
598         * sysdeps/mips/machine-gmon.h: Likewise.
599         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
600         * sysdeps/mips/mips64/setjmp.S: Likewise.
601         * sysdeps/mips/start.S: Likewise.
602         * sysdeps/unix/mips/mips64/n32/sysdep.h: Likewise.
603         * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
604         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
605         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
607 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
609         * sysdeps/mips/fpu_control.h [__mips_soft_float] (_FPU_GETCW):
610         Define to set cw to 0, not just to plain "0" as a statement.
611         [__mips_soft_float] (_FPU_SETCW): Define to (void) (cw), rather
612         than doing nothing with cw.
614 2012-11-30  Joseph Myers  <joseph@codesourcery.com>
616         * sysdeps/mips/mips32/libm-test-ulps: Update.
617         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
619 2012-11-29  Joseph Myers  <joseph@codesourcery.com>
621         [BZ #14893]
622         * sysdeps/mips/mips64/n32/_itoa.h: New file.
623         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include
624         <sgidefs.h>.
625         (CTX_TYPE): New macro.
626         (CTX_REG): Likewise.
627         (CTX_PC): Likewise.
628         (CTX_MDHI): Likewise.
629         (CTX_MDLO): Likewise.
630         (REG_HEX_SIZE): Likewise.
631         (hexvalue): Take _ITOA_WORD_TYPE argument.
632         (register_dump): Use these macros instead of hardcoding struct
633         sigcontext * type and accesses and 8-byte textual output for
634         registers.
636 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
638         [BZ #14822]
639         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
640         (sendfile): New syscall entry.
641         * sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c: New file.
642         Copy of ../sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c.
644 2012-11-21  Joseph Myers  <joseph@codesourcery.com>
646         * sysdeps/mips/jmpbuf-unwind.h (_jmpbuf_sp): Cast regs[0].__sp to
647         uintptr_t.
649         * sysdeps/mips/sotruss-lib.c: New file.
651 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
653         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
654         (internal_syscall1): Use parentheses around macro arguments.
655         (internal_syscall2): Likewise.
656         (internal_syscall3): Likewise.
657         (internal_syscall4): Likewise.
658         (internal_syscall5): Likewise.
659         (internal_syscall6): Likewise.
660         (internal_syscall7): Likewise.
661         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
662         (internal_syscall1): Likewise.
663         (internal_syscall2): Likewise.
664         (internal_syscall3): Likewise.
665         (internal_syscall4): Likewise.
666         (internal_syscall5): Likewise.
667         (internal_syscall6): Likewise.
669         * sysdeps/mips/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
670         _Unwind_GetCFA return to _Unwind_Ptr before casting to a pointer
671         type.
672         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c (CHECK_SP): Cast
673         ss_sp to long before casting to sp_type.
674         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h [_MIPS_SIM ==
675         _ABIO32] (GET_PC): Cast to unsigned long before casting to a
676         pointer type.
677         [_MIPS_SIM == _ABIO32] (GET_FRAME): Likewise.
678         [_MIPS_SIM == _ABIO32] (GET_STACK): Likewise.
679         [_MIPS_SIM != _ABIO32] (GET_PC): Likewise.
680         [_MIPS_SIM != _ABIO32] (GET_FRAME): Likewise.
681         [_MIPS_SIM != _ABIO32] (GET_STACK): Likewise.
683         * sysdeps/mips/bits/atomic.h [!__GNUC_PREREQ (4, 8)]
684         (__arch_compare_and_exchange_xxx_8_int): Separate assignments to
685         __prev and __cmp.  Cast __cmp to void.
686         [!__GNUC_PREREQ (4, 8)] (__arch_compare_and_exchange_xxx_16_int):
687         Likewise.
688         [!__GNUC_PREREQ (4, 8) && _MIPS_SIM == _ABIO32]
689         (__arch_compare_and_exchange_xxx_64_int): Likewise.
691 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
693         * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Declare VERSION
694         variable with __attribute__ ((unused)).
696         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
697         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
698         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
699         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
700         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
701         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
702         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
703         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
704         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
705         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
706         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
707         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
709 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
711         * sysdeps/mips/bits/atomic.h
712         (__arch_compare_and_exchange_bool_8_int): Mark __PREV variable
713         with __attribute__ ((unused)).
714         (__arch_compare_and_exchange_bool_16_int): Likewise.
715         (__arch_compare_and_exchange_bool_32_int): Likewise.
716         (__arch_compare_and_exchange_bool_64_int): Likewise.
718 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
720         * sysdeps/mips/memmove.c: New file.  Use memcpy for forward memmove.
722 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
724         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
725         (lll_futex_timed_wait_bitset): New macro.
727 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
729         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Don't
730         include <stub-tag.h>.
732 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
734         * sysdeps/mips/fpu/fclrexcpt.c (feclearexcept): Add
735         libm_hidden_def.
737         [BZ #3439]
738         * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define macro to integer
739         constant usable in #if and use that to give value to enum
740         constant.
741         (FE_UNDERFLOW): Likewise.
742         (FE_OVERFLOW): Likewise.
743         (FE_DIVBYZERO): Likewise.
744         (FE_INVALID): Likewise.
745         (FE_TONEAREST): Likewise.
746         (FE_TOWARDZERO): Likewise.
747         (FE_UPWARD): Likewise.
748         (FE_DOWNWARD): Likewise.
750 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
752         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
754         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist
755         (GLIBC_2.17): Add clock_* symbols.
757 2012-10-31  Steve Ellcey  <sellcey@mips.com>
759         * sysdeps/mips/memcpy.S: Add prefetching and more unrolling, make
760         it work in 32 or 64 bit modes.
761         * sysdeps/mips/mips64/memcpy.S: Remove.
763 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
765         [BZ #14047]
766         * sysdeps/mips/tininess.h: New file.
768 2012-10-29  Steve Ellcey  <sellcey@mips.com>
770         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
771         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
772         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
773         * sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
774         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
775         * sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
776         (abi-variants): Add hard and soft float versions.
777         (abi-o32-options): Remove.
778         (abi-o32-condition): Remove.
779         (abi-n32-options): Remove.
780         (abi-n32-condition): Remove.
781         (abi-n64-options): Remove.
782         (abi-n64-condition): Remove.
783         (abi-o32_soft-options): New.
784         (abi-o32_soft-condition): New.
785         (abi-o32_hard-options): New.
786         (abi-o32_hard-condition): New.
787         (abi-n32_soft-options): New.
788         (abi-n32_soft-condition): New.
789         (abi-n32_hard-options): New.
790         (abi-n32_hard-condition): New.
791         (abi-n64_soft-options): New.
792         (abi-n64_soft-condition): New.
793         (abi-n64_hard-options): New.
794         (abi-n64_hard-condition): New.
796 2012-10-19  Roland McGrath  <roland@hack.frob.com>
798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist
799         (GLIBC_2.17): Add clock_* symbols.
800         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
802 2012-10-24  Andreas Jaeger  <aj@suse.de>
804         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all
805         definitions and declarations that are provided by
806         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
808 2012-10-03  Steve Ellcey  <sellcey@mips.com>
810         * sysdeps/mips/ieee754.h: Move to...
811         * sysdeps/mips/ieee754/ieee754.h: Here.
812         * sysdeps/mips/mips32/Implies: Add mips/ieee754.
813         * sysdeps/mips/mips64/Implies: Ditto.
814         * sysdeps/mips/mips64/n32/Implies: Ditto.
815         * sysdeps/mips/mips64/n64/Implies: Ditto.
817 2012-10-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
819         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Fix clone
820         flag name in comment to CLONE_CHILD_CLEARTID.
822 2012-09-28  Roland McGrath  <roland@hack.frob.com>
824         * sysdeps/mips/init-first.c: File removed.
826 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
828         * sysdeps/mips/dl-trampoline.c (VERSYMIDX): Removed.
830 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
832         * sysdeps/unix/sysv/linux/mips/kernel-features.h
833         (__ASSUME_STAT64_SYSCALL): Remove.
835 2012-08-27  Guido Guenther  <agx@sigxcpu.org>
837         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Set bit 23.
839 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
841         * sysdeps/unix/sysv/linux/mips/kernel-features.h [_MIPS_SIM ==
842         _ABIO32] (__ASSUME_STAT64_SYSCALL): Define.
843         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: New file.  Based
844         on version from ../sysdeps/unix/sysv/linux/.
845         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Likewise.
846         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Likewise.
848 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
850         * sysdeps/mips/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
851         <mips_o32_gnu_pltenter, mips_n32_gnu_pltenter, mips_n64_gnu_pltenter>:
852         struct La_mips_32_regs and struct La_mips_64_regs are not constant.
854 2012-08-15  Tom de Vries  <vries@codesourcery.com>
855             Maxim Kuvyrkov  <maxim@codesourcery.com>
857         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (__libc_lock_lock)
858         (__libc_lock_trylock): Define versions optimized for MIPS.
860 2012-08-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
862         * sysdeps/mips/nptl/pthread_spin_lock.S: Remove, use generic version.
863         * sysdeps/mips/nptl/pthread_spin_lock.c: New file.
864         * sysdeps/mips/nptl/pthread_spin_trylock.S: Remove, use generic version.
866 2012-08-15  Joseph Myers  <joseph@codesourcery.com>
868         * sysdeps/mips/dl-lookup.c: Update from generic version.
870 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
872         [__GNUC_PREREQ (4, 8)]
873         (atomic_exchange_and_add): Split into ...
874         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
875         New atomic macros.
876         [!__GNUC_PREREQ (4, 8)]
877         (atomic_exchange_and_add): Split into ...
878         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
879         New atomic macros.
881 2012-08-09  Joseph Myers  <joseph@codesourcery.com>
883         * sysdeps/unix/sysv/linux/mips/kernel-features.h
884         (__ASSUME_UTIMES): Define.
886 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
888         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
889         Remove.
890         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
892 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
894         * sysdeps/unix/sysv/linux/mips/kernel-features.h
895         (__ASSUME_FCNTL64): Remove.
897 2012-08-01  Steve Ellcey  <sellcey@mips.com>
899         * sysdeps/mips/sys/asm.h [_MIPS_ISA != _MIPS_ISA_MIPS4 &&
900         _MIPS_ISA != _MIPS_ISA_MIPS5 && _MIPS_ISA != _MIPS_ISA_MIPS32 &&
901         _MIPS_ISA != _MIPS_ISA_MIPS64] (PREF): Define as function-like
902         macro.
903         (PREFX): Likewise.
905 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
907         * sysdeps/unix/sysv/linux/mips/fcntl.c: Remove.
908         * sysdeps/unix/sysv/linux/mips/lockf64.c: Likewise.
909         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: New file.
910         * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
911         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
912         * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
914 2012-07-27  Joseph Myers  <joseph@codesourcery.com>
916         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): New.
917         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: New file.
919 2012-07-25  Florian Weimer  <fweimer@redhat.com>
921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
922         secure_getenv.
923         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
924         Likewise.
925         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
926         Likewise.
928 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
930         * sysdeps/mips/configure.in: Remove TLS check.
931         * sysdeps/mips/configure: Regenerated.
933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: New
934         file.
935         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
936         Likewise.
937         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
938         Likewise.
940 2012-07-11  Tom de Vries  <vries@codesourcery.com>
941             Maxim Kuvyrkov  <maxim@codesourcery.com>
943         * sysdeps/mips/bits/atomic.h [__GNUC_PREREQ (4, 8)]
944         (__arch_compare_and_exchange_bool_32_int)
945         (__arch_compare_and_exchange_val_32_int)
946         (__arch_compare_and_exchange_bool_64_int)
947         (__arch_compare_and_exchange_val_64_int)
948         Define in terms of __atomic_compare_exchange_n.
949         [__GNUC_PREREQ (4, 8)]
950         (__arch_exchange_32_int, __arch_exchange_64_int):
951         Define in terms of __atomic_exchange_n.
952         [__GNUC_PREREQ (4, 8)]
953         (__arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
954         Define in terms of __atomic_fetch_add.
955         [!__GNUC_PREREQ (4, 8)]: Update formatting.
957 2012-07-06  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
959         * sysdeps/mips/dl-machine.h (RTLD_START): Do not store data below
960         the stack pointer.
962 2012-06-19  Joseph Myers  <joseph@codesourcery.com>
964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Update
965         _gp_disp entry.
966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
967         Likewise.
968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist:
969         Likewise.
970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist:
972         Likewise.
973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist:
974         Likewise.
975         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist:
976         Likewise.
977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist:
979         Likewise.
980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
981         Likewise.
982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
983         Likewise.
984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
985         Likewise.
986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
987         Likewise.
988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
989         Likewise.
990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
991         Likewise.
992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
993         Likewise.
994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
995         Likewise.
996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist:
997         Likewise.
998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist:
999         Likewise.
1000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1001         Likewise.
1002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist:
1003         Likewise.
1005 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
1007         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1008         (FORCE_FRAME_POINTER): Assign result of alloca to a volatile
1009         variable.
1011 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1013         * sysdeps/mips/mips64/n32/s_fma.c: New file.
1014         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
1016         * sysdeps/unix/sysv/linux/mips/Makefile (abi-n32-condition): Fix
1017         typo.
1019 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
1021         * sysdeps/mips/mips64/libm-test-ulps: Remove sqrt ulps.
1023         * sysdeps/mips/mips32/libm-test-ulps: Regenerate.
1024         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1026 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
1028         * sysdeps/unix/sysv/linux/mips/Makefile [subdir = misc]: Move ABI
1029         settings out of conditional.
1031         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove
1032         __connect_internal alias.
1034         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1035         (FP_TRAPPING_EXCEPTIONS): Define.
1037         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-variants):
1038         Rename to abi-variants.
1039         (syscall-list-includes): Rename to abi-includes.
1040         (syscall-list-o32-options): Rename to abi-o32-options.
1041         (syscall-list-o32-condition): Rename to abi-o32-condition.
1042         (syscall-list-n32-options): Rename to abi-n32-options.
1043         (syscall-list-n32-condition): Rename to abi-n32-condition.
1044         (syscall-list-n64-options): Rename to abi-n64-options.
1045         (syscall-list-n64-condition): Rename to abi-n64-condition.
1046         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1047         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Likewise.
1048         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Likewise.
1050         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Replace
1051         _internal alias by hidden_def.
1053 2012-05-26  Joseph Myers  <joseph@codesourcery.com>
1055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: New
1056         file.
1057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1058         Likewise.
1059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
1060         Likewise.
1061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
1062         Likewise.
1063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1064         Likewise.
1065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1066         Likewise.
1067         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
1068         Likewise.
1069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1070         Likewise.
1072 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1074         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1075         (__ASSUME_32BITUIDS): Remove.
1077 2012-05-23  Steve Ellcey  <sellcey@mips.com>
1079         * sysdeps/unix/sysv/linux/mips/Makefile
1080         (syscall-list-o32-options): Use -D_MIPS_SIM=1.
1081         (syscall-list-n32-options): Use -D_MIPS_SIM=2.
1082         (syscall-list-n64-options): Use -D_MIPS_SIM=3.
1084 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
1086         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_DONTDUMP):
1087         Define.
1088         (MADV_DODUMP): Likewise.
1090 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
1092         * sysdeps/mips/bits/wordsize.h (__WORDSIZE_COMPAT32): Rename to
1093         __WORDSIZE_TIME64_COMPAT32.
1095         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Update.
1096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Update.
1097         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Update.
1099 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
1101         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Move to ...
1102         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: ... here.
1103         (kernel-features.h): Don't include.
1104         [__NR_ftruncate64]: Make code unconditional.
1105         [!__NR_ftruncate64]: Remove conditional code.
1106         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1107         * sysdeps/unix/sysv/linux/mips/truncate64.c: Move to ...
1108         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: ... here.
1109         (kernel-features.h): Don't include.
1110         [__NR_truncate64]: Make code unconditional.
1111         [!__NR_truncate64]: Remove conditional code.
1112         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1113         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1114         Add syscall.
1115         (truncate): Likewise.
1116         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1117         (ftruncate): Remove syscall.
1118         (truncate): Likewise.
1119         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Move to ...
1120         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: ... here.
1121         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Move to ...
1122         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: ... here.
1124 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
1126         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat)
1127         [!__USE_MISC && !__USE_XOPEN2K8]: Declare nanoseconds fields with
1128         type unsigned long and names st_atimensec, st_mtimensec and
1129         st_ctimensec.
1130         (struct stat64) [!__USE_MISC && !__USE_XOPEN2K8]: Likewise.
1132 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
1134         * sysdeps/unix/sysv/linux/mips/pread.c [!__ASSUME_PREAD_SYSCALL]:
1135         Remove conditional code.
1136         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1137         * sysdeps/unix/sysv/linux/mips/pread64.c
1138         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1139         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1140         * sysdeps/unix/sysv/linux/mips/pwrite.c
1141         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1142         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1143         * sysdeps/unix/sysv/linux/mips/pwrite64.c
1144         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1145         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1146         * sysdeps/unix/sysv/linux/mips/sigaction.c
1147         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1148         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1150 2012-05-11  Joseph Myers  <joseph@codesourcery.com>
1152         * sysdeps/mips/dl-lookup.c: Update from generic version.
1154 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
1156         * sysdeps/mips/fpu/libm-test-ulps: Move to ...
1157         * sysdeps/mips/mips32/libm-test-ulps: ... here.
1158         * sysdeps/mips/mips64/n32/libm-test-ulps: Move to ...
1159         * sysdeps/mips/mips64/libm-test-ulps: ... here.
1160         * sysdeps/mips/mips64/n64/libm-test-ulps: Remove file.
1162 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1164         [BZ #14044]
1165         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Copy
1166         from libc version and add symbol versions.
1167         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilis
1168         (GLIBC_2.3.3): Add posix_fadvise64.
1170 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: New file.
1173         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1174         Likewise.
1175         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Likewise.
1176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
1177         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Likewise.
1178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Likewise.
1179         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
1180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Likewise.
1181         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
1182         Likewise.
1183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Likewise.
1184         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Likewise.
1185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1186         Likewise.
1187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Likewise.
1188         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Likewise.
1189         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1190         Likewise.
1191         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1192         Likewise.
1193         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Likewise.
1194         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1195         Likewise.
1196         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: Likewise.
1197         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: Likewise.
1198         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1199         Likewise.
1200         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1201         Likewise.
1202         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1203         Likewise.
1204         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: Likewise.
1205         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1206         Likewise.
1207         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1208         Likewise.
1209         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Likewise.
1210         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1211         Likewise.
1212         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1213         Likewise.
1214         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
1215         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1216         Likewise.
1217         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Likewise.
1218         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Likewise.
1219         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist:
1220         Likewise.
1221         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1222         Likewise.
1223         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1224         Likewise.
1225         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Likewise.
1226         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1227         Likewise.
1228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1229         Likewise.
1231         * sysdeps/mips/mips64/memcpy.S: Don't include <endian.h>.  Test
1232         __MIPSEB instead of __BYTE_ORDER.
1233         * sysdeps/mips/mips64/memset.S: Likewise.
1235 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1237         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1238         Change to 2.6.12.
1239         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1241 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1243         * sysdeps/unix/mips/brk.S: Remove file.
1244         * sysdeps/unix/mips/dl-brk.S: Likewise.
1245         * sysdeps/unix/mips/sigreturn.S: Likewise.
1246         * sysdeps/unix/mips/wait.S: Likewise.
1248 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1250         * sysdeps/mips/memcpy.S: Don't include <endian.h>.  Test __MIPSEB
1251         instead of __BYTE_ORDER.
1252         * sysdeps/mips/memset.S: Likewise.
1254         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1255         kernel_rt_sigframe): Use siginfo_t instead of struct siginfo.
1257 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1259         * sysdeps/unix/mips/fork.S: Remove file.
1261 2012-04-24  Mike Frysinger  <vapier@gentoo.org>
1263         * sysdeps/unix/sysv/linux/mips/mips64/configure.in
1264         (ldd_rewrite_script): Change $dest to $dir.
1265         * sysdeps/unix/sysv/linux/mips/mips64/configure: Regenerate.
1267 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
1269         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Include
1270         sysdeps/unix/sysv/linux/arm/readahead.c not
1271         sysdeps/unix/sysv/linux/arm/eabi/readahead.c.
1273 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1275         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define.
1276         (MAP_HUGETLB): Likewise.
1278 2012-03-27  Joseph Myers  <joseph@codesourcery.com>
1280         * sysdeps/mips/elf/start.S: Moved to ...
1281         * sysdeps/mips/start.S: ...here.
1282         * sysdeps/mips/elf/configure.in: Moved to ...
1283         * sysdeps/mips/configure.in: ...here.  Update comment.
1284         * sysdeps/mips/configure: New generated file.
1286 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1288         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include <_itoa.h>
1289         instead of <stdio-common/_itoa.h>.
1291 2012-03-10  Paul Eggert  <eggert@cs.ucla.edu>
1293         [BZ #13673]
1294         * sysdeps/mips/mips64/gmp-mparam.h: Replace FSF snail mail address
1295         with URL.
1297 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
1299         [BZ #13673]
1300         Replace FSF snail mail address with URLs, as per GNU coding standards.
1302 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1304         * sysdeps/unix/sysv/linux/mips/bits/socket_type.h: New file.
1305         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Remove.
1307 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1309         * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not
1310         declare recvmmsg and sendmmsg.
1312 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1314         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t):
1315         Change union tag to pthread_attr_t.  Only define typedef if not
1316         already defined.
1317         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1318         (pthread_attr_t): Change union tag to pthread_attr_t.  Only define
1319         typedef if not already defined.
1321 2012-02-26  Joseph Myers  <joseph@codesourcery.com>
1323         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
1324         siginfo_t struct.  Add forward declaration of pthread_attr_t and
1325         use it in sigevent.
1326         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
1327         pthread_attr_t union.
1329 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
1331         * sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
1332         * sysdeps/unix/sysv/linux/mips/bits/timerfd.h: Likewise.
1333         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Remove.
1334         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1336 2012-02-20  Andreas Schwab  <schwab@linux-m68k.org>
1338         * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
1339         not defined.
1341 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1343         * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,
1344         matching the array in dl-procinfo.c.
1346 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1348         * sysdeps/mips/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1349         * sysdeps/mips/mips64/n32/fpu/libm-test-ulps: Likewise.
1350         * sysdeps/mips/mips64/n64/fpu/libm-test-ulps: Likewise.
1352 2012-02-15  Robert Millan  <rmh@gnu.org>
1354         [BZ #12301]
1355         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__]
1356         [__PIC__] (SYSCALL_ERROR_LABEL): New macro.
1358 2012-02-15  Robert Millan  <rmh@gnu.org>
1360         [BZ #12298]
1361         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Moved to ...
1362         * sysdeps/mips/sys/tas.h: ... here.
1364 2012-02-15  Robert Millan  <rmh@gnu.org>
1366         [BZ #12297]
1367         * sysdeps/mips/dl-machine.h: Fix a comment regarding __start.
1368         * sysdeps/unix/sysv/linux/mips/entry.h: Moved to ...
1369         * sysdeps/unix/mips/entry.h: ... here.
1371 2012-02-15  Robert Millan  <rmh@gnu.org>
1373         [BZ #12193]
1374         * sysdeps/mips/dl-machine.h (DL_PLATFORM_INIT, dl_platform_init):
1375         Define.
1376         * sysdeps/mips/dl-procinfo.c: New file.
1377         * sysdeps/mips/dl-procinfo.h: Likewise.
1379 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
1381         * sysdeps/unix/sysv/linux/mips/bits/signalfd.h: New file.
1382         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: Remove.
1384 2012-02-15  Viju Vincent  <vijuvince@gmail.com>
1386         * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Use locking
1387         around calls to _dl_lookup_symbol_x.
1389 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1391         * sysdeps/unix/sysv/linux/mips/bits/inotify.h: New file.
1392         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Remove.
1394 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1396         * sysdeps/unix/sysv/linux/mips/bits/eventfd.h: New file.
1397         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Remove.
1399 2012-02-10  Joseph Myers  <joseph@codesourcery.com>
1401         * sysdeps/mips/mips32/crti.S: New file, based on compiler output
1402         for sysdeps/generic/initfini.c.
1403         * sysdeps/mips/mips32/crtn.S: Likewise.
1404         * sysdeps/mips/mips64/n32/crti.S: Likewise.
1405         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
1406         * sysdeps/mips/mips64/n64/crti.S: Likewise.
1407         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
1408         * sysdeps/mips/Makefile (CFLAGS-initfini.s): Remove variable.
1409         (CFLAGS-pt-initfini.s): Likewise.
1410         (CPPFLAGS-crti.S, CPPFLAGS-crtn.S, CPPFLAGS-pt-crti.S): Define
1411         variables.
1413 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
1415         * sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals.
1416         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1417         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1418         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1420 2012-01-08  Joseph Myers  <joseph@codesourcery.com>
1422         * sysdeps/mips/bits/fenv.h: Use const instead of __const.
1423         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1424         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1425         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1426         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Likewise.
1427         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1428         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1430 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1432         * sysdeps/mips/nptl/shlib-versions: New.
1434 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1436         * sysdeps/mips/backtrace.c: Use x86_64 version of backtrace.c.
1438 2012-01-04  Tom de Vries  <tom@codesourcery.com>
1440         * sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with
1441         -fno-unwind-tables.
1443 2012-01-03  Tom de Vries  <tom@codesourcery.com>
1445         * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
1446         * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
1448 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1450         * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)
1451         (mips_list_syscalls, $(objpfx)syscall-%.h $(objpfx)syscall-%.d):
1452         Remove.
1453         (syscall-list-variants, syscall-list-includes)
1454         (syscall-list-o32-options, syscall-list-o32-condition)
1455         (syscall-list-n32-options, syscall-list-n32-condition)
1456         (syscall-list-n64-options, syscall-list-n64-condition): Define.
1457         * sysdeps/unix/sysv/linux/mips/configure.in: Don't generate
1458         asm-unistd.h.
1459         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1460         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Remove.
1462 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1464         [BZ #13538]
1465         * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT)
1466         (EPOLLET): Initialize with unsigned values.
1468 2011-12-19  Joseph Myers  <joseph@codesourcery.com>
1470         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
1471         $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h.
1473 2011-11-17  Joseph Myers  <joseph@codesourcery.com>
1475         * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c,
1476         sysdeps/unix/sysv/linux/mips/mips64/n64/ftw64.c: New.
1478 2011-11-11  Joseph Myers  <joseph@codesourcery.com>
1480         * sysdeps/mips/dl-lookup.c: Update from generic version.
1482 2011-10-12  Joseph Myers  <joseph@codesourcery.com>
1484         * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
1485         * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
1486         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias.
1488 2011-10-05  Andreas Schwab  <schwab@redhat.com>
1490         * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela)
1491         (elf_machine_lazy_rel): Add parameter skip_ifunc.
1493 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1495         * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Cast
1496         return value to (struct cmsghdr *).
1498 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1500         * sysdeps/mips/elf/configure.in: Always test for TLS support and
1501         error out in case it is missing.
1502         * sysdeps/mips/elf/configure: Regenerate.
1503         * sysdeps/mips/nptl/tls.h: Remove test for HAVE_TLS_SUPPORT.
1505 2011-09-11  Joseph Myers  <joseph@codesourcery.com>
1507         * sysdeps/mips/dl-machine.h, sysdeps/mips/libc-tls.c,
1508         sysdeps/mips/nptl/tls.h: Don't define or use USE_TLS.
1510 2011-09-06  Joseph Myers  <joseph@codesourcery.com>
1512         [BZ #13109]
1513         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs)
1514         (statfs): New.
1515         * sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c,
1516         sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New.
1518 2011-08-02  Matt Turner  <mattst88@gmail.com>
1520         * sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata.
1522 2011-07-25  Joseph Myers  <joseph@codesourcery.com>
1524         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC):
1525         Define.
1527 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1529         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c,
1530         sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: New.
1532 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1534         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SI_USER): Don't
1535         mention raise in the comment.
1537 2011-05-23  Aurelien Jarno  <aurelien@aurel32.net>
1539         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME):
1540         Add.
1542 2011-05-13  Joseph Myers  <joseph@codesourcery.com>
1544         * sysdeps/mips/dl-lookup.c: Update from generic version.
1546 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
1548         * sysdeps/mips/dl-lookup.c: Update from generic version.
1550 2011-04-11  Joseph Myers  <joseph@codesourcery.com>
1552         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
1554 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1556         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle
1557         to open_by_handle_at.
1559 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1561         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define.
1563 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1565         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct
1566         file_handle and MAX_HANDLE_SZ.  Declare name_to_handle_at and
1567         open_by_handle.  Augment a few comments.
1569 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1571         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Make
1572         cancelable.
1573         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Likewise.
1574         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1575         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Mark
1576         sync_file_range as cancellation point.
1577         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Mark
1578         sync_file_range as cancellation point.
1580 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1582         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add
1583         sync_file_range.
1585 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
1587         * sysdeps/mips/dl-lookup.c: Update from generic version.
1589 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1591         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
1592         MADV_NOHUGEPAGE): Define.
1594 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1596         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
1597         PF_CAIF, PF_ALG): Define.
1599 2010-12-30  Joseph Myers  <joseph@codesourcery.com>
1601         * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if
1602         NO_CTORS_DTORS_SECTIONS is defined.
1603         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1605 2010-12-21  Joseph Myers  <joseph@codesourcery.com>
1607         * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1609 2010-12-06  Matt Turner  <mattst88@gmail.com>
1611         * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
1613 2010-12-06  Joseph Myers  <joseph@codesourcery.com>
1615         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1616         Change to 2.4.1.
1617         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1619 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
1621         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1622         sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list,
1623         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries
1624         for fanotify_mark.
1626 2010-10-11  Joseph Myers  <joseph@codesourcery.com>
1628         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
1629         libm_hidden_def.
1630         * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
1632 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1634         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1635         (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
1637 2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
1639         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
1640         jump delay slot.
1641         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
1643 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1645         * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
1647 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1649         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
1650         struct statfs64): Add f_flags field.
1652 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1654         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
1655         Define.
1657 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1659         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
1660         and prlimit64.
1661         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1662         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
1663         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
1664         prlimit64 syscall.
1666 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
1668         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
1669         F_GETPIPE_SZ): Define.
1671 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
1673         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
1674         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
1676 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
1678         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
1680 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
1682         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
1683         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
1684         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1685         Define.
1687 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
1689         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
1690         MSG_WAITFORONE.
1692 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
1694         * sysdeps/mips/dl-lookup.c: Update from generic version.
1696 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
1698         [BZ #11291]
1699         * sysdeps/mips/bits/atomic.h
1700         (__arch_compare_and_exchange_xxx_32_int,
1701         __arch_compare_and_exchange_xxx_64_int,
1702         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
1703         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
1704         Specify *mem as asm output as well as input.
1706 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
1708         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
1710 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
1712         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
1713         _dl_runtime_pltresolve): Calculate offset from start of function
1714         to .cpload instead of hardcoding instruction size.
1716 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1718         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
1719         problem.
1721 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1723         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
1724         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
1726 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
1728         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
1729         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
1730         XPG7.
1731         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
1732         fcntl.h.
1734 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1736         [BZ #11093]
1737         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
1738         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
1740 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1742         * sysdeps/mips/dl-lookup.c: Update from generic version.
1744 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
1746         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
1747         O_DSYNC to match 2.6.33+ kernels.
1749 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
1751         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
1752         declare recvmmsg.
1754 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1756         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1757         (posix_fadvise): Remove.
1758         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
1759         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
1760         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
1762 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1764         * sysdeps/mips/dl-lookup.c: Update from generic version.
1766 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
1768         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
1769         for timestamps also if __USE_XOPEN2K8.
1771 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
1773         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
1774         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
1776 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
1778         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
1779         names of parameters of sync_file_range.
1781 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1783         [BZ #10972]
1784         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
1785         constants from recent kernels.
1787 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1789         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
1790         not already defined.
1792 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
1794         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
1795         F_GETOWN_EX): Update values.
1797 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
1799         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
1800         of last two arguments when -D_FILE_OFFSET_BITS=64.
1802 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
1804         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
1805         f_owner_ex.
1807 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
1809         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
1810         and F_GETOWN_EX.
1812 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
1814         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1815         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
1816         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1817         (__SYSCALL_CLOBBERS): Likewise.
1818         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1819         (__SYSCALL_CLOBBERS): Likewise.
1821 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
1823         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
1824         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
1825         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
1826         variable for env.  Use expansion of CHECK_SP macro for check.
1827         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
1829 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
1831         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
1832         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
1834 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
1836         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
1837         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
1839 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
1841         * sysdeps/mips/do-lookup.h: Remove.
1842         * sysdeps/mips/dl-lookup.c: Update from generic version, with
1843         non-PIC handling integrated.
1845 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
1847         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
1848         and AF_IEEE802154.
1850 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1852         * sysdeps/mips/____longjmp_chk.c: New file.
1853         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
1854         undefine __longjmp.
1855         * sysdeps/mips64/__longjmp.c: Likewise.
1857 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1859         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
1860         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
1861         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
1862         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
1864 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1866         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
1867         fallocate64@@GLIBC_2.11.
1869 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
1871         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
1872         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
1874 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
1876         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
1877         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
1878         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
1879         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
1880         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
1881         Update comment.
1882         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
1883         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
1884         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
1885         Add ucontext_i.sym.
1887 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
1889         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
1890         __ASSUME_PWRITEV): Don't define here.
1892 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
1894         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
1896 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
1898         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
1899         numbers.
1900         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
1901         Define.
1902         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
1903         preadv and pwritev.
1905 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
1907         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1908         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
1910 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
1912         [BZ #7074]
1913         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1914         Fix the condition used to annotate n32 objects.
1916 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1918         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
1919         Change parameters and use next_line.
1921 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1923         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
1924         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1925         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1927 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
1929         * sysdeps/mips/bits/link.h: Uglify function parameter names.
1930         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1931         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
1932         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1933         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
1935 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
1937         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
1938         fallocate{,64}.
1940 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
1942         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
1943         UTIME_OMIT only with __USE_ATFILE.
1945 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
1947         [BZ #7040]
1948         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
1949         inotify_rm_watch should have type int.
1951 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
1953         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
1955 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
1956             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
1958         PR glibc/1048
1959         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
1960         variable page size for MIPS.
1961         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
1962         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
1963         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
1965 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
1967         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
1968         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
1969         -D_GNU_SOURCE.
1971 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
1973         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
1974         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
1976 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
1978         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
1979         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
1980         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
1981         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
1983 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
1985         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
1986         Make available only for __USE_GNU.
1988 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
1990         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
1991         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
1993 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
1995         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
1996         __THROW vs. __nonnull order for C++.
1998 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
2000         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
2001         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
2002         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
2004 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
2005             Daniel Jacobowitz  <dan@codesourcery.com>
2006             Richard Sandiford  <rdsandiford@googlemail.com>
2008         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
2009         * sysdeps/mips/dl-lookup.c: New.
2010         * sysdeps/mips/do-lookup.h: New.
2011         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
2012         definition.
2013         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
2014         if needed.
2015         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
2016         (elf_machine_type_class): Likewise.
2017         (ELF_MACHINE_PLT_REL): Define.
2018         (elf_machine_fixup_plt): New.
2019         (elf_machine_plt_value): New.
2020         (elf_machine_reloc): Handle jump slot and copy relocations.
2021         (elf_machine_lazy_rel): Point relocation place at PLT if
2022         required.
2023         (RESOLVE_GOTSYM): Take a relocation type argument.
2024         (elf_machine_got_rel): Bind lazy stubs directly to their target if
2025         !lazy.  Skip lazy binding for PLT symbols.
2026         (elf_machine_runtime_setup): Fill in .got.plt header.
2027         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
2028         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
2029         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
2030         (_dl_runtime_pltresolve): New.
2031         * sysdeps/mips/bits/linkmap.h: New file.
2032         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
2033         64-bit versions.
2035         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
2036         Delete definition.
2037         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
2038         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
2039         (PSEUDO): Use them.  Move outside __PIC__.
2040         (PSEUDO_JMP): New.
2041         (CENABLE, CDISABLE): Use it.
2043 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2045         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
2046         to epoll_create1.
2048 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2050         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
2051         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
2052         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
2053         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
2054         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
2055         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
2056         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
2058 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2060         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
2061         volatile.
2063 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
2065         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
2066         type.
2068 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
2070         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
2071         (SOCK_DCCP): Define.
2073 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
2075         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
2076         RUSAGE_THREAD and RUSAGE_LWP.
2078 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
2080         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
2081         shmid_ds.
2083 2008-04-21  Khem Raj  <kraj@mvista.com>
2085         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
2087 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
2089         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
2090         truncate and ftruncate systems calls.
2091         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
2092         empty file.
2093         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
2095 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
2097         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
2098         ARG_MAX if <linux/limits.h> has defined it.
2100 2008-03-28  Robin Randhawa  <robin@mips.com>
2102         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
2103         barriers to enforce strict ordering on weakly ordered systems.
2105 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
2106             Daniel Jacobowitz  <dan@codesourcery.com>
2108         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
2109         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2110         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2112 2008-03-09  Andreas Jaeger  <aj@suse.de>
2114         [BZ #5753]
2115         * sysdeps/mips/ieee754.h: Use protected namespace
2116         __BIG_ENDIAN/__LITTLE_ENDIAN.
2117         Patch by Aurelien Jarno <aurelien@aurel32.net>.
2119 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
2121         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
2122         Reorganize to match other architectures.  Replace _timer._timer1
2123         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
2124         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
2125         (si_timerid, si_overrun): Define.
2126         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
2127         (__pthread_attr_s): Remove declaration.
2128         (struct sigevent): Remove XXX.  Add _tid.
2130 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
2132         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
2134 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
2136         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
2137         type and __THROW marker of splice, vmsplice, and tee.
2139 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
2141         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
2142         LLL_PRIVATE argument to lll_futex_wake.
2143         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
2144         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
2145         comment.
2146         (PF_IUCV, PF_RXRPC): Define.
2147         (PF_MAX): Update.
2148         (AF_IUCV, AF_RXRPC): Define.
2149         (MSG_CMSG_CLOEXEC): Define.
2150         (_EXTERN_INLINE): Define to __extern_inline.
2151         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
2152         UTIME_OMIT): Define.
2153         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
2154         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2155         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2156         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
2157         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
2158         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
2159         LLL_LOCK_*.  Include <kernel-features.h>.
2160         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
2161         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
2162         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
2163         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
2164         lll_futex_wait.
2165         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
2166         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
2167         private arguments.
2168         (__lll_robust_trylock): Convert to macro.
2169         (__lll_robust_lock_wait): Add private argument.
2170         (__lll_lock_wait_private, __lll_lock_wait): Declare.
2171         (__lll_lock): Convert to macro.  Take private argument.
2172         (__lll_cond_lock): Likewise.
2173         (lll_lock, lll_cond_lock): Take private arguments.
2174         (__lll_robust_lock): Take private argument.  Convert to macro.
2175         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
2176         lll_robust_cond_lock): Take private arguments.
2177         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
2178         arguments.
2179         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
2180         (lll_timedlock, lll_robust_timedlock): Take private arguments.
2181         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
2182         private arguments.
2183         (lll_unlock, lll_robust_unlock): Take private arguments.
2184         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
2185         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
2186         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
2187         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
2188         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
2189         lll_cond_wake, lll_cond_broadcast): Remove.
2190         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
2191         to __extern_inline.
2193 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
2195         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
2196         New macros for the (n)64 and n32 ABIs.
2197         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
2199 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
2201         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
2202         Define __WORDSIZE_COMPAT32 as 1.
2204 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
2206         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
2207         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
2208         PTHREAD_STACK_MIN.
2210 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
2212         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
2214         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
2215         Delete.
2217 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
2219         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
2220         (internal_syscall1, internal_syscall2, internal_syscall3,
2221         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
2223 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
2225         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
2226         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
2227         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
2228         THREAD_GSCOPE_WAIT): Define.
2229         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
2230         (FUTEX_PRIVATE_FLAG): Define.
2231         (lll_unlock_wake_cb): Delete prototype.
2232         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
2233         <endian.h>.
2234         (pthread_rwlock_t): Shrink __flags and add __shared.
2236 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2238         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
2239         (posix_fadvise): Fix high word of len argument.
2241 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2243         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2244         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
2245         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
2246         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
2247         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
2248         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
2250 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
2252         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
2253         * sysdeps/mips/mips64/n64/Implies: Likewise.
2254         * sysdeps/mips/mips64/soft-fp/Makefile: New.
2255         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
2256         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
2257         <fpu_control.h>.  Use hardware exception and rounding mode
2258         settings.
2260 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
2262         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
2263         r_info argument to ElfW(Addr).
2265 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
2267         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
2269 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
2270             Daniel Jacobowitz  <dan@codesourcery.com>
2272         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
2273         shmctl, and semctl.
2274         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
2275         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
2276         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
2278 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2280         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
2281         PTR_DEMANGLE): Define.
2282         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
2283         PTR_DEMANGLE): Define.
2284         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
2285         PTR_DEMANGLE): Define.
2287 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2289         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2290         (cfi_same_value): Delete definition.
2292 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
2294         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
2295         (elf_machine_reloc): New function, retaining the body of
2296         elf_machine_rel.  Take the reloc's r_info field as an argument,
2297         not the reloc itself.  Add extra r_addend and inplace_p arguments.
2298         When inplace_p is false, use r_addend as the addend, not the contents
2299         of the relocation field.  Hoist the conversion of reloc_addr to
2300         "ELFW(Addr) *".  Don't try to apply TLS relocations against
2301         undefined symbols.  Add R_MIPS_GLOB_DAT support.
2302         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
2303         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
2304         to ElfW(Rela).
2306 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
2308         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
2309         multiple inclusion guard.
2310         * sysdeps/mips/elf/ldsodefs.h: Delete file.
2312 2007-01-04  Thiemo Seufer  <ths@networkno.de>
2314         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
2315         to match the kernel.
2317 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
2319         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
2320         (RTLD_SINGLE_THREAD_P): Define.
2321         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
2323 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
2325         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
2326         prototype.
2328 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
2330         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
2331         code.
2332         (__xstat_conv): Use memset to clear padding arrays.  Check for
2333         overflow.
2334         (__xstat64_conv): Use memset to clear padding arrays.
2335         (__xstat32_conv): New function.
2336         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
2337         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
2339 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
2341         * sysdeps/mips/fpu_control.h: If soft-float, don't use
2342         floating-point registers.
2343         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
2344         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
2345         Likewise.
2347 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
2349         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
2350         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
2352 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2354         * sysdeps/mips/mips64/n32/libm-test-ulps,
2355         sysdeps/mips/mips64/n64/libm-test-ulps: New.
2357 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2359         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
2360         defined, include the named file.
2362 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
2364         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
2365         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
2366         Define.
2368 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2370         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
2371         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
2372         types.
2374 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2376         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2377         Don't use struct timespec.
2378         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
2379         __xstat64_conv): Copy individual timespec fields.
2381 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
2383         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
2385 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2387         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
2388         * sysdeps/mips/fpu/fesetround.c: Likewise.
2390 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
2391             Daniel Jacobowitz  <dan@codesourcery.com>
2393         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
2394         dump sc_cause, sc_status or sc_badvaddr.
2395         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
2396         structure definitions after DSP kernel changes.
2397         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
2398         after the same DSP changes.
2400 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2402         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
2403         st_atim, st_mtim and st_ctim interface.
2404         (struct stat64): Likewise.
2405         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2406         Replace st_atime and its padding field with st_atim.  Likewise
2407         st_mtime/st_mtim and st_ctime/st_ctim.
2408         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
2409         after above changes.
2410         (__xstat64_conv): Likewise.
2412 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2414         * sysdeps/mips/ldsodefs.h: New file.
2415         * sysdeps/mips/tst-audit.h: New file.
2417 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
2419         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
2420         for consistency with other ports.
2421         (MADV_REMOVE): Correct value.
2422         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
2423         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
2424         POSIX_MADV_DONTNEED): Define.
2426 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
2428         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
2429         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
2430         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
2431         and SYNC_FILE_RANGE_WAIT_AFTER.
2432         Declare sync_file_range, vmsplice, splice and tee.
2434 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
2436         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
2437         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
2438         prototype.
2440 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
2442         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
2443         Define.
2445 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
2447         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
2448         typo.
2450 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2452         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
2453         i386/fork.c.
2455 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2457         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
2458         libc_cv_localedir, libdir, arch_minimum_kernel, and
2459         libc_cv_gcc_unwind_find_fde.
2460         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
2461         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2462         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
2464 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
2466         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2467         (__pthread_list_t, __pthread_slist_t): New typedefs.
2468         (pthread_mutex_t): Replace __next and __prev fields with __list.
2469         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
2470         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
2471         (lll_futex_wake_unlock): Define.
2472         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
2473         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
2474         lll_robust_mutex_unlock): New macros.
2475         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
2476         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
2477         vfork.S.
2478         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
2480 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2482         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
2483         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
2485 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2487         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2488         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2489         (INTERNAL_SYSCALL_NCS): New.
2490         (internal_syscall0, internal_syscall1, internal_syscall2,
2491         internal_syscall3, internal_syscall4, internal_syscall5,
2492         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2493         Use them.  Correct types for registers.
2494         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2495         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2496         (INTERNAL_SYSCALL_NCS): New.
2497         (internal_syscall0, internal_syscall1, internal_syscall2,
2498         internal_syscall3, internal_syscall4, internal_syscall5,
2499         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2500         Use them.
2501         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
2502         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
2503         points.
2504         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
2505         Use Elf(Addr) for TLS relocation targets.
2506         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
2507         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
2508         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
2509         futexp to long for n64.
2510         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
2512 2006-02-20  Roland McGrath  <roland@redhat.com>
2514         * sysdeps/mips/shlib-versions: New file.
2515         * sysdeps/mips/preconfigure: New file.
2516         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.