2013-09-23 Steve Ellcey <sellcey@mips.com>
[glibc.git] / ports / ChangeLog.mips
blobc958f29285df5738076cfb8640df729eaec7463a
1 2013-09-23  Steve Ellcey  <sellcey@mips.com>
3         * sysdeps/mips/fpu_control.h (comments): Add capitalization and
4         periods to match GNU standard.
6 2013-09-20  Steve Ellcey  <sellcey@mips.com>
8         * sysdeps/mips/memset.S: Change prefetching and add loop unrolling.
9         * sysdeps/mips/mips64/memset.S: Remove.
11 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
12             Thomas Schwinge  <thomas@codesourcery.com>
14         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NAN2008): New macro.
15         (elf_machine_matches_host): Reject objects that use a different
16         NaN encoding convention.
17         * sysdeps/mips/fpu_control.h: Document IEEE 754-2008 feature
18         control bits.
19         (_FPU_ABS2008, _FPU_NAN2008): New macros.
20         (_FPU_RESERVED): Clear bits #20 and #19.
21         (_FPU_DEFAULT) [__mips_nan2008]: Set bit #18.
22         (_FPU_IEEE) [__mips_nan2008]: Likewise.
23         * sysdeps/mips/math_private.h [__mips_nan2008]
24         (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Don't define.
25         * sysdeps/mips/bits/nan.h [__mips_nan2008] (__qnan_bytes): Define
26         appropriately.
27         * sysdeps/mips/mips64/soft-fp/sfp-machine.h [__mips_nan2008]
28         (_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): Define 2008-NaN
29         payloads.
30         (_FP_QNANNEGATEDP): Set to 0.
31         * sysdeps/mips/soft-fp/sfp-machine.h [__mips_nan2008]
32         (_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): Define 2008-NaN
33         payloads.
34         (_FP_QNANNEGATEDP): Set to 0.
35         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
36         Define 2008 NaN encoding values.
37         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
38         Handle 2008-NaN libraries.
39         * sysdeps/mips/shlib-versions [HAVE_MIPS_NAN2008]: Set
40         ld=ld-linux-mipsn8.so.1.
41         * sysdeps/mips/configure.in: Define HAVE_MIPS_NAN2008 if the
42         2008 NaN encoding is used.
43         * sysdeps/unix/sysv/linux/mips/Makefile (abi-variants): Add
44         2008-NaN ABI variants.
45         (abi-o32_soft-options, abi-o32_soft-condition): Update with the
46         __mips_nan2008 macro.
47         (abi-o32_hard-options, abi-o32_hard-condition): Likewise.
48         (abi-n32_soft-options, abi-n32_soft-condition): Likewise.
49         (abi-n32_hard-options, abi-n32_hard-condition): Likewise.
50         (abi-n64_soft-options, abi-n64_soft-condition): Likewise.
51         (abi-n64_hard-options, abi-n64_hard-condition): Likewise.
52         (abi-o32_soft-ld-soname, abi-o32_hard-ld-soname): New macros.
53         (abi-n32_soft-ld-soname, abi-n32_hard-ld-soname): Likewise.
54         (abi-n64_soft-ld-soname, abi-n64_hard-ld-soname): Likewise.
55         (abi-o32_soft_2008-options): Likewise.
56         (abi-o32_soft_2008-condition): Likewise.
57         (abi-o32_hard_2008-options): Likewise.
58         (abi-o32_hard_2008-condition): Likewise.
59         (abi-n32_soft_2008-options): Likewise.
60         (abi-n32_soft_2008-condition): Likewise.
61         (abi-n32_hard_2008-options): Likewise.
62         (abi-n32_hard_2008-condition): Likewise.
63         (abi-n64_soft_2008-options): Likewise.
64         (abi-n64_soft_2008-condition): Likewise.
65         (abi-n64_hard_2008-options): Likewise.
66         (abi-n64_hard_2008-condition): Likewise.
67         (abi-o32_soft_2008-ld-soname): Likewise.
68         (abi-o32_hard_2008-ld-soname): Likewise.
69         (abi-n32_soft_2008-ld-soname): Likewise.
70         (abi-n32_hard_2008-ld-soname): Likewise.
71         (abi-n64_soft_2008-ld-soname): Likewise.
72         (abi-n64_hard_2008-ld-soname): Likewise.
73         * sysdeps/unix/sysv/linux/mips/configure.in: Include the NaN
74         encoding selection in default-abi.  Set arch_minimum_kernel to
75         10.0.0 if 2008 NaN encoding is used.
76         * sysdeps/mips/configure: Regenerate.
77         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
79 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
81         * sysdeps/mips/memcpy.S: Fix then/than typos.
83 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
85         * sysdeps/mips/memcpy.S: Fix typos.
87 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
89         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
90         Use ELFOSABI_GNU instead of ELFOSABI_LINUX.
92 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
94         * sysdeps/mips/sys/asm.h: Fix typos.
96 2013-08-22  Maciej W. Rozycki  <macro@codesourcery.com>
98         * sysdeps/mips/fpu_control.h: Document bits reserved for
99         architecture implementers.
100         (_FPU_RESERVED): Clear bit #21.
101         * sysdeps/mips/fpu/fedisblxcpt.c (fedisableexcept): Don't clear
102         reserved bits.
103         * sysdeps/mips/fpu/feenablxcpt.c (feenableexcept): Likewise.
105 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
107         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
108         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
110         [BZ #13304]
111         * sysdeps/mips/ieee754/s_fma.c: New file.
112         * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
113         * sysdeps/mips/ieee754/s_fmal.c: Likewise.
114         * sysdeps/mips/mips32/Implies: Add mips/soft-fp.
115         * sysdeps/mips/mips64/n32/s_fma.c: Remove file.
116         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
117         * sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_MUL_MEAT_DW_S):
118         New macro.
119         (_FP_MUL_MEAT_DW_D): Likewise.
120         (_FP_MUL_MEAT_DW_Q): Likewise.
121         * sysdeps/mips/soft-fp/sfp-machine.h (_FP_MUL_MEAT_DW_S): New
122         macro.
123         (_FP_MUL_MEAT_DW_D): Likewise.
124         (_FP_MUL_MEAT_DW_Q): Likewise.
126 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
128         * sysdeps/mips/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
129         to macro prototype for AT_HWCAP2 support.
131 2013-06-27  Maciej W. Rozycki  <macro@codesourcery.com>
133         * sysdeps/unix/sysv/linux/mips/dl-static.c: Do not include
134         <bits/libc-lock.h>.
135         (_dl_static_lock): Remove variable.
136         (_dl_static_init): Remove _dl_static_lock locking.
138 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
140         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
141         Update.
142         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
143         Likewise.
144         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
145         Likewise.
147 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
149         [BZ #14909]
150         * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
151         Rename __fpc_csr field to __glibc_reserved1.
152         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux) [__mips_hard_float]:
153         Do not set __fpc_csr.
154         * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux)
155         [__mips_hard_float]: Likewise.
156         * sysdeps/mips/__longjmp.c (____longjmp) [__mips_hard_float]: Do
157         not use __fpc_csr.
158         * sysdeps/mips/mips64/__longjmp.c (__longjmp) [__mips_hard_float]:
159         Likewise.
161         * sysdeps/mips/math-tests.h: New file.
163 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
165         * sysdeps/mips/fpu/fgetexcptflg.c: Remove trailing whitespace.
166         * sysdeps/mips/fpu/fraiseexcpt.c: Likewise.
167         * sysdeps/mips/memset.S: Likewise.
168         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
169         * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
170         * sysdeps/mips/mips64/memset.S: Likewise.
171         * sysdeps/mips/mips64/setjmp.S: Likewise.
172         * sysdeps/mips/start.S: Likewise.
173         * sysdeps/unix/mips/sysdep.S: Likewise.
174         * sysdeps/unix/sysv/linux/mips/dl-static.c: Likewise.
175         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Likewise.
177 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
179         [BZ #15465]
180         * sysdeps/mips/dl-lookup.c (do_lookup_x): Use DSO_FILENAME.
181         (add_dependency): Likewise.
182         (_dl_lookup_symbol_x): Likewise.
183         (_dl_debug_bindings): Likewise.
184         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Use
185         RTLD_PROGNAME.
187 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
189         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add
190         si_addr_lsb to _sifields.sifault.
191         (si_addr_lsb): Define new macro.
192         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
194 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
196         * sysdeps/mips/mips32/libm-test-ulps: Update test names.
197         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
199 2013-05-21  Joseph Myers  <joseph@codesourcery.com>
201         [BZ #15506]
202         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
203         [!__PIC__] (PSEUDO): Undefine and redefine.
204         (PSEUDO_END): Undefine and redefine unconditionally.
205         [!__PIC__] (STK_PAD): Define to 0.
206         [!__PIC__] (STKOFF_GP): Do not define.
207         [!__PIC__] (STKSPACE): Define to (STKOFF_SVMSK + SZREG).
208         (PSEUDO_JMP): Define depending on [__PIC__].
209         (CENABLE): Use PSEUDO_JMP in all definitions.
210         (CDISABLE): Likewise.
211         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
212         (SYSCALL_ERROR_LABEL): Define unconditionally.
213         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
214         (SYSCALL_ERROR_LABEL): Define unconditionally.
216 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
218         * sysdeps/mips/mips32/libm-test-ulps: Update names of sincos
219         tests.
220         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
222 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
224         [BZ #15442]
225         * sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
226         New macro.
227         (_FP_NANFRAC_S): Don't set the quiet bit.
228         (_FP_NANFRAC_D): Likewise.
229         (_FP_NANFRAC_Q): Likewise.
230         * sysdeps/mips/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): New
231         macro.
232         (_FP_NANFRAC_S): Don't set the quiet bit.
233         (_FP_NANFRAC_D): Likewise.
234         (_FP_NANFRAC_Q): Likewise.
236 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
238         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: Add missing
239         #include <stdint.h> due to uint64_t or uint32_t usage.
240         * sysdeps/mips/bits/atomic.h: Likewise.
242 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
244         * sysdeps/mips/math_private.h: New file.
246 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
248         * sysdeps/unix/sysv/linux/mips/configure.in (default-abi): Set
249         using LIBC_CONFIG_VAR.
250         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
251         * sysdeps/unix/sysv/linux/mips/Makefile: Do not include
252         default-abi.make.
254 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
256         * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
257         (MAP_ANONYMOUS): Don't define.
259 2013-03-06  Andreas Jaeger  <aj@suse.de>
261         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines
262         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
263         (__MAP_ANONYMOUS): Define.
265         * sysdeps/unix/sysv/linux/mips/bits/msq.h (MSG_COPY): Define.
267 2013-02-27  Chung-Lin Tang  <cltang@codesourcery.com>
268             Maciej W. Rozycki  <macro@codesourcery.com>
269             Maxim Kuvyrkov  <maxim@codesourcery.com>
271         * sysdeps/mips/abort-instr.h (ABORT_INSTRUCTION) [__mips16]:
272         New macro.
273         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Add
274         MIPS16 version of assembly code.
275         (RTLD_START) [__mips16]: New macro.
276         * sysdeps/mips/fpu_control.h (__mips_fpu_getcw): New prototype.
277         (__mips_fpu_setcw): Likewise.
278         (_FPU_GETCW) [__mips16]: New macro.
279         (_FPU_SETCW) [__mips16]: Likewise.
280         * sysdeps/mips/machine-gmon.h (MCOUNT): Add `.set nomips16'.
281         * sysdeps/mips/tls-macros.h (LOAD_GP) [__mips16]: New macro.
282         (TLS_GD, TLS_LD, TLS_IE, TLS_LE) [__mips16]: Likewise.
283         * sysdeps/mips/bits/atomic.h: Also use __atomic_* builtins with
284         GCC 4.7 in MIPS16 code.
285         (atomic_compare_and_exchange_val_acq) [__mips16]: New macro.
286         (atomic_compare_and_exchange_bool_acq) [__mips16]: Likewise.
287         (atomic_exchange_acq) [__mips16]: Likewise.
288         (atomic_exchange_and_add) [__mips16]: Likewise.
289         (atomic_bit_test_set) [__mips16]: Likewise.
290         (atomic_and, atomic_and_val) [__mips16]: Likewise.
291         (atomic_or, atomic_or_val) [__mips16]: Likewise.
292         (atomic_full_barrier) [__mips16]: Likewise.
293         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER) [__mips16]:
294         Likewise.
295         * sysdeps/mips/sys/tas.h (_test_and_set): Add `__nomips16__'
296         attribute.
297         * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO): Add
298         `.set nomips16'.
299         (PSEUDO_ERRVAL): Likewise.
300         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Likewise.
301         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
302         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
303         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
304         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS) [__mips16]: New macros.
305         (INTERNAL_SYSCALL_MIPS16) [__mips16]: Likewise.
306         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h:
307         New file.
308         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO):
309         Add `.set nomips16'.
310         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
311         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
312         * sysdeps/mips/memset.S (memset): Likewise.
313         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
314         * sysdeps/mips/start.S (ENTRY_POINT) [__mips16]: New function.
315         * sysdeps/mips/mips32/crti.S: Add `.set nomips16'.
316         * sysdeps/mips/mips32/crtn.S: Likewise.
317         * sysdeps/mips/mips64/n32/crti.S: Likewise.
318         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
319         * sysdeps/mips/mips64/n64/crti.S: Likewise.
320         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
321         * sysdeps/unix/mips/sysdep.S: Likewise.
322         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
323         * sysdeps/unix/sysv/linux/mips/getcontext.S: Likewise.
324         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
325         * sysdeps/unix/sysv/linux/mips/setcontext.S: Likewise.
326         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
327         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
328         * sysdeps/mips/__longjmp.c (__longjmp): Rename function to...
329         (____longjmp): ... this.  Make static and add `nomips16'
330         attribute.
331         (__longjmp): New alias.
332         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve) [__mips16]:
333         New function.
334         (_dl_runtime_pltresolve): Likewise.
335         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Add `nomips16'
336         attribute.
337         * sysdeps/mips/fpu/e_sqrt.c (__ieee754_sqrt): Likewise.
338         * sysdeps/mips/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise.
339         * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Rewrite in terms
340         of INTERNAL_SYSCALL.
341         * sysdeps/mips/mips32/fpu/fpu_control.c: New file.
342         * sysdeps/mips/mips32/mips16/add_n.c: New file.
343         * sysdeps/mips/mips32/mips16/addmul_1.c: New file.
344         * sysdeps/mips/mips32/mips16/lshift.c: New file.
345         * sysdeps/mips/mips32/mips16/mul_1.c: New file.
346         * sysdeps/mips/mips32/mips16/rshift.c: New file.
347         * sysdeps/mips/mips32/mips16/sub_n.c: New file.
348         * sysdeps/mips/mips32/mips16/submul_1.c: New file.
349         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c:
350         New file.
351         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c:
352         New file.
353         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c:
354         New file.
355         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c:
356         New file.
357         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c:
358         New file.
359         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
360         New file.
361         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
362         New file.
363         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
364         New file.
365         * sysdeps/mips/mips32/fpu/Versions: New file.
366         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions: New file.
367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: New
368         file.
369         * sysdeps/mips/mips32/mips16/fpu/Makefile: New file.
370         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile: New file.
371         * sysdeps/mips/preconfigure: Handle o32 MIPS16 compilation.
373 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
375         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
376         __attribute__ ((unused)) to __attribute__ ((__unused__)).
378         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Sort
379         properly.
381         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
382         __attribute_used__ to __attribute__ ((unused)).
384         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Add
385         __attribute_used__.
387         * sysdeps/mips/bits/nan.h: Align to generic IEEE 754 file.
389 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
391         [BZ #14920]
392         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
393         (FUTEX_WAIT_REQUEUE_PI): Define.
394         (FUTEX_CMP_REQUEUE_PI): Likewise.
395         (lll_futex_wait_requeue_pi): Likewise.
396         (lll_futex_timed_wait_requeue_pi): Likewise.
397         (lll_futex_cmp_requeue_pi): Likewise.
399 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
401         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
402         __cxa_thread_atexit_impl.
403         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
404         Likewise.
405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
406         Likewise.
408 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
410         [BZ #13550]
411         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c (__fxstat64): Do
412         not use __ptrvalue.
413         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c (__fxstatat64):
414         Likewise.
415         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c (__lxstat64):
416         Likewise.
417         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c (__xstat64):
418         Likewise.
419         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
420         Likewise.
422 2013-02-11  Joseph Myers  <joseph@codesourcery.com>
424         * sysdeps/mips/include/sys/asm.h: New file.
425         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use SETUP_GP64_REG
426         and RESTORE_GP64_REG.
427         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
428         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
429         * sysdeps/mips/sys/asm.h (__mips_cfi_startproc): Define to empty.
430         (__mips_cfi_endproc): Likewise.
431         (LEAF): Use __mips_cfi_startproc.
432         (NESTED): Likewise.
433         (END): Use __mips_cfi_endproc.
434         (EXPORT): Use __mips_cfi_startproc.
435         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Add CFI information
436         for error-handling code in both definitions.
437         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
438         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
439         * sysdeps/unix/mips/sysdep.h (ENTRY): Use cfi_startproc.
440         (END): Use cfi_endproc.
441         (PSEUDO_END): Likewise.
442         (PSEUDO_END_NOERRNO): Likewise.
443         (PSEUDO_END_ERRVAL): Likewise.
444         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Add CFI
445         information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
446         * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext):
447         Likewise.
448         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
449         Likewise.
450         * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
451         SETUP_GP64_REG and RESTORE_GP64_REG.
452         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
453         [(!NOT_IN_libc || IS_IN_libpthread || IS_IN_librt) && __PIC__]
454         (PSEUDO): Use cfi_endproc before ENTRY.
455         * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Add CFI
456         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
457         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h [(!NOT_IN_libc
458         || IS_IN_libpthread || IS_IN_librt) && __PIC__] (PSEUDO): Use
459         cfi_endproc before ENTRY.
460         * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext): Add
461         CFI information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
462         * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
463         Likewise.
464         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Add CFI
465         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
467 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
469         [BZ #13550]
470         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: Don't include
471         <bp-checks.h>.
472         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
473         (__libc_pread): Don't use CHECK_N.
474         * sysdeps/unix/sysv/linux/mips/pread64.c: Don't include
475         <bp-checks.h>.
476         (__libc_pread64): Don't use CHECK_N.
477         * sysdeps/unix/sysv/linux/mips/pwrite.c: Don't include
478         <bp-checks.h>.
479         (__libc_pwrite): Don't use CHECK_N.
480         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Don't include
481         <bp-checks.h>.
482         (__libc_pwrite64): Don't use CHECK_N.
484         * sysdeps/mips/add_n.S (__mpn_add_n): Use END.
485         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
486         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
487         * sysdeps/mips/mips64/add_n.S (__mpn_add_n): Use ENTRY and END.
488         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Likewise.
489         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use END.
490         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
491         * sysdeps/mips/mips64/lshift.S (__mpn_lshift): Use ENTRY and END.
492         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Likewise.
493         * sysdeps/mips/mips64/rshift.S (__mpn_rshift): Likewise.
494         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Use END.
495         * sysdeps/mips/mips64/sub_n.S (__mpn_sub_n): Use ENTRY and END.
496         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Likewise.
497         * sysdeps/mips/setjmp.S (__sigsetjmp): Use END.
499         [BZ #13550]
500         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Do not include
501         <bp-checks.h>.
502         (__msgctl): Do not use CHECK_1.
503         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Do not include
504         <bp-checks.h>.
505         (__shmctl): Do not use CHECK_1.
506         * sysdeps/unix/sysv/linux/mips/ustat.c: Do not include
507         <bp-checks.h>.
508         (ustat): Do not use CHECK_1.
510 2013-02-05  Maciej W. Rozycki  <macro@codesourcery.com>
512         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Add a missing
513         space in asm register specifiers throughout.
514         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
515         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
517         [BZ #15054]
518         * sysdeps/unix/sysv/linux/mips/mips32/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, internal_syscall7): Likewise.
528         * sysdeps/unix/sysv/linux/mips/mips64/n32/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.
538         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (MOVE32):
539         New macro.
540         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
541         restart convention.
542         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
543         convention.
544         (internal_syscall0, internal_syscall1): Likewise.
545         (internal_syscall2, internal_syscall3): Likewise.
546         (internal_syscall4, internal_syscall5): Likewise.
547         (internal_syscall6): Likewise.
549 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
551         [BZ #13550]
552         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Do not include
553         <bp-checks.h>.
554         (truncate64): Do not use CHECK_STRING.
555         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
556         <bp-checks.h>.
557         (__fxstatat64): Do not use CHECK_STRING.
558         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Do not include
559         <bp-checks.h>.
560         (__lxstat64): Do not use CHECK_STRING.
561         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Do not include
562         <bp-checks.h>.
563         (__xstat64): Do not use CHECK_STRING.
565 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
567         [BZ #13550]
568         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Don't include
569         <bp-checks.h> and <bp-semctl.h>.
570         (__semctl): Don't use CHECK_SEMCTL.
572 2013-01-29  Maciej W. Rozycki  <macro@codesourcery.com>
574         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Correct
575         whitespace damage throughout.
576         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
578 2013-01-25  Steve Ellcey  <sellcey@mips.com>
580         * sysdeps/mips/memmove.c: Remove.
582 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
584         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h (struct
585         sigcontext): Use __extension__ with long long in all definitions.
587 2013-01-08  Steve Ellcey  <sellcey@mips.com>
589         * sysdeps/mips/memcpy.S: Change prefetch hint, reorder partial
590         loads and stores, set and use MAX_PREFETCH_SIZE.
592 2013-01-08  Andreas Jaeger  <aj@suse.de>
594         [BZ# 14985]
595         * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): Remove.
597 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
599         * All files with FSF copyright notices: Update copyright dates
600         using scripts/update-copyrights.
602 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
604         * sysdeps/mips/bits/dlfcn.h: Reformat copyright notice.
605         * sysdeps/mips/bits/mathdef.h: Likewise.
606         * sysdeps/mips/bits/setjmp.h: Likewise.
607         * sysdeps/mips/ieee754/ieee754.h: Likewise.
608         * sysdeps/mips/machine-gmon.h: Likewise.
609         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
610         * sysdeps/mips/mips64/setjmp.S: Likewise.
611         * sysdeps/mips/start.S: Likewise.
612         * sysdeps/unix/mips/mips64/n32/sysdep.h: Likewise.
613         * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
614         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
615         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
617 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
619         * sysdeps/mips/fpu_control.h [__mips_soft_float] (_FPU_GETCW):
620         Define to set cw to 0, not just to plain "0" as a statement.
621         [__mips_soft_float] (_FPU_SETCW): Define to (void) (cw), rather
622         than doing nothing with cw.
624 2012-11-30  Joseph Myers  <joseph@codesourcery.com>
626         * sysdeps/mips/mips32/libm-test-ulps: Update.
627         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
629 2012-11-29  Joseph Myers  <joseph@codesourcery.com>
631         [BZ #14893]
632         * sysdeps/mips/mips64/n32/_itoa.h: New file.
633         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include
634         <sgidefs.h>.
635         (CTX_TYPE): New macro.
636         (CTX_REG): Likewise.
637         (CTX_PC): Likewise.
638         (CTX_MDHI): Likewise.
639         (CTX_MDLO): Likewise.
640         (REG_HEX_SIZE): Likewise.
641         (hexvalue): Take _ITOA_WORD_TYPE argument.
642         (register_dump): Use these macros instead of hardcoding struct
643         sigcontext * type and accesses and 8-byte textual output for
644         registers.
646 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
648         [BZ #14822]
649         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
650         (sendfile): New syscall entry.
651         * sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c: New file.
652         Copy of ../sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c.
654 2012-11-21  Joseph Myers  <joseph@codesourcery.com>
656         * sysdeps/mips/jmpbuf-unwind.h (_jmpbuf_sp): Cast regs[0].__sp to
657         uintptr_t.
659         * sysdeps/mips/sotruss-lib.c: New file.
661 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
663         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
664         (internal_syscall1): Use parentheses around macro arguments.
665         (internal_syscall2): Likewise.
666         (internal_syscall3): Likewise.
667         (internal_syscall4): Likewise.
668         (internal_syscall5): Likewise.
669         (internal_syscall6): Likewise.
670         (internal_syscall7): Likewise.
671         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
672         (internal_syscall1): Likewise.
673         (internal_syscall2): Likewise.
674         (internal_syscall3): Likewise.
675         (internal_syscall4): Likewise.
676         (internal_syscall5): Likewise.
677         (internal_syscall6): Likewise.
679         * sysdeps/mips/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
680         _Unwind_GetCFA return to _Unwind_Ptr before casting to a pointer
681         type.
682         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c (CHECK_SP): Cast
683         ss_sp to long before casting to sp_type.
684         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h [_MIPS_SIM ==
685         _ABIO32] (GET_PC): Cast to unsigned long before casting to a
686         pointer type.
687         [_MIPS_SIM == _ABIO32] (GET_FRAME): Likewise.
688         [_MIPS_SIM == _ABIO32] (GET_STACK): Likewise.
689         [_MIPS_SIM != _ABIO32] (GET_PC): Likewise.
690         [_MIPS_SIM != _ABIO32] (GET_FRAME): Likewise.
691         [_MIPS_SIM != _ABIO32] (GET_STACK): Likewise.
693         * sysdeps/mips/bits/atomic.h [!__GNUC_PREREQ (4, 8)]
694         (__arch_compare_and_exchange_xxx_8_int): Separate assignments to
695         __prev and __cmp.  Cast __cmp to void.
696         [!__GNUC_PREREQ (4, 8)] (__arch_compare_and_exchange_xxx_16_int):
697         Likewise.
698         [!__GNUC_PREREQ (4, 8) && _MIPS_SIM == _ABIO32]
699         (__arch_compare_and_exchange_xxx_64_int): Likewise.
701 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
703         * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Declare VERSION
704         variable with __attribute__ ((unused)).
706         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
707         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
708         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
709         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
710         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
711         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
712         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
713         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
714         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
715         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
716         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
717         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
719 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
721         * sysdeps/mips/bits/atomic.h
722         (__arch_compare_and_exchange_bool_8_int): Mark __PREV variable
723         with __attribute__ ((unused)).
724         (__arch_compare_and_exchange_bool_16_int): Likewise.
725         (__arch_compare_and_exchange_bool_32_int): Likewise.
726         (__arch_compare_and_exchange_bool_64_int): Likewise.
728 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
730         * sysdeps/mips/memmove.c: New file.  Use memcpy for forward memmove.
732 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
734         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
735         (lll_futex_timed_wait_bitset): New macro.
737 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
739         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Don't
740         include <stub-tag.h>.
742 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
744         * sysdeps/mips/fpu/fclrexcpt.c (feclearexcept): Add
745         libm_hidden_def.
747         [BZ #3439]
748         * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define macro to integer
749         constant usable in #if and use that to give value to enum
750         constant.
751         (FE_UNDERFLOW): Likewise.
752         (FE_OVERFLOW): Likewise.
753         (FE_DIVBYZERO): Likewise.
754         (FE_INVALID): Likewise.
755         (FE_TONEAREST): Likewise.
756         (FE_TOWARDZERO): Likewise.
757         (FE_UPWARD): Likewise.
758         (FE_DOWNWARD): Likewise.
760 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
762         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
764         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist
765         (GLIBC_2.17): Add clock_* symbols.
767 2012-10-31  Steve Ellcey  <sellcey@mips.com>
769         * sysdeps/mips/memcpy.S: Add prefetching and more unrolling, make
770         it work in 32 or 64 bit modes.
771         * sysdeps/mips/mips64/memcpy.S: Remove.
773 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
775         [BZ #14047]
776         * sysdeps/mips/tininess.h: New file.
778 2012-10-29  Steve Ellcey  <sellcey@mips.com>
780         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
781         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
782         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
783         * sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
784         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
785         * sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
786         (abi-variants): Add hard and soft float versions.
787         (abi-o32-options): Remove.
788         (abi-o32-condition): Remove.
789         (abi-n32-options): Remove.
790         (abi-n32-condition): Remove.
791         (abi-n64-options): Remove.
792         (abi-n64-condition): Remove.
793         (abi-o32_soft-options): New.
794         (abi-o32_soft-condition): New.
795         (abi-o32_hard-options): New.
796         (abi-o32_hard-condition): New.
797         (abi-n32_soft-options): New.
798         (abi-n32_soft-condition): New.
799         (abi-n32_hard-options): New.
800         (abi-n32_hard-condition): New.
801         (abi-n64_soft-options): New.
802         (abi-n64_soft-condition): New.
803         (abi-n64_hard-options): New.
804         (abi-n64_hard-condition): New.
806 2012-10-19  Roland McGrath  <roland@hack.frob.com>
808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist
809         (GLIBC_2.17): Add clock_* symbols.
810         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
812 2012-10-24  Andreas Jaeger  <aj@suse.de>
814         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all
815         definitions and declarations that are provided by
816         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
818 2012-10-03  Steve Ellcey  <sellcey@mips.com>
820         * sysdeps/mips/ieee754.h: Move to...
821         * sysdeps/mips/ieee754/ieee754.h: Here.
822         * sysdeps/mips/mips32/Implies: Add mips/ieee754.
823         * sysdeps/mips/mips64/Implies: Ditto.
824         * sysdeps/mips/mips64/n32/Implies: Ditto.
825         * sysdeps/mips/mips64/n64/Implies: Ditto.
827 2012-10-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
829         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Fix clone
830         flag name in comment to CLONE_CHILD_CLEARTID.
832 2012-09-28  Roland McGrath  <roland@hack.frob.com>
834         * sysdeps/mips/init-first.c: File removed.
836 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
838         * sysdeps/mips/dl-trampoline.c (VERSYMIDX): Removed.
840 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
842         * sysdeps/unix/sysv/linux/mips/kernel-features.h
843         (__ASSUME_STAT64_SYSCALL): Remove.
845 2012-08-27  Guido Guenther  <agx@sigxcpu.org>
847         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Set bit 23.
849 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
851         * sysdeps/unix/sysv/linux/mips/kernel-features.h [_MIPS_SIM ==
852         _ABIO32] (__ASSUME_STAT64_SYSCALL): Define.
853         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: New file.  Based
854         on version from ../sysdeps/unix/sysv/linux/.
855         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Likewise.
856         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Likewise.
858 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
860         * sysdeps/mips/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
861         <mips_o32_gnu_pltenter, mips_n32_gnu_pltenter, mips_n64_gnu_pltenter>:
862         struct La_mips_32_regs and struct La_mips_64_regs are not constant.
864 2012-08-15  Tom de Vries  <vries@codesourcery.com>
865             Maxim Kuvyrkov  <maxim@codesourcery.com>
867         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (__libc_lock_lock)
868         (__libc_lock_trylock): Define versions optimized for MIPS.
870 2012-08-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
872         * sysdeps/mips/nptl/pthread_spin_lock.S: Remove, use generic version.
873         * sysdeps/mips/nptl/pthread_spin_lock.c: New file.
874         * sysdeps/mips/nptl/pthread_spin_trylock.S: Remove, use generic version.
876 2012-08-15  Joseph Myers  <joseph@codesourcery.com>
878         * sysdeps/mips/dl-lookup.c: Update from generic version.
880 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
882         [__GNUC_PREREQ (4, 8)]
883         (atomic_exchange_and_add): Split into ...
884         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
885         New atomic macros.
886         [!__GNUC_PREREQ (4, 8)]
887         (atomic_exchange_and_add): Split into ...
888         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
889         New atomic macros.
891 2012-08-09  Joseph Myers  <joseph@codesourcery.com>
893         * sysdeps/unix/sysv/linux/mips/kernel-features.h
894         (__ASSUME_UTIMES): Define.
896 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
898         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
899         Remove.
900         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
902 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
904         * sysdeps/unix/sysv/linux/mips/kernel-features.h
905         (__ASSUME_FCNTL64): Remove.
907 2012-08-01  Steve Ellcey  <sellcey@mips.com>
909         * sysdeps/mips/sys/asm.h [_MIPS_ISA != _MIPS_ISA_MIPS4 &&
910         _MIPS_ISA != _MIPS_ISA_MIPS5 && _MIPS_ISA != _MIPS_ISA_MIPS32 &&
911         _MIPS_ISA != _MIPS_ISA_MIPS64] (PREF): Define as function-like
912         macro.
913         (PREFX): Likewise.
915 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
917         * sysdeps/unix/sysv/linux/mips/fcntl.c: Remove.
918         * sysdeps/unix/sysv/linux/mips/lockf64.c: Likewise.
919         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: New file.
920         * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
921         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
922         * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
924 2012-07-27  Joseph Myers  <joseph@codesourcery.com>
926         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): New.
927         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: New file.
929 2012-07-25  Florian Weimer  <fweimer@redhat.com>
931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
932         secure_getenv.
933         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
934         Likewise.
935         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
936         Likewise.
938 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
940         * sysdeps/mips/configure.in: Remove TLS check.
941         * sysdeps/mips/configure: Regenerated.
943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: New
944         file.
945         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
946         Likewise.
947         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
948         Likewise.
950 2012-07-11  Tom de Vries  <vries@codesourcery.com>
951             Maxim Kuvyrkov  <maxim@codesourcery.com>
953         * sysdeps/mips/bits/atomic.h [__GNUC_PREREQ (4, 8)]
954         (__arch_compare_and_exchange_bool_32_int)
955         (__arch_compare_and_exchange_val_32_int)
956         (__arch_compare_and_exchange_bool_64_int)
957         (__arch_compare_and_exchange_val_64_int)
958         Define in terms of __atomic_compare_exchange_n.
959         [__GNUC_PREREQ (4, 8)]
960         (__arch_exchange_32_int, __arch_exchange_64_int):
961         Define in terms of __atomic_exchange_n.
962         [__GNUC_PREREQ (4, 8)]
963         (__arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
964         Define in terms of __atomic_fetch_add.
965         [!__GNUC_PREREQ (4, 8)]: Update formatting.
967 2012-07-06  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
969         * sysdeps/mips/dl-machine.h (RTLD_START): Do not store data below
970         the stack pointer.
972 2012-06-19  Joseph Myers  <joseph@codesourcery.com>
974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Update
975         _gp_disp entry.
976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
977         Likewise.
978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist:
979         Likewise.
980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist:
982         Likewise.
983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist:
984         Likewise.
985         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist:
986         Likewise.
987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist:
989         Likewise.
990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
991         Likewise.
992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
993         Likewise.
994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
995         Likewise.
996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
997         Likewise.
998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
999         Likewise.
1000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
1001         Likewise.
1002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1003         Likewise.
1004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
1005         Likewise.
1006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist:
1007         Likewise.
1008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist:
1009         Likewise.
1010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1011         Likewise.
1012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist:
1013         Likewise.
1015 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
1017         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1018         (FORCE_FRAME_POINTER): Assign result of alloca to a volatile
1019         variable.
1021 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1023         * sysdeps/mips/mips64/n32/s_fma.c: New file.
1024         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
1026         * sysdeps/unix/sysv/linux/mips/Makefile (abi-n32-condition): Fix
1027         typo.
1029 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
1031         * sysdeps/mips/mips64/libm-test-ulps: Remove sqrt ulps.
1033         * sysdeps/mips/mips32/libm-test-ulps: Regenerate.
1034         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1036 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
1038         * sysdeps/unix/sysv/linux/mips/Makefile [subdir = misc]: Move ABI
1039         settings out of conditional.
1041         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove
1042         __connect_internal alias.
1044         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1045         (FP_TRAPPING_EXCEPTIONS): Define.
1047         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-variants):
1048         Rename to abi-variants.
1049         (syscall-list-includes): Rename to abi-includes.
1050         (syscall-list-o32-options): Rename to abi-o32-options.
1051         (syscall-list-o32-condition): Rename to abi-o32-condition.
1052         (syscall-list-n32-options): Rename to abi-n32-options.
1053         (syscall-list-n32-condition): Rename to abi-n32-condition.
1054         (syscall-list-n64-options): Rename to abi-n64-options.
1055         (syscall-list-n64-condition): Rename to abi-n64-condition.
1056         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1057         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Likewise.
1058         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Likewise.
1060         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Replace
1061         _internal alias by hidden_def.
1063 2012-05-26  Joseph Myers  <joseph@codesourcery.com>
1065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: New
1066         file.
1067         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1068         Likewise.
1069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
1070         Likewise.
1071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
1072         Likewise.
1073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1074         Likewise.
1075         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1076         Likewise.
1077         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
1078         Likewise.
1079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1080         Likewise.
1082 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1084         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1085         (__ASSUME_32BITUIDS): Remove.
1087 2012-05-23  Steve Ellcey  <sellcey@mips.com>
1089         * sysdeps/unix/sysv/linux/mips/Makefile
1090         (syscall-list-o32-options): Use -D_MIPS_SIM=1.
1091         (syscall-list-n32-options): Use -D_MIPS_SIM=2.
1092         (syscall-list-n64-options): Use -D_MIPS_SIM=3.
1094 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
1096         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_DONTDUMP):
1097         Define.
1098         (MADV_DODUMP): Likewise.
1100 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
1102         * sysdeps/mips/bits/wordsize.h (__WORDSIZE_COMPAT32): Rename to
1103         __WORDSIZE_TIME64_COMPAT32.
1105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Update.
1106         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Update.
1107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Update.
1109 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
1111         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Move to ...
1112         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: ... here.
1113         (kernel-features.h): Don't include.
1114         [__NR_ftruncate64]: Make code unconditional.
1115         [!__NR_ftruncate64]: Remove conditional code.
1116         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1117         * sysdeps/unix/sysv/linux/mips/truncate64.c: Move to ...
1118         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: ... here.
1119         (kernel-features.h): Don't include.
1120         [__NR_truncate64]: Make code unconditional.
1121         [!__NR_truncate64]: Remove conditional code.
1122         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1123         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1124         Add syscall.
1125         (truncate): Likewise.
1126         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1127         (ftruncate): Remove syscall.
1128         (truncate): Likewise.
1129         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Move to ...
1130         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: ... here.
1131         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Move to ...
1132         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: ... here.
1134 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
1136         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat)
1137         [!__USE_MISC && !__USE_XOPEN2K8]: Declare nanoseconds fields with
1138         type unsigned long and names st_atimensec, st_mtimensec and
1139         st_ctimensec.
1140         (struct stat64) [!__USE_MISC && !__USE_XOPEN2K8]: Likewise.
1142 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
1144         * sysdeps/unix/sysv/linux/mips/pread.c [!__ASSUME_PREAD_SYSCALL]:
1145         Remove conditional code.
1146         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1147         * sysdeps/unix/sysv/linux/mips/pread64.c
1148         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1149         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1150         * sysdeps/unix/sysv/linux/mips/pwrite.c
1151         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1152         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1153         * sysdeps/unix/sysv/linux/mips/pwrite64.c
1154         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1155         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1156         * sysdeps/unix/sysv/linux/mips/sigaction.c
1157         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1158         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1160 2012-05-11  Joseph Myers  <joseph@codesourcery.com>
1162         * sysdeps/mips/dl-lookup.c: Update from generic version.
1164 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
1166         * sysdeps/mips/fpu/libm-test-ulps: Move to ...
1167         * sysdeps/mips/mips32/libm-test-ulps: ... here.
1168         * sysdeps/mips/mips64/n32/libm-test-ulps: Move to ...
1169         * sysdeps/mips/mips64/libm-test-ulps: ... here.
1170         * sysdeps/mips/mips64/n64/libm-test-ulps: Remove file.
1172 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1174         [BZ #14044]
1175         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Copy
1176         from libc version and add symbol versions.
1177         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilis
1178         (GLIBC_2.3.3): Add posix_fadvise64.
1180 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: New file.
1183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1184         Likewise.
1185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Likewise.
1186         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
1187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Likewise.
1188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Likewise.
1189         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
1190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Likewise.
1191         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
1192         Likewise.
1193         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Likewise.
1194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Likewise.
1195         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1196         Likewise.
1197         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Likewise.
1198         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Likewise.
1199         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1200         Likewise.
1201         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1202         Likewise.
1203         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Likewise.
1204         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1205         Likewise.
1206         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: Likewise.
1207         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: Likewise.
1208         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1209         Likewise.
1210         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1211         Likewise.
1212         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1213         Likewise.
1214         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: Likewise.
1215         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1216         Likewise.
1217         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1218         Likewise.
1219         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Likewise.
1220         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1221         Likewise.
1222         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1223         Likewise.
1224         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
1225         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1226         Likewise.
1227         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Likewise.
1228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Likewise.
1229         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist:
1230         Likewise.
1231         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1232         Likewise.
1233         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1234         Likewise.
1235         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Likewise.
1236         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1237         Likewise.
1238         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1239         Likewise.
1241         * sysdeps/mips/mips64/memcpy.S: Don't include <endian.h>.  Test
1242         __MIPSEB instead of __BYTE_ORDER.
1243         * sysdeps/mips/mips64/memset.S: Likewise.
1245 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1247         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1248         Change to 2.6.12.
1249         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1251 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1253         * sysdeps/unix/mips/brk.S: Remove file.
1254         * sysdeps/unix/mips/dl-brk.S: Likewise.
1255         * sysdeps/unix/mips/sigreturn.S: Likewise.
1256         * sysdeps/unix/mips/wait.S: Likewise.
1258 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1260         * sysdeps/mips/memcpy.S: Don't include <endian.h>.  Test __MIPSEB
1261         instead of __BYTE_ORDER.
1262         * sysdeps/mips/memset.S: Likewise.
1264         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1265         kernel_rt_sigframe): Use siginfo_t instead of struct siginfo.
1267 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1269         * sysdeps/unix/mips/fork.S: Remove file.
1271 2012-04-24  Mike Frysinger  <vapier@gentoo.org>
1273         * sysdeps/unix/sysv/linux/mips/mips64/configure.in
1274         (ldd_rewrite_script): Change $dest to $dir.
1275         * sysdeps/unix/sysv/linux/mips/mips64/configure: Regenerate.
1277 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
1279         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Include
1280         sysdeps/unix/sysv/linux/arm/readahead.c not
1281         sysdeps/unix/sysv/linux/arm/eabi/readahead.c.
1283 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1285         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define.
1286         (MAP_HUGETLB): Likewise.
1288 2012-03-27  Joseph Myers  <joseph@codesourcery.com>
1290         * sysdeps/mips/elf/start.S: Moved to ...
1291         * sysdeps/mips/start.S: ...here.
1292         * sysdeps/mips/elf/configure.in: Moved to ...
1293         * sysdeps/mips/configure.in: ...here.  Update comment.
1294         * sysdeps/mips/configure: New generated file.
1296 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1298         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include <_itoa.h>
1299         instead of <stdio-common/_itoa.h>.
1301 2012-03-10  Paul Eggert  <eggert@cs.ucla.edu>
1303         [BZ #13673]
1304         * sysdeps/mips/mips64/gmp-mparam.h: Replace FSF snail mail address
1305         with URL.
1307 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
1309         [BZ #13673]
1310         Replace FSF snail mail address with URLs, as per GNU coding standards.
1312 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1314         * sysdeps/unix/sysv/linux/mips/bits/socket_type.h: New file.
1315         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Remove.
1317 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1319         * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not
1320         declare recvmmsg and sendmmsg.
1322 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1324         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t):
1325         Change union tag to pthread_attr_t.  Only define typedef if not
1326         already defined.
1327         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1328         (pthread_attr_t): Change union tag to pthread_attr_t.  Only define
1329         typedef if not already defined.
1331 2012-02-26  Joseph Myers  <joseph@codesourcery.com>
1333         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
1334         siginfo_t struct.  Add forward declaration of pthread_attr_t and
1335         use it in sigevent.
1336         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
1337         pthread_attr_t union.
1339 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
1341         * sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
1342         * sysdeps/unix/sysv/linux/mips/bits/timerfd.h: Likewise.
1343         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Remove.
1344         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1346 2012-02-20  Andreas Schwab  <schwab@linux-m68k.org>
1348         * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
1349         not defined.
1351 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1353         * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,
1354         matching the array in dl-procinfo.c.
1356 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1358         * sysdeps/mips/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1359         * sysdeps/mips/mips64/n32/fpu/libm-test-ulps: Likewise.
1360         * sysdeps/mips/mips64/n64/fpu/libm-test-ulps: Likewise.
1362 2012-02-15  Robert Millan  <rmh@gnu.org>
1364         [BZ #12301]
1365         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__]
1366         [__PIC__] (SYSCALL_ERROR_LABEL): New macro.
1368 2012-02-15  Robert Millan  <rmh@gnu.org>
1370         [BZ #12298]
1371         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Moved to ...
1372         * sysdeps/mips/sys/tas.h: ... here.
1374 2012-02-15  Robert Millan  <rmh@gnu.org>
1376         [BZ #12297]
1377         * sysdeps/mips/dl-machine.h: Fix a comment regarding __start.
1378         * sysdeps/unix/sysv/linux/mips/entry.h: Moved to ...
1379         * sysdeps/unix/mips/entry.h: ... here.
1381 2012-02-15  Robert Millan  <rmh@gnu.org>
1383         [BZ #12193]
1384         * sysdeps/mips/dl-machine.h (DL_PLATFORM_INIT, dl_platform_init):
1385         Define.
1386         * sysdeps/mips/dl-procinfo.c: New file.
1387         * sysdeps/mips/dl-procinfo.h: Likewise.
1389 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
1391         * sysdeps/unix/sysv/linux/mips/bits/signalfd.h: New file.
1392         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: Remove.
1394 2012-02-15  Viju Vincent  <vijuvince@gmail.com>
1396         * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Use locking
1397         around calls to _dl_lookup_symbol_x.
1399 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1401         * sysdeps/unix/sysv/linux/mips/bits/inotify.h: New file.
1402         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Remove.
1404 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1406         * sysdeps/unix/sysv/linux/mips/bits/eventfd.h: New file.
1407         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Remove.
1409 2012-02-10  Joseph Myers  <joseph@codesourcery.com>
1411         * sysdeps/mips/mips32/crti.S: New file, based on compiler output
1412         for sysdeps/generic/initfini.c.
1413         * sysdeps/mips/mips32/crtn.S: Likewise.
1414         * sysdeps/mips/mips64/n32/crti.S: Likewise.
1415         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
1416         * sysdeps/mips/mips64/n64/crti.S: Likewise.
1417         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
1418         * sysdeps/mips/Makefile (CFLAGS-initfini.s): Remove variable.
1419         (CFLAGS-pt-initfini.s): Likewise.
1420         (CPPFLAGS-crti.S, CPPFLAGS-crtn.S, CPPFLAGS-pt-crti.S): Define
1421         variables.
1423 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
1425         * sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals.
1426         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1427         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1428         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1430 2012-01-08  Joseph Myers  <joseph@codesourcery.com>
1432         * sysdeps/mips/bits/fenv.h: Use const instead of __const.
1433         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1434         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1435         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1436         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Likewise.
1437         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1438         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1440 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1442         * sysdeps/mips/nptl/shlib-versions: New.
1444 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1446         * sysdeps/mips/backtrace.c: Use x86_64 version of backtrace.c.
1448 2012-01-04  Tom de Vries  <tom@codesourcery.com>
1450         * sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with
1451         -fno-unwind-tables.
1453 2012-01-03  Tom de Vries  <tom@codesourcery.com>
1455         * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
1456         * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
1458 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1460         * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)
1461         (mips_list_syscalls, $(objpfx)syscall-%.h $(objpfx)syscall-%.d):
1462         Remove.
1463         (syscall-list-variants, syscall-list-includes)
1464         (syscall-list-o32-options, syscall-list-o32-condition)
1465         (syscall-list-n32-options, syscall-list-n32-condition)
1466         (syscall-list-n64-options, syscall-list-n64-condition): Define.
1467         * sysdeps/unix/sysv/linux/mips/configure.in: Don't generate
1468         asm-unistd.h.
1469         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1470         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Remove.
1472 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1474         [BZ #13538]
1475         * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT)
1476         (EPOLLET): Initialize with unsigned values.
1478 2011-12-19  Joseph Myers  <joseph@codesourcery.com>
1480         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
1481         $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h.
1483 2011-11-17  Joseph Myers  <joseph@codesourcery.com>
1485         * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c,
1486         sysdeps/unix/sysv/linux/mips/mips64/n64/ftw64.c: New.
1488 2011-11-11  Joseph Myers  <joseph@codesourcery.com>
1490         * sysdeps/mips/dl-lookup.c: Update from generic version.
1492 2011-10-12  Joseph Myers  <joseph@codesourcery.com>
1494         * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
1495         * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
1496         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias.
1498 2011-10-05  Andreas Schwab  <schwab@redhat.com>
1500         * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela)
1501         (elf_machine_lazy_rel): Add parameter skip_ifunc.
1503 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1505         * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Cast
1506         return value to (struct cmsghdr *).
1508 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1510         * sysdeps/mips/elf/configure.in: Always test for TLS support and
1511         error out in case it is missing.
1512         * sysdeps/mips/elf/configure: Regenerate.
1513         * sysdeps/mips/nptl/tls.h: Remove test for HAVE_TLS_SUPPORT.
1515 2011-09-11  Joseph Myers  <joseph@codesourcery.com>
1517         * sysdeps/mips/dl-machine.h, sysdeps/mips/libc-tls.c,
1518         sysdeps/mips/nptl/tls.h: Don't define or use USE_TLS.
1520 2011-09-06  Joseph Myers  <joseph@codesourcery.com>
1522         [BZ #13109]
1523         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs)
1524         (statfs): New.
1525         * sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c,
1526         sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New.
1528 2011-08-02  Matt Turner  <mattst88@gmail.com>
1530         * sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata.
1532 2011-07-25  Joseph Myers  <joseph@codesourcery.com>
1534         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC):
1535         Define.
1537 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1539         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c,
1540         sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: New.
1542 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1544         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SI_USER): Don't
1545         mention raise in the comment.
1547 2011-05-23  Aurelien Jarno  <aurelien@aurel32.net>
1549         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME):
1550         Add.
1552 2011-05-13  Joseph Myers  <joseph@codesourcery.com>
1554         * sysdeps/mips/dl-lookup.c: Update from generic version.
1556 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
1558         * sysdeps/mips/dl-lookup.c: Update from generic version.
1560 2011-04-11  Joseph Myers  <joseph@codesourcery.com>
1562         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
1564 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1566         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle
1567         to open_by_handle_at.
1569 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1571         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define.
1573 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1575         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct
1576         file_handle and MAX_HANDLE_SZ.  Declare name_to_handle_at and
1577         open_by_handle.  Augment a few comments.
1579 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1581         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Make
1582         cancelable.
1583         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Likewise.
1584         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1585         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Mark
1586         sync_file_range as cancellation point.
1587         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Mark
1588         sync_file_range as cancellation point.
1590 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1592         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add
1593         sync_file_range.
1595 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
1597         * sysdeps/mips/dl-lookup.c: Update from generic version.
1599 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1601         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
1602         MADV_NOHUGEPAGE): Define.
1604 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1606         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
1607         PF_CAIF, PF_ALG): Define.
1609 2010-12-30  Joseph Myers  <joseph@codesourcery.com>
1611         * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if
1612         NO_CTORS_DTORS_SECTIONS is defined.
1613         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1615 2010-12-21  Joseph Myers  <joseph@codesourcery.com>
1617         * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1619 2010-12-06  Matt Turner  <mattst88@gmail.com>
1621         * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
1623 2010-12-06  Joseph Myers  <joseph@codesourcery.com>
1625         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1626         Change to 2.4.1.
1627         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1629 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
1631         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1632         sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list,
1633         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries
1634         for fanotify_mark.
1636 2010-10-11  Joseph Myers  <joseph@codesourcery.com>
1638         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
1639         libm_hidden_def.
1640         * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
1642 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1644         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1645         (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
1647 2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
1649         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
1650         jump delay slot.
1651         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
1653 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1655         * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
1657 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1659         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
1660         struct statfs64): Add f_flags field.
1662 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1664         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
1665         Define.
1667 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1669         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
1670         and prlimit64.
1671         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1672         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
1673         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
1674         prlimit64 syscall.
1676 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
1678         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
1679         F_GETPIPE_SZ): Define.
1681 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
1683         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
1684         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
1686 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
1688         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
1690 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
1692         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
1693         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
1694         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1695         Define.
1697 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
1699         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
1700         MSG_WAITFORONE.
1702 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
1704         * sysdeps/mips/dl-lookup.c: Update from generic version.
1706 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
1708         [BZ #11291]
1709         * sysdeps/mips/bits/atomic.h
1710         (__arch_compare_and_exchange_xxx_32_int,
1711         __arch_compare_and_exchange_xxx_64_int,
1712         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
1713         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
1714         Specify *mem as asm output as well as input.
1716 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
1718         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
1720 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
1722         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
1723         _dl_runtime_pltresolve): Calculate offset from start of function
1724         to .cpload instead of hardcoding instruction size.
1726 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1728         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
1729         problem.
1731 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1733         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
1734         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
1736 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
1738         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
1739         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
1740         XPG7.
1741         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
1742         fcntl.h.
1744 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1746         [BZ #11093]
1747         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
1748         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
1750 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1752         * sysdeps/mips/dl-lookup.c: Update from generic version.
1754 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
1756         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
1757         O_DSYNC to match 2.6.33+ kernels.
1759 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
1761         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
1762         declare recvmmsg.
1764 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1766         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1767         (posix_fadvise): Remove.
1768         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
1769         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
1770         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
1772 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1774         * sysdeps/mips/dl-lookup.c: Update from generic version.
1776 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
1778         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
1779         for timestamps also if __USE_XOPEN2K8.
1781 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
1783         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
1784         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
1786 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
1788         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
1789         names of parameters of sync_file_range.
1791 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1793         [BZ #10972]
1794         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
1795         constants from recent kernels.
1797 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1799         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
1800         not already defined.
1802 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
1804         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
1805         F_GETOWN_EX): Update values.
1807 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
1809         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
1810         of last two arguments when -D_FILE_OFFSET_BITS=64.
1812 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
1814         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
1815         f_owner_ex.
1817 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
1819         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
1820         and F_GETOWN_EX.
1822 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
1824         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1825         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
1826         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1827         (__SYSCALL_CLOBBERS): Likewise.
1828         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1829         (__SYSCALL_CLOBBERS): Likewise.
1831 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
1833         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
1834         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
1835         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
1836         variable for env.  Use expansion of CHECK_SP macro for check.
1837         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
1839 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
1841         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
1842         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
1844 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
1846         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
1847         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
1849 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
1851         * sysdeps/mips/do-lookup.h: Remove.
1852         * sysdeps/mips/dl-lookup.c: Update from generic version, with
1853         non-PIC handling integrated.
1855 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
1857         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
1858         and AF_IEEE802154.
1860 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1862         * sysdeps/mips/____longjmp_chk.c: New file.
1863         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
1864         undefine __longjmp.
1865         * sysdeps/mips64/__longjmp.c: Likewise.
1867 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1869         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
1870         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
1871         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
1872         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
1874 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1876         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
1877         fallocate64@@GLIBC_2.11.
1879 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
1881         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
1882         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
1884 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
1886         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
1887         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
1888         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
1889         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
1890         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
1891         Update comment.
1892         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
1893         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
1894         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
1895         Add ucontext_i.sym.
1897 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
1899         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
1900         __ASSUME_PWRITEV): Don't define here.
1902 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
1904         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
1906 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
1908         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
1909         numbers.
1910         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
1911         Define.
1912         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
1913         preadv and pwritev.
1915 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
1917         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1918         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
1920 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
1922         [BZ #7074]
1923         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1924         Fix the condition used to annotate n32 objects.
1926 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1928         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
1929         Change parameters and use next_line.
1931 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1933         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
1934         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1935         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1937 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
1939         * sysdeps/mips/bits/link.h: Uglify function parameter names.
1940         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1941         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
1942         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1943         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
1945 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
1947         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
1948         fallocate{,64}.
1950 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
1952         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
1953         UTIME_OMIT only with __USE_ATFILE.
1955 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
1957         [BZ #7040]
1958         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
1959         inotify_rm_watch should have type int.
1961 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
1963         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
1965 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
1966             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
1968         PR glibc/1048
1969         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
1970         variable page size for MIPS.
1971         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
1972         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
1973         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
1975 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
1977         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
1978         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
1979         -D_GNU_SOURCE.
1981 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
1983         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
1984         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
1986 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
1988         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
1989         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
1990         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
1991         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
1993 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
1995         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
1996         Make available only for __USE_GNU.
1998 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
2000         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
2001         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
2003 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
2005         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
2006         __THROW vs. __nonnull order for C++.
2008 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
2010         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
2011         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
2012         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
2014 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
2015             Daniel Jacobowitz  <dan@codesourcery.com>
2016             Richard Sandiford  <rdsandiford@googlemail.com>
2018         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
2019         * sysdeps/mips/dl-lookup.c: New.
2020         * sysdeps/mips/do-lookup.h: New.
2021         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
2022         definition.
2023         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
2024         if needed.
2025         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
2026         (elf_machine_type_class): Likewise.
2027         (ELF_MACHINE_PLT_REL): Define.
2028         (elf_machine_fixup_plt): New.
2029         (elf_machine_plt_value): New.
2030         (elf_machine_reloc): Handle jump slot and copy relocations.
2031         (elf_machine_lazy_rel): Point relocation place at PLT if
2032         required.
2033         (RESOLVE_GOTSYM): Take a relocation type argument.
2034         (elf_machine_got_rel): Bind lazy stubs directly to their target if
2035         !lazy.  Skip lazy binding for PLT symbols.
2036         (elf_machine_runtime_setup): Fill in .got.plt header.
2037         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
2038         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
2039         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
2040         (_dl_runtime_pltresolve): New.
2041         * sysdeps/mips/bits/linkmap.h: New file.
2042         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
2043         64-bit versions.
2045         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
2046         Delete definition.
2047         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
2048         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
2049         (PSEUDO): Use them.  Move outside __PIC__.
2050         (PSEUDO_JMP): New.
2051         (CENABLE, CDISABLE): Use it.
2053 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2055         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
2056         to epoll_create1.
2058 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2060         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
2061         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
2062         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
2063         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
2064         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
2065         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
2066         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
2068 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2070         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
2071         volatile.
2073 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
2075         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
2076         type.
2078 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
2080         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
2081         (SOCK_DCCP): Define.
2083 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
2085         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
2086         RUSAGE_THREAD and RUSAGE_LWP.
2088 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
2090         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
2091         shmid_ds.
2093 2008-04-21  Khem Raj  <kraj@mvista.com>
2095         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
2097 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
2099         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
2100         truncate and ftruncate systems calls.
2101         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
2102         empty file.
2103         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
2105 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
2107         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
2108         ARG_MAX if <linux/limits.h> has defined it.
2110 2008-03-28  Robin Randhawa  <robin@mips.com>
2112         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
2113         barriers to enforce strict ordering on weakly ordered systems.
2115 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
2116             Daniel Jacobowitz  <dan@codesourcery.com>
2118         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
2119         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2120         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2122 2008-03-09  Andreas Jaeger  <aj@suse.de>
2124         [BZ #5753]
2125         * sysdeps/mips/ieee754.h: Use protected namespace
2126         __BIG_ENDIAN/__LITTLE_ENDIAN.
2127         Patch by Aurelien Jarno <aurelien@aurel32.net>.
2129 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
2131         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
2132         Reorganize to match other architectures.  Replace _timer._timer1
2133         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
2134         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
2135         (si_timerid, si_overrun): Define.
2136         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
2137         (__pthread_attr_s): Remove declaration.
2138         (struct sigevent): Remove XXX.  Add _tid.
2140 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
2142         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
2144 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
2146         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
2147         type and __THROW marker of splice, vmsplice, and tee.
2149 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
2151         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
2152         LLL_PRIVATE argument to lll_futex_wake.
2153         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
2154         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
2155         comment.
2156         (PF_IUCV, PF_RXRPC): Define.
2157         (PF_MAX): Update.
2158         (AF_IUCV, AF_RXRPC): Define.
2159         (MSG_CMSG_CLOEXEC): Define.
2160         (_EXTERN_INLINE): Define to __extern_inline.
2161         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
2162         UTIME_OMIT): Define.
2163         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
2164         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2165         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2166         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
2167         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
2168         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
2169         LLL_LOCK_*.  Include <kernel-features.h>.
2170         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
2171         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
2172         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
2173         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
2174         lll_futex_wait.
2175         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
2176         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
2177         private arguments.
2178         (__lll_robust_trylock): Convert to macro.
2179         (__lll_robust_lock_wait): Add private argument.
2180         (__lll_lock_wait_private, __lll_lock_wait): Declare.
2181         (__lll_lock): Convert to macro.  Take private argument.
2182         (__lll_cond_lock): Likewise.
2183         (lll_lock, lll_cond_lock): Take private arguments.
2184         (__lll_robust_lock): Take private argument.  Convert to macro.
2185         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
2186         lll_robust_cond_lock): Take private arguments.
2187         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
2188         arguments.
2189         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
2190         (lll_timedlock, lll_robust_timedlock): Take private arguments.
2191         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
2192         private arguments.
2193         (lll_unlock, lll_robust_unlock): Take private arguments.
2194         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
2195         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
2196         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
2197         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
2198         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
2199         lll_cond_wake, lll_cond_broadcast): Remove.
2200         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
2201         to __extern_inline.
2203 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
2205         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
2206         New macros for the (n)64 and n32 ABIs.
2207         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
2209 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
2211         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
2212         Define __WORDSIZE_COMPAT32 as 1.
2214 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
2216         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
2217         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
2218         PTHREAD_STACK_MIN.
2220 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
2222         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
2224         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
2225         Delete.
2227 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
2229         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
2230         (internal_syscall1, internal_syscall2, internal_syscall3,
2231         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
2233 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
2235         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
2236         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
2237         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
2238         THREAD_GSCOPE_WAIT): Define.
2239         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
2240         (FUTEX_PRIVATE_FLAG): Define.
2241         (lll_unlock_wake_cb): Delete prototype.
2242         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
2243         <endian.h>.
2244         (pthread_rwlock_t): Shrink __flags and add __shared.
2246 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2248         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
2249         (posix_fadvise): Fix high word of len argument.
2251 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2253         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2254         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
2255         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
2256         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
2257         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
2258         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
2260 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
2262         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
2263         * sysdeps/mips/mips64/n64/Implies: Likewise.
2264         * sysdeps/mips/mips64/soft-fp/Makefile: New.
2265         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
2266         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
2267         <fpu_control.h>.  Use hardware exception and rounding mode
2268         settings.
2270 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
2272         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
2273         r_info argument to ElfW(Addr).
2275 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
2277         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
2279 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
2280             Daniel Jacobowitz  <dan@codesourcery.com>
2282         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
2283         shmctl, and semctl.
2284         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
2285         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
2286         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
2288 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2290         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
2291         PTR_DEMANGLE): Define.
2292         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
2293         PTR_DEMANGLE): Define.
2294         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
2295         PTR_DEMANGLE): Define.
2297 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2299         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2300         (cfi_same_value): Delete definition.
2302 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
2304         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
2305         (elf_machine_reloc): New function, retaining the body of
2306         elf_machine_rel.  Take the reloc's r_info field as an argument,
2307         not the reloc itself.  Add extra r_addend and inplace_p arguments.
2308         When inplace_p is false, use r_addend as the addend, not the contents
2309         of the relocation field.  Hoist the conversion of reloc_addr to
2310         "ELFW(Addr) *".  Don't try to apply TLS relocations against
2311         undefined symbols.  Add R_MIPS_GLOB_DAT support.
2312         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
2313         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
2314         to ElfW(Rela).
2316 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
2318         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
2319         multiple inclusion guard.
2320         * sysdeps/mips/elf/ldsodefs.h: Delete file.
2322 2007-01-04  Thiemo Seufer  <ths@networkno.de>
2324         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
2325         to match the kernel.
2327 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
2329         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
2330         (RTLD_SINGLE_THREAD_P): Define.
2331         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
2333 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
2335         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
2336         prototype.
2338 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
2340         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
2341         code.
2342         (__xstat_conv): Use memset to clear padding arrays.  Check for
2343         overflow.
2344         (__xstat64_conv): Use memset to clear padding arrays.
2345         (__xstat32_conv): New function.
2346         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
2347         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
2349 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
2351         * sysdeps/mips/fpu_control.h: If soft-float, don't use
2352         floating-point registers.
2353         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
2354         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
2355         Likewise.
2357 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
2359         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
2360         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
2362 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2364         * sysdeps/mips/mips64/n32/libm-test-ulps,
2365         sysdeps/mips/mips64/n64/libm-test-ulps: New.
2367 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2369         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
2370         defined, include the named file.
2372 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
2374         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
2375         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
2376         Define.
2378 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2380         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
2381         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
2382         types.
2384 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2386         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2387         Don't use struct timespec.
2388         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
2389         __xstat64_conv): Copy individual timespec fields.
2391 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
2393         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
2395 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2397         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
2398         * sysdeps/mips/fpu/fesetround.c: Likewise.
2400 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
2401             Daniel Jacobowitz  <dan@codesourcery.com>
2403         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
2404         dump sc_cause, sc_status or sc_badvaddr.
2405         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
2406         structure definitions after DSP kernel changes.
2407         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
2408         after the same DSP changes.
2410 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2412         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
2413         st_atim, st_mtim and st_ctim interface.
2414         (struct stat64): Likewise.
2415         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2416         Replace st_atime and its padding field with st_atim.  Likewise
2417         st_mtime/st_mtim and st_ctime/st_ctim.
2418         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
2419         after above changes.
2420         (__xstat64_conv): Likewise.
2422 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2424         * sysdeps/mips/ldsodefs.h: New file.
2425         * sysdeps/mips/tst-audit.h: New file.
2427 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
2429         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
2430         for consistency with other ports.
2431         (MADV_REMOVE): Correct value.
2432         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
2433         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
2434         POSIX_MADV_DONTNEED): Define.
2436 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
2438         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
2439         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
2440         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
2441         and SYNC_FILE_RANGE_WAIT_AFTER.
2442         Declare sync_file_range, vmsplice, splice and tee.
2444 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
2446         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
2447         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
2448         prototype.
2450 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
2452         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
2453         Define.
2455 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
2457         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
2458         typo.
2460 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2462         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
2463         i386/fork.c.
2465 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2467         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
2468         libc_cv_localedir, libdir, arch_minimum_kernel, and
2469         libc_cv_gcc_unwind_find_fde.
2470         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
2471         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2472         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
2474 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
2476         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2477         (__pthread_list_t, __pthread_slist_t): New typedefs.
2478         (pthread_mutex_t): Replace __next and __prev fields with __list.
2479         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
2480         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
2481         (lll_futex_wake_unlock): Define.
2482         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
2483         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
2484         lll_robust_mutex_unlock): New macros.
2485         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
2486         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
2487         vfork.S.
2488         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
2490 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2492         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
2493         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
2495 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2497         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2498         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2499         (INTERNAL_SYSCALL_NCS): New.
2500         (internal_syscall0, internal_syscall1, internal_syscall2,
2501         internal_syscall3, internal_syscall4, internal_syscall5,
2502         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2503         Use them.  Correct types for registers.
2504         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2505         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2506         (INTERNAL_SYSCALL_NCS): New.
2507         (internal_syscall0, internal_syscall1, internal_syscall2,
2508         internal_syscall3, internal_syscall4, internal_syscall5,
2509         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2510         Use them.
2511         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
2512         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
2513         points.
2514         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
2515         Use Elf(Addr) for TLS relocation targets.
2516         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
2517         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
2518         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
2519         futexp to long for n64.
2520         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
2522 2006-02-20  Roland McGrath  <roland@redhat.com>
2524         * sysdeps/mips/shlib-versions: New file.
2525         * sysdeps/mips/preconfigure: New file.
2526         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.