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