Fix typos in 3166.def.
[glibc.git] / ports / ChangeLog.mips
blobeaa6ade598e258abd821072f095f458db95b0d00
1 2013-09-26  Steve Ellcey  <sellcey@mips.com>
3         [BZ #15632]
4         * sysdeps/mips/mips32/fpu/e_sqrt.c: New.
5         * sysdeps/mips/mips32/fpu/e_sqrtf.c: New.
6         * sysdeps/mips/mips64/n32/fpu/e_sqrt.c: New.
7         * sysdeps/mips/mips64/n32/fpu/e_sqrtf.c: New.
8         * sysdeps/mips/mips64/n64/fpu/e_sqrt.c: New.
9         * sysdeps/mips/mips64/n64/fpu/e_sqrtf.c: New.
11 2013-09-23  Steve Ellcey  <sellcey@mips.com>
13         * sysdeps/mips/math_private.h (libc_feholdexcept_mips): New function.
14         (libc_feholdexcept): New macro.
15         (libc_feholdexceptf): New macro.
16         (libc_feholdexceptl): New macro.
17         (libc_fesetround_mips): New function.
18         (libc_fesetround): New macro.
19         (libc_fesetroundf): New macro.
20         (libc_fesetroundl): New macro.
21         (libc_feholdexcept_setround_mips): New function.
22         (libc_feholdexcept_setround): New macro.
23         (libc_feholdexcept_setroundf): New macro.
24         (libc_feholdexcept_setroundl): New macro.
25         (libc_fesetenv_mips): New function.
26         (libc_fesetenv): New macro.
27         (libc_fesetenvf): New macro.
28         (libc_fesetenvl): New macro.
29         (libc_feupdateenv_mips): New function.
30         (libc_feupdateenv): New macro.
31         (libc_feupdateenvf): New macro.
32         (libc_feupdateenvl): New macro.
34 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
36         * sysdeps/mips/bits/atomic.h: Fix comment typo.
38 2013-09-23  Steve Ellcey  <sellcey@mips.com>
40         * sysdeps/mips/fpu/fegetround.c (fegetround): Use _FPU_RC_MASK.
41         * sysdeps/mips/fpu/fesetround.c (fesetround): Use _FPU_RC_MASK.
43 2013-09-23  Steve Ellcey  <sellcey@mips.com>
45         * sysdeps/mips/fpu_control.h (_FPU_RC_MASK): New.
47 2013-09-23  Steve Ellcey  <sellcey@mips.com>
49         * sysdeps/mips/fpu_control.h (comments): Add capitalization and
50         periods to match GNU standard.
52 2013-09-20  Steve Ellcey  <sellcey@mips.com>
54         * sysdeps/mips/memset.S: Change prefetching and add loop unrolling.
55         * sysdeps/mips/mips64/memset.S: Remove.
57 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
58             Thomas Schwinge  <thomas@codesourcery.com>
60         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NAN2008): New macro.
61         (elf_machine_matches_host): Reject objects that use a different
62         NaN encoding convention.
63         * sysdeps/mips/fpu_control.h: Document IEEE 754-2008 feature
64         control bits.
65         (_FPU_ABS2008, _FPU_NAN2008): New macros.
66         (_FPU_RESERVED): Clear bits #20 and #19.
67         (_FPU_DEFAULT) [__mips_nan2008]: Set bit #18.
68         (_FPU_IEEE) [__mips_nan2008]: Likewise.
69         * sysdeps/mips/math_private.h [__mips_nan2008]
70         (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Don't define.
71         * sysdeps/mips/bits/nan.h [__mips_nan2008] (__qnan_bytes): Define
72         appropriately.
73         * sysdeps/mips/mips64/soft-fp/sfp-machine.h [__mips_nan2008]
74         (_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): Define 2008-NaN
75         payloads.
76         (_FP_QNANNEGATEDP): Set to 0.
77         * sysdeps/mips/soft-fp/sfp-machine.h [__mips_nan2008]
78         (_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): Define 2008-NaN
79         payloads.
80         (_FP_QNANNEGATEDP): Set to 0.
81         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
82         Define 2008 NaN encoding values.
83         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
84         Handle 2008-NaN libraries.
85         * sysdeps/mips/shlib-versions [HAVE_MIPS_NAN2008]: Set
86         ld=ld-linux-mipsn8.so.1.
87         * sysdeps/mips/configure.in: Define HAVE_MIPS_NAN2008 if the
88         2008 NaN encoding is used.
89         * sysdeps/unix/sysv/linux/mips/Makefile (abi-variants): Add
90         2008-NaN ABI variants.
91         (abi-o32_soft-options, abi-o32_soft-condition): Update with the
92         __mips_nan2008 macro.
93         (abi-o32_hard-options, abi-o32_hard-condition): Likewise.
94         (abi-n32_soft-options, abi-n32_soft-condition): Likewise.
95         (abi-n32_hard-options, abi-n32_hard-condition): Likewise.
96         (abi-n64_soft-options, abi-n64_soft-condition): Likewise.
97         (abi-n64_hard-options, abi-n64_hard-condition): Likewise.
98         (abi-o32_soft-ld-soname, abi-o32_hard-ld-soname): New macros.
99         (abi-n32_soft-ld-soname, abi-n32_hard-ld-soname): Likewise.
100         (abi-n64_soft-ld-soname, abi-n64_hard-ld-soname): Likewise.
101         (abi-o32_soft_2008-options): Likewise.
102         (abi-o32_soft_2008-condition): Likewise.
103         (abi-o32_hard_2008-options): Likewise.
104         (abi-o32_hard_2008-condition): Likewise.
105         (abi-n32_soft_2008-options): Likewise.
106         (abi-n32_soft_2008-condition): Likewise.
107         (abi-n32_hard_2008-options): Likewise.
108         (abi-n32_hard_2008-condition): Likewise.
109         (abi-n64_soft_2008-options): Likewise.
110         (abi-n64_soft_2008-condition): Likewise.
111         (abi-n64_hard_2008-options): Likewise.
112         (abi-n64_hard_2008-condition): Likewise.
113         (abi-o32_soft_2008-ld-soname): Likewise.
114         (abi-o32_hard_2008-ld-soname): Likewise.
115         (abi-n32_soft_2008-ld-soname): Likewise.
116         (abi-n32_hard_2008-ld-soname): Likewise.
117         (abi-n64_soft_2008-ld-soname): Likewise.
118         (abi-n64_hard_2008-ld-soname): Likewise.
119         * sysdeps/unix/sysv/linux/mips/configure.in: Include the NaN
120         encoding selection in default-abi.  Set arch_minimum_kernel to
121         10.0.0 if 2008 NaN encoding is used.
122         * sysdeps/mips/configure: Regenerate.
123         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
125 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
127         * sysdeps/mips/memcpy.S: Fix then/than typos.
129 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
131         * sysdeps/mips/memcpy.S: Fix typos.
133 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
135         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
136         Use ELFOSABI_GNU instead of ELFOSABI_LINUX.
138 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
140         * sysdeps/mips/sys/asm.h: Fix typos.
142 2013-08-22  Maciej W. Rozycki  <macro@codesourcery.com>
144         * sysdeps/mips/fpu_control.h: Document bits reserved for
145         architecture implementers.
146         (_FPU_RESERVED): Clear bit #21.
147         * sysdeps/mips/fpu/fedisblxcpt.c (fedisableexcept): Don't clear
148         reserved bits.
149         * sysdeps/mips/fpu/feenablxcpt.c (feenableexcept): Likewise.
151 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
153         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
154         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
156         [BZ #13304]
157         * sysdeps/mips/ieee754/s_fma.c: New file.
158         * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
159         * sysdeps/mips/ieee754/s_fmal.c: Likewise.
160         * sysdeps/mips/mips32/Implies: Add mips/soft-fp.
161         * sysdeps/mips/mips64/n32/s_fma.c: Remove file.
162         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
163         * sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_MUL_MEAT_DW_S):
164         New macro.
165         (_FP_MUL_MEAT_DW_D): Likewise.
166         (_FP_MUL_MEAT_DW_Q): Likewise.
167         * sysdeps/mips/soft-fp/sfp-machine.h (_FP_MUL_MEAT_DW_S): New
168         macro.
169         (_FP_MUL_MEAT_DW_D): Likewise.
170         (_FP_MUL_MEAT_DW_Q): Likewise.
172 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
174         * sysdeps/mips/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
175         to macro prototype for AT_HWCAP2 support.
177 2013-06-27  Maciej W. Rozycki  <macro@codesourcery.com>
179         * sysdeps/unix/sysv/linux/mips/dl-static.c: Do not include
180         <bits/libc-lock.h>.
181         (_dl_static_lock): Remove variable.
182         (_dl_static_init): Remove _dl_static_lock locking.
184 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
186         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
187         Update.
188         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
189         Likewise.
190         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
191         Likewise.
193 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
195         [BZ #14909]
196         * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
197         Rename __fpc_csr field to __glibc_reserved1.
198         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux) [__mips_hard_float]:
199         Do not set __fpc_csr.
200         * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux)
201         [__mips_hard_float]: Likewise.
202         * sysdeps/mips/__longjmp.c (____longjmp) [__mips_hard_float]: Do
203         not use __fpc_csr.
204         * sysdeps/mips/mips64/__longjmp.c (__longjmp) [__mips_hard_float]:
205         Likewise.
207         * sysdeps/mips/math-tests.h: New file.
209 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
211         * sysdeps/mips/fpu/fgetexcptflg.c: Remove trailing whitespace.
212         * sysdeps/mips/fpu/fraiseexcpt.c: Likewise.
213         * sysdeps/mips/memset.S: Likewise.
214         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
215         * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
216         * sysdeps/mips/mips64/memset.S: Likewise.
217         * sysdeps/mips/mips64/setjmp.S: Likewise.
218         * sysdeps/mips/start.S: Likewise.
219         * sysdeps/unix/mips/sysdep.S: Likewise.
220         * sysdeps/unix/sysv/linux/mips/dl-static.c: Likewise.
221         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Likewise.
223 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
225         [BZ #15465]
226         * sysdeps/mips/dl-lookup.c (do_lookup_x): Use DSO_FILENAME.
227         (add_dependency): Likewise.
228         (_dl_lookup_symbol_x): Likewise.
229         (_dl_debug_bindings): Likewise.
230         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Use
231         RTLD_PROGNAME.
233 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
235         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add
236         si_addr_lsb to _sifields.sifault.
237         (si_addr_lsb): Define new macro.
238         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
240 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
242         * sysdeps/mips/mips32/libm-test-ulps: Update test names.
243         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
245 2013-05-21  Joseph Myers  <joseph@codesourcery.com>
247         [BZ #15506]
248         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
249         [!__PIC__] (PSEUDO): Undefine and redefine.
250         (PSEUDO_END): Undefine and redefine unconditionally.
251         [!__PIC__] (STK_PAD): Define to 0.
252         [!__PIC__] (STKOFF_GP): Do not define.
253         [!__PIC__] (STKSPACE): Define to (STKOFF_SVMSK + SZREG).
254         (PSEUDO_JMP): Define depending on [__PIC__].
255         (CENABLE): Use PSEUDO_JMP in all definitions.
256         (CDISABLE): Likewise.
257         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
258         (SYSCALL_ERROR_LABEL): Define unconditionally.
259         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
260         (SYSCALL_ERROR_LABEL): Define unconditionally.
262 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
264         * sysdeps/mips/mips32/libm-test-ulps: Update names of sincos
265         tests.
266         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
268 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
270         [BZ #15442]
271         * sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
272         New macro.
273         (_FP_NANFRAC_S): Don't set the quiet bit.
274         (_FP_NANFRAC_D): Likewise.
275         (_FP_NANFRAC_Q): Likewise.
276         * sysdeps/mips/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): New
277         macro.
278         (_FP_NANFRAC_S): Don't set the quiet bit.
279         (_FP_NANFRAC_D): Likewise.
280         (_FP_NANFRAC_Q): Likewise.
282 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
284         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: Add missing
285         #include <stdint.h> due to uint64_t or uint32_t usage.
286         * sysdeps/mips/bits/atomic.h: Likewise.
288 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
290         * sysdeps/mips/math_private.h: New file.
292 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
294         * sysdeps/unix/sysv/linux/mips/configure.in (default-abi): Set
295         using LIBC_CONFIG_VAR.
296         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
297         * sysdeps/unix/sysv/linux/mips/Makefile: Do not include
298         default-abi.make.
300 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
302         * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
303         (MAP_ANONYMOUS): Don't define.
305 2013-03-06  Andreas Jaeger  <aj@suse.de>
307         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines
308         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
309         (__MAP_ANONYMOUS): Define.
311         * sysdeps/unix/sysv/linux/mips/bits/msq.h (MSG_COPY): Define.
313 2013-02-27  Chung-Lin Tang  <cltang@codesourcery.com>
314             Maciej W. Rozycki  <macro@codesourcery.com>
315             Maxim Kuvyrkov  <maxim@codesourcery.com>
317         * sysdeps/mips/abort-instr.h (ABORT_INSTRUCTION) [__mips16]:
318         New macro.
319         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Add
320         MIPS16 version of assembly code.
321         (RTLD_START) [__mips16]: New macro.
322         * sysdeps/mips/fpu_control.h (__mips_fpu_getcw): New prototype.
323         (__mips_fpu_setcw): Likewise.
324         (_FPU_GETCW) [__mips16]: New macro.
325         (_FPU_SETCW) [__mips16]: Likewise.
326         * sysdeps/mips/machine-gmon.h (MCOUNT): Add `.set nomips16'.
327         * sysdeps/mips/tls-macros.h (LOAD_GP) [__mips16]: New macro.
328         (TLS_GD, TLS_LD, TLS_IE, TLS_LE) [__mips16]: Likewise.
329         * sysdeps/mips/bits/atomic.h: Also use __atomic_* builtins with
330         GCC 4.7 in MIPS16 code.
331         (atomic_compare_and_exchange_val_acq) [__mips16]: New macro.
332         (atomic_compare_and_exchange_bool_acq) [__mips16]: Likewise.
333         (atomic_exchange_acq) [__mips16]: Likewise.
334         (atomic_exchange_and_add) [__mips16]: Likewise.
335         (atomic_bit_test_set) [__mips16]: Likewise.
336         (atomic_and, atomic_and_val) [__mips16]: Likewise.
337         (atomic_or, atomic_or_val) [__mips16]: Likewise.
338         (atomic_full_barrier) [__mips16]: Likewise.
339         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER) [__mips16]:
340         Likewise.
341         * sysdeps/mips/sys/tas.h (_test_and_set): Add `__nomips16__'
342         attribute.
343         * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO): Add
344         `.set nomips16'.
345         (PSEUDO_ERRVAL): Likewise.
346         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Likewise.
347         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
348         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
349         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
350         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS) [__mips16]: New macros.
351         (INTERNAL_SYSCALL_MIPS16) [__mips16]: Likewise.
352         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h:
353         New file.
354         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO):
355         Add `.set nomips16'.
356         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
357         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
358         * sysdeps/mips/memset.S (memset): Likewise.
359         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
360         * sysdeps/mips/start.S (ENTRY_POINT) [__mips16]: New function.
361         * sysdeps/mips/mips32/crti.S: Add `.set nomips16'.
362         * sysdeps/mips/mips32/crtn.S: Likewise.
363         * sysdeps/mips/mips64/n32/crti.S: Likewise.
364         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
365         * sysdeps/mips/mips64/n64/crti.S: Likewise.
366         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
367         * sysdeps/unix/mips/sysdep.S: Likewise.
368         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
369         * sysdeps/unix/sysv/linux/mips/getcontext.S: Likewise.
370         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
371         * sysdeps/unix/sysv/linux/mips/setcontext.S: Likewise.
372         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
373         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
374         * sysdeps/mips/__longjmp.c (__longjmp): Rename function to...
375         (____longjmp): ... this.  Make static and add `nomips16'
376         attribute.
377         (__longjmp): New alias.
378         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve) [__mips16]:
379         New function.
380         (_dl_runtime_pltresolve): Likewise.
381         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Add `nomips16'
382         attribute.
383         * sysdeps/mips/fpu/e_sqrt.c (__ieee754_sqrt): Likewise.
384         * sysdeps/mips/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise.
385         * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Rewrite in terms
386         of INTERNAL_SYSCALL.
387         * sysdeps/mips/mips32/fpu/fpu_control.c: New file.
388         * sysdeps/mips/mips32/mips16/add_n.c: New file.
389         * sysdeps/mips/mips32/mips16/addmul_1.c: New file.
390         * sysdeps/mips/mips32/mips16/lshift.c: New file.
391         * sysdeps/mips/mips32/mips16/mul_1.c: New file.
392         * sysdeps/mips/mips32/mips16/rshift.c: New file.
393         * sysdeps/mips/mips32/mips16/sub_n.c: New file.
394         * sysdeps/mips/mips32/mips16/submul_1.c: New file.
395         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c:
396         New file.
397         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c:
398         New file.
399         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c:
400         New file.
401         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c:
402         New file.
403         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c:
404         New file.
405         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
406         New file.
407         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
408         New file.
409         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
410         New file.
411         * sysdeps/mips/mips32/fpu/Versions: New file.
412         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions: New file.
413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: New
414         file.
415         * sysdeps/mips/mips32/mips16/fpu/Makefile: New file.
416         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile: New file.
417         * sysdeps/mips/preconfigure: Handle o32 MIPS16 compilation.
419 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
421         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
422         __attribute__ ((unused)) to __attribute__ ((__unused__)).
424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Sort
425         properly.
427         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
428         __attribute_used__ to __attribute__ ((unused)).
430         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Add
431         __attribute_used__.
433         * sysdeps/mips/bits/nan.h: Align to generic IEEE 754 file.
435 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
437         [BZ #14920]
438         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
439         (FUTEX_WAIT_REQUEUE_PI): Define.
440         (FUTEX_CMP_REQUEUE_PI): Likewise.
441         (lll_futex_wait_requeue_pi): Likewise.
442         (lll_futex_timed_wait_requeue_pi): Likewise.
443         (lll_futex_cmp_requeue_pi): Likewise.
445 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
447         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
448         __cxa_thread_atexit_impl.
449         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
450         Likewise.
451         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
452         Likewise.
454 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
456         [BZ #13550]
457         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c (__fxstat64): Do
458         not use __ptrvalue.
459         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c (__fxstatat64):
460         Likewise.
461         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c (__lxstat64):
462         Likewise.
463         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c (__xstat64):
464         Likewise.
465         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
466         Likewise.
468 2013-02-11  Joseph Myers  <joseph@codesourcery.com>
470         * sysdeps/mips/include/sys/asm.h: New file.
471         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use SETUP_GP64_REG
472         and RESTORE_GP64_REG.
473         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
474         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
475         * sysdeps/mips/sys/asm.h (__mips_cfi_startproc): Define to empty.
476         (__mips_cfi_endproc): Likewise.
477         (LEAF): Use __mips_cfi_startproc.
478         (NESTED): Likewise.
479         (END): Use __mips_cfi_endproc.
480         (EXPORT): Use __mips_cfi_startproc.
481         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Add CFI information
482         for error-handling code in both definitions.
483         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
484         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
485         * sysdeps/unix/mips/sysdep.h (ENTRY): Use cfi_startproc.
486         (END): Use cfi_endproc.
487         (PSEUDO_END): Likewise.
488         (PSEUDO_END_NOERRNO): Likewise.
489         (PSEUDO_END_ERRVAL): Likewise.
490         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Add CFI
491         information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
492         * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext):
493         Likewise.
494         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
495         Likewise.
496         * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
497         SETUP_GP64_REG and RESTORE_GP64_REG.
498         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
499         [(!NOT_IN_libc || IS_IN_libpthread || IS_IN_librt) && __PIC__]
500         (PSEUDO): Use cfi_endproc before ENTRY.
501         * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Add CFI
502         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
503         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h [(!NOT_IN_libc
504         || IS_IN_libpthread || IS_IN_librt) && __PIC__] (PSEUDO): Use
505         cfi_endproc before ENTRY.
506         * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext): Add
507         CFI information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
508         * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
509         Likewise.
510         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Add CFI
511         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
513 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
515         [BZ #13550]
516         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: Don't include
517         <bp-checks.h>.
518         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
519         (__libc_pread): Don't use CHECK_N.
520         * sysdeps/unix/sysv/linux/mips/pread64.c: Don't include
521         <bp-checks.h>.
522         (__libc_pread64): Don't use CHECK_N.
523         * sysdeps/unix/sysv/linux/mips/pwrite.c: Don't include
524         <bp-checks.h>.
525         (__libc_pwrite): Don't use CHECK_N.
526         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Don't include
527         <bp-checks.h>.
528         (__libc_pwrite64): Don't use CHECK_N.
530         * sysdeps/mips/add_n.S (__mpn_add_n): Use END.
531         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
532         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
533         * sysdeps/mips/mips64/add_n.S (__mpn_add_n): Use ENTRY and END.
534         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Likewise.
535         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use END.
536         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
537         * sysdeps/mips/mips64/lshift.S (__mpn_lshift): Use ENTRY and END.
538         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Likewise.
539         * sysdeps/mips/mips64/rshift.S (__mpn_rshift): Likewise.
540         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Use END.
541         * sysdeps/mips/mips64/sub_n.S (__mpn_sub_n): Use ENTRY and END.
542         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Likewise.
543         * sysdeps/mips/setjmp.S (__sigsetjmp): Use END.
545         [BZ #13550]
546         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Do not include
547         <bp-checks.h>.
548         (__msgctl): Do not use CHECK_1.
549         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Do not include
550         <bp-checks.h>.
551         (__shmctl): Do not use CHECK_1.
552         * sysdeps/unix/sysv/linux/mips/ustat.c: Do not include
553         <bp-checks.h>.
554         (ustat): Do not use CHECK_1.
556 2013-02-05  Maciej W. Rozycki  <macro@codesourcery.com>
558         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Add a missing
559         space in asm register specifiers throughout.
560         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
561         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
563         [BZ #15054]
564         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (MOVE32):
565         New macro.
566         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
567         restart convention.
568         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
569         convention.
570         (internal_syscall0, internal_syscall1): Likewise.
571         (internal_syscall2, internal_syscall3): Likewise.
572         (internal_syscall4, internal_syscall5): Likewise.
573         (internal_syscall6, internal_syscall7): Likewise.
574         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (MOVE32):
575         New macro.
576         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
577         restart convention.
578         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
579         convention.
580         (internal_syscall0, internal_syscall1): Likewise.
581         (internal_syscall2, internal_syscall3): Likewise.
582         (internal_syscall4, internal_syscall5): Likewise.
583         (internal_syscall6): Likewise.
584         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (MOVE32):
585         New macro.
586         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
587         restart convention.
588         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
589         convention.
590         (internal_syscall0, internal_syscall1): Likewise.
591         (internal_syscall2, internal_syscall3): Likewise.
592         (internal_syscall4, internal_syscall5): Likewise.
593         (internal_syscall6): Likewise.
595 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
597         [BZ #13550]
598         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Do not include
599         <bp-checks.h>.
600         (truncate64): Do not use CHECK_STRING.
601         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
602         <bp-checks.h>.
603         (__fxstatat64): Do not use CHECK_STRING.
604         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Do not include
605         <bp-checks.h>.
606         (__lxstat64): Do not use CHECK_STRING.
607         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Do not include
608         <bp-checks.h>.
609         (__xstat64): Do not use CHECK_STRING.
611 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
613         [BZ #13550]
614         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Don't include
615         <bp-checks.h> and <bp-semctl.h>.
616         (__semctl): Don't use CHECK_SEMCTL.
618 2013-01-29  Maciej W. Rozycki  <macro@codesourcery.com>
620         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Correct
621         whitespace damage throughout.
622         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
624 2013-01-25  Steve Ellcey  <sellcey@mips.com>
626         * sysdeps/mips/memmove.c: Remove.
628 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
630         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h (struct
631         sigcontext): Use __extension__ with long long in all definitions.
633 2013-01-08  Steve Ellcey  <sellcey@mips.com>
635         * sysdeps/mips/memcpy.S: Change prefetch hint, reorder partial
636         loads and stores, set and use MAX_PREFETCH_SIZE.
638 2013-01-08  Andreas Jaeger  <aj@suse.de>
640         [BZ# 14985]
641         * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): Remove.
643 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
645         * All files with FSF copyright notices: Update copyright dates
646         using scripts/update-copyrights.
648 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
650         * sysdeps/mips/bits/dlfcn.h: Reformat copyright notice.
651         * sysdeps/mips/bits/mathdef.h: Likewise.
652         * sysdeps/mips/bits/setjmp.h: Likewise.
653         * sysdeps/mips/ieee754/ieee754.h: Likewise.
654         * sysdeps/mips/machine-gmon.h: Likewise.
655         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
656         * sysdeps/mips/mips64/setjmp.S: Likewise.
657         * sysdeps/mips/start.S: Likewise.
658         * sysdeps/unix/mips/mips64/n32/sysdep.h: Likewise.
659         * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
660         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
661         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
663 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
665         * sysdeps/mips/fpu_control.h [__mips_soft_float] (_FPU_GETCW):
666         Define to set cw to 0, not just to plain "0" as a statement.
667         [__mips_soft_float] (_FPU_SETCW): Define to (void) (cw), rather
668         than doing nothing with cw.
670 2012-11-30  Joseph Myers  <joseph@codesourcery.com>
672         * sysdeps/mips/mips32/libm-test-ulps: Update.
673         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
675 2012-11-29  Joseph Myers  <joseph@codesourcery.com>
677         [BZ #14893]
678         * sysdeps/mips/mips64/n32/_itoa.h: New file.
679         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include
680         <sgidefs.h>.
681         (CTX_TYPE): New macro.
682         (CTX_REG): Likewise.
683         (CTX_PC): Likewise.
684         (CTX_MDHI): Likewise.
685         (CTX_MDLO): Likewise.
686         (REG_HEX_SIZE): Likewise.
687         (hexvalue): Take _ITOA_WORD_TYPE argument.
688         (register_dump): Use these macros instead of hardcoding struct
689         sigcontext * type and accesses and 8-byte textual output for
690         registers.
692 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
694         [BZ #14822]
695         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
696         (sendfile): New syscall entry.
697         * sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c: New file.
698         Copy of ../sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c.
700 2012-11-21  Joseph Myers  <joseph@codesourcery.com>
702         * sysdeps/mips/jmpbuf-unwind.h (_jmpbuf_sp): Cast regs[0].__sp to
703         uintptr_t.
705         * sysdeps/mips/sotruss-lib.c: New file.
707 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
709         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
710         (internal_syscall1): Use parentheses around macro arguments.
711         (internal_syscall2): Likewise.
712         (internal_syscall3): Likewise.
713         (internal_syscall4): Likewise.
714         (internal_syscall5): Likewise.
715         (internal_syscall6): Likewise.
716         (internal_syscall7): Likewise.
717         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
718         (internal_syscall1): Likewise.
719         (internal_syscall2): Likewise.
720         (internal_syscall3): Likewise.
721         (internal_syscall4): Likewise.
722         (internal_syscall5): Likewise.
723         (internal_syscall6): Likewise.
725         * sysdeps/mips/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
726         _Unwind_GetCFA return to _Unwind_Ptr before casting to a pointer
727         type.
728         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c (CHECK_SP): Cast
729         ss_sp to long before casting to sp_type.
730         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h [_MIPS_SIM ==
731         _ABIO32] (GET_PC): Cast to unsigned long before casting to a
732         pointer type.
733         [_MIPS_SIM == _ABIO32] (GET_FRAME): Likewise.
734         [_MIPS_SIM == _ABIO32] (GET_STACK): Likewise.
735         [_MIPS_SIM != _ABIO32] (GET_PC): Likewise.
736         [_MIPS_SIM != _ABIO32] (GET_FRAME): Likewise.
737         [_MIPS_SIM != _ABIO32] (GET_STACK): Likewise.
739         * sysdeps/mips/bits/atomic.h [!__GNUC_PREREQ (4, 8)]
740         (__arch_compare_and_exchange_xxx_8_int): Separate assignments to
741         __prev and __cmp.  Cast __cmp to void.
742         [!__GNUC_PREREQ (4, 8)] (__arch_compare_and_exchange_xxx_16_int):
743         Likewise.
744         [!__GNUC_PREREQ (4, 8) && _MIPS_SIM == _ABIO32]
745         (__arch_compare_and_exchange_xxx_64_int): Likewise.
747 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
749         * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Declare VERSION
750         variable with __attribute__ ((unused)).
752         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
753         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
754         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
755         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
756         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
757         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
758         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
759         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
760         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
761         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
762         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
763         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
765 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
767         * sysdeps/mips/bits/atomic.h
768         (__arch_compare_and_exchange_bool_8_int): Mark __PREV variable
769         with __attribute__ ((unused)).
770         (__arch_compare_and_exchange_bool_16_int): Likewise.
771         (__arch_compare_and_exchange_bool_32_int): Likewise.
772         (__arch_compare_and_exchange_bool_64_int): Likewise.
774 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
776         * sysdeps/mips/memmove.c: New file.  Use memcpy for forward memmove.
778 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
780         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
781         (lll_futex_timed_wait_bitset): New macro.
783 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
785         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Don't
786         include <stub-tag.h>.
788 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
790         * sysdeps/mips/fpu/fclrexcpt.c (feclearexcept): Add
791         libm_hidden_def.
793         [BZ #3439]
794         * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define macro to integer
795         constant usable in #if and use that to give value to enum
796         constant.
797         (FE_UNDERFLOW): Likewise.
798         (FE_OVERFLOW): Likewise.
799         (FE_DIVBYZERO): Likewise.
800         (FE_INVALID): Likewise.
801         (FE_TONEAREST): Likewise.
802         (FE_TOWARDZERO): Likewise.
803         (FE_UPWARD): Likewise.
804         (FE_DOWNWARD): Likewise.
806 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
808         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
810         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist
811         (GLIBC_2.17): Add clock_* symbols.
813 2012-10-31  Steve Ellcey  <sellcey@mips.com>
815         * sysdeps/mips/memcpy.S: Add prefetching and more unrolling, make
816         it work in 32 or 64 bit modes.
817         * sysdeps/mips/mips64/memcpy.S: Remove.
819 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
821         [BZ #14047]
822         * sysdeps/mips/tininess.h: New file.
824 2012-10-29  Steve Ellcey  <sellcey@mips.com>
826         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
827         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
828         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
829         * sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
830         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
831         * sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
832         (abi-variants): Add hard and soft float versions.
833         (abi-o32-options): Remove.
834         (abi-o32-condition): Remove.
835         (abi-n32-options): Remove.
836         (abi-n32-condition): Remove.
837         (abi-n64-options): Remove.
838         (abi-n64-condition): Remove.
839         (abi-o32_soft-options): New.
840         (abi-o32_soft-condition): New.
841         (abi-o32_hard-options): New.
842         (abi-o32_hard-condition): New.
843         (abi-n32_soft-options): New.
844         (abi-n32_soft-condition): New.
845         (abi-n32_hard-options): New.
846         (abi-n32_hard-condition): New.
847         (abi-n64_soft-options): New.
848         (abi-n64_soft-condition): New.
849         (abi-n64_hard-options): New.
850         (abi-n64_hard-condition): New.
852 2012-10-19  Roland McGrath  <roland@hack.frob.com>
854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist
855         (GLIBC_2.17): Add clock_* symbols.
856         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
858 2012-10-24  Andreas Jaeger  <aj@suse.de>
860         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all
861         definitions and declarations that are provided by
862         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
864 2012-10-03  Steve Ellcey  <sellcey@mips.com>
866         * sysdeps/mips/ieee754.h: Move to...
867         * sysdeps/mips/ieee754/ieee754.h: Here.
868         * sysdeps/mips/mips32/Implies: Add mips/ieee754.
869         * sysdeps/mips/mips64/Implies: Ditto.
870         * sysdeps/mips/mips64/n32/Implies: Ditto.
871         * sysdeps/mips/mips64/n64/Implies: Ditto.
873 2012-10-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
875         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Fix clone
876         flag name in comment to CLONE_CHILD_CLEARTID.
878 2012-09-28  Roland McGrath  <roland@hack.frob.com>
880         * sysdeps/mips/init-first.c: File removed.
882 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
884         * sysdeps/mips/dl-trampoline.c (VERSYMIDX): Removed.
886 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
888         * sysdeps/unix/sysv/linux/mips/kernel-features.h
889         (__ASSUME_STAT64_SYSCALL): Remove.
891 2012-08-27  Guido Guenther  <agx@sigxcpu.org>
893         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Set bit 23.
895 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
897         * sysdeps/unix/sysv/linux/mips/kernel-features.h [_MIPS_SIM ==
898         _ABIO32] (__ASSUME_STAT64_SYSCALL): Define.
899         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: New file.  Based
900         on version from ../sysdeps/unix/sysv/linux/.
901         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Likewise.
902         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Likewise.
904 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
906         * sysdeps/mips/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
907         <mips_o32_gnu_pltenter, mips_n32_gnu_pltenter, mips_n64_gnu_pltenter>:
908         struct La_mips_32_regs and struct La_mips_64_regs are not constant.
910 2012-08-15  Tom de Vries  <vries@codesourcery.com>
911             Maxim Kuvyrkov  <maxim@codesourcery.com>
913         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (__libc_lock_lock)
914         (__libc_lock_trylock): Define versions optimized for MIPS.
916 2012-08-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
918         * sysdeps/mips/nptl/pthread_spin_lock.S: Remove, use generic version.
919         * sysdeps/mips/nptl/pthread_spin_lock.c: New file.
920         * sysdeps/mips/nptl/pthread_spin_trylock.S: Remove, use generic version.
922 2012-08-15  Joseph Myers  <joseph@codesourcery.com>
924         * sysdeps/mips/dl-lookup.c: Update from generic version.
926 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
928         [__GNUC_PREREQ (4, 8)]
929         (atomic_exchange_and_add): Split into ...
930         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
931         New atomic macros.
932         [!__GNUC_PREREQ (4, 8)]
933         (atomic_exchange_and_add): Split into ...
934         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
935         New atomic macros.
937 2012-08-09  Joseph Myers  <joseph@codesourcery.com>
939         * sysdeps/unix/sysv/linux/mips/kernel-features.h
940         (__ASSUME_UTIMES): Define.
942 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
944         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
945         Remove.
946         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
948 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
950         * sysdeps/unix/sysv/linux/mips/kernel-features.h
951         (__ASSUME_FCNTL64): Remove.
953 2012-08-01  Steve Ellcey  <sellcey@mips.com>
955         * sysdeps/mips/sys/asm.h [_MIPS_ISA != _MIPS_ISA_MIPS4 &&
956         _MIPS_ISA != _MIPS_ISA_MIPS5 && _MIPS_ISA != _MIPS_ISA_MIPS32 &&
957         _MIPS_ISA != _MIPS_ISA_MIPS64] (PREF): Define as function-like
958         macro.
959         (PREFX): Likewise.
961 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
963         * sysdeps/unix/sysv/linux/mips/fcntl.c: Remove.
964         * sysdeps/unix/sysv/linux/mips/lockf64.c: Likewise.
965         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: New file.
966         * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
967         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
968         * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
970 2012-07-27  Joseph Myers  <joseph@codesourcery.com>
972         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): New.
973         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: New file.
975 2012-07-25  Florian Weimer  <fweimer@redhat.com>
977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
978         secure_getenv.
979         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
980         Likewise.
981         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
982         Likewise.
984 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
986         * sysdeps/mips/configure.in: Remove TLS check.
987         * sysdeps/mips/configure: Regenerated.
989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: New
990         file.
991         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
992         Likewise.
993         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
994         Likewise.
996 2012-07-11  Tom de Vries  <vries@codesourcery.com>
997             Maxim Kuvyrkov  <maxim@codesourcery.com>
999         * sysdeps/mips/bits/atomic.h [__GNUC_PREREQ (4, 8)]
1000         (__arch_compare_and_exchange_bool_32_int)
1001         (__arch_compare_and_exchange_val_32_int)
1002         (__arch_compare_and_exchange_bool_64_int)
1003         (__arch_compare_and_exchange_val_64_int)
1004         Define in terms of __atomic_compare_exchange_n.
1005         [__GNUC_PREREQ (4, 8)]
1006         (__arch_exchange_32_int, __arch_exchange_64_int):
1007         Define in terms of __atomic_exchange_n.
1008         [__GNUC_PREREQ (4, 8)]
1009         (__arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
1010         Define in terms of __atomic_fetch_add.
1011         [!__GNUC_PREREQ (4, 8)]: Update formatting.
1013 2012-07-06  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1015         * sysdeps/mips/dl-machine.h (RTLD_START): Do not store data below
1016         the stack pointer.
1018 2012-06-19  Joseph Myers  <joseph@codesourcery.com>
1020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Update
1021         _gp_disp entry.
1022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1023         Likewise.
1024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist:
1025         Likewise.
1026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
1027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist:
1028         Likewise.
1029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist:
1030         Likewise.
1031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist:
1032         Likewise.
1033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
1034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist:
1035         Likewise.
1036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1037         Likewise.
1038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
1039         Likewise.
1040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
1041         Likewise.
1042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1043         Likewise.
1044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1045         Likewise.
1046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
1047         Likewise.
1048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1049         Likewise.
1050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
1051         Likewise.
1052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist:
1053         Likewise.
1054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist:
1055         Likewise.
1056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1057         Likewise.
1058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist:
1059         Likewise.
1061 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
1063         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1064         (FORCE_FRAME_POINTER): Assign result of alloca to a volatile
1065         variable.
1067 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1069         * sysdeps/mips/mips64/n32/s_fma.c: New file.
1070         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
1072         * sysdeps/unix/sysv/linux/mips/Makefile (abi-n32-condition): Fix
1073         typo.
1075 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
1077         * sysdeps/mips/mips64/libm-test-ulps: Remove sqrt ulps.
1079         * sysdeps/mips/mips32/libm-test-ulps: Regenerate.
1080         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1082 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
1084         * sysdeps/unix/sysv/linux/mips/Makefile [subdir = misc]: Move ABI
1085         settings out of conditional.
1087         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove
1088         __connect_internal alias.
1090         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1091         (FP_TRAPPING_EXCEPTIONS): Define.
1093         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-variants):
1094         Rename to abi-variants.
1095         (syscall-list-includes): Rename to abi-includes.
1096         (syscall-list-o32-options): Rename to abi-o32-options.
1097         (syscall-list-o32-condition): Rename to abi-o32-condition.
1098         (syscall-list-n32-options): Rename to abi-n32-options.
1099         (syscall-list-n32-condition): Rename to abi-n32-condition.
1100         (syscall-list-n64-options): Rename to abi-n64-options.
1101         (syscall-list-n64-condition): Rename to abi-n64-condition.
1102         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1103         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Likewise.
1104         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Likewise.
1106         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Replace
1107         _internal alias by hidden_def.
1109 2012-05-26  Joseph Myers  <joseph@codesourcery.com>
1111         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: New
1112         file.
1113         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1114         Likewise.
1115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
1116         Likewise.
1117         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
1118         Likewise.
1119         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1120         Likewise.
1121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1122         Likewise.
1123         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
1124         Likewise.
1125         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1126         Likewise.
1128 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1130         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1131         (__ASSUME_32BITUIDS): Remove.
1133 2012-05-23  Steve Ellcey  <sellcey@mips.com>
1135         * sysdeps/unix/sysv/linux/mips/Makefile
1136         (syscall-list-o32-options): Use -D_MIPS_SIM=1.
1137         (syscall-list-n32-options): Use -D_MIPS_SIM=2.
1138         (syscall-list-n64-options): Use -D_MIPS_SIM=3.
1140 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
1142         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_DONTDUMP):
1143         Define.
1144         (MADV_DODUMP): Likewise.
1146 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
1148         * sysdeps/mips/bits/wordsize.h (__WORDSIZE_COMPAT32): Rename to
1149         __WORDSIZE_TIME64_COMPAT32.
1151         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Update.
1152         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Update.
1153         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Update.
1155 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
1157         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Move to ...
1158         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: ... here.
1159         (kernel-features.h): Don't include.
1160         [__NR_ftruncate64]: Make code unconditional.
1161         [!__NR_ftruncate64]: Remove conditional code.
1162         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1163         * sysdeps/unix/sysv/linux/mips/truncate64.c: Move to ...
1164         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: ... here.
1165         (kernel-features.h): Don't include.
1166         [__NR_truncate64]: Make code unconditional.
1167         [!__NR_truncate64]: Remove conditional code.
1168         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1169         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1170         Add syscall.
1171         (truncate): Likewise.
1172         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1173         (ftruncate): Remove syscall.
1174         (truncate): Likewise.
1175         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Move to ...
1176         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: ... here.
1177         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Move to ...
1178         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: ... here.
1180 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
1182         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat)
1183         [!__USE_MISC && !__USE_XOPEN2K8]: Declare nanoseconds fields with
1184         type unsigned long and names st_atimensec, st_mtimensec and
1185         st_ctimensec.
1186         (struct stat64) [!__USE_MISC && !__USE_XOPEN2K8]: Likewise.
1188 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
1190         * sysdeps/unix/sysv/linux/mips/pread.c [!__ASSUME_PREAD_SYSCALL]:
1191         Remove conditional code.
1192         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1193         * sysdeps/unix/sysv/linux/mips/pread64.c
1194         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1195         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1196         * sysdeps/unix/sysv/linux/mips/pwrite.c
1197         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1198         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1199         * sysdeps/unix/sysv/linux/mips/pwrite64.c
1200         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1201         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1202         * sysdeps/unix/sysv/linux/mips/sigaction.c
1203         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1204         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1206 2012-05-11  Joseph Myers  <joseph@codesourcery.com>
1208         * sysdeps/mips/dl-lookup.c: Update from generic version.
1210 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
1212         * sysdeps/mips/fpu/libm-test-ulps: Move to ...
1213         * sysdeps/mips/mips32/libm-test-ulps: ... here.
1214         * sysdeps/mips/mips64/n32/libm-test-ulps: Move to ...
1215         * sysdeps/mips/mips64/libm-test-ulps: ... here.
1216         * sysdeps/mips/mips64/n64/libm-test-ulps: Remove file.
1218 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1220         [BZ #14044]
1221         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Copy
1222         from libc version and add symbol versions.
1223         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilis
1224         (GLIBC_2.3.3): Add posix_fadvise64.
1226 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: New file.
1229         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1230         Likewise.
1231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Likewise.
1232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
1233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Likewise.
1234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Likewise.
1235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
1236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Likewise.
1237         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
1238         Likewise.
1239         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Likewise.
1240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Likewise.
1241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1242         Likewise.
1243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Likewise.
1244         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Likewise.
1245         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1246         Likewise.
1247         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1248         Likewise.
1249         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Likewise.
1250         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1251         Likewise.
1252         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: Likewise.
1253         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: Likewise.
1254         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1255         Likewise.
1256         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1257         Likewise.
1258         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1259         Likewise.
1260         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: Likewise.
1261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1262         Likewise.
1263         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1264         Likewise.
1265         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Likewise.
1266         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1267         Likewise.
1268         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1269         Likewise.
1270         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
1271         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1272         Likewise.
1273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Likewise.
1274         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Likewise.
1275         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist:
1276         Likewise.
1277         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1278         Likewise.
1279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1280         Likewise.
1281         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Likewise.
1282         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1283         Likewise.
1284         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1285         Likewise.
1287         * sysdeps/mips/mips64/memcpy.S: Don't include <endian.h>.  Test
1288         __MIPSEB instead of __BYTE_ORDER.
1289         * sysdeps/mips/mips64/memset.S: Likewise.
1291 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1293         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1294         Change to 2.6.12.
1295         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1297 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1299         * sysdeps/unix/mips/brk.S: Remove file.
1300         * sysdeps/unix/mips/dl-brk.S: Likewise.
1301         * sysdeps/unix/mips/sigreturn.S: Likewise.
1302         * sysdeps/unix/mips/wait.S: Likewise.
1304 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1306         * sysdeps/mips/memcpy.S: Don't include <endian.h>.  Test __MIPSEB
1307         instead of __BYTE_ORDER.
1308         * sysdeps/mips/memset.S: Likewise.
1310         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1311         kernel_rt_sigframe): Use siginfo_t instead of struct siginfo.
1313 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1315         * sysdeps/unix/mips/fork.S: Remove file.
1317 2012-04-24  Mike Frysinger  <vapier@gentoo.org>
1319         * sysdeps/unix/sysv/linux/mips/mips64/configure.in
1320         (ldd_rewrite_script): Change $dest to $dir.
1321         * sysdeps/unix/sysv/linux/mips/mips64/configure: Regenerate.
1323 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
1325         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Include
1326         sysdeps/unix/sysv/linux/arm/readahead.c not
1327         sysdeps/unix/sysv/linux/arm/eabi/readahead.c.
1329 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1331         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define.
1332         (MAP_HUGETLB): Likewise.
1334 2012-03-27  Joseph Myers  <joseph@codesourcery.com>
1336         * sysdeps/mips/elf/start.S: Moved to ...
1337         * sysdeps/mips/start.S: ...here.
1338         * sysdeps/mips/elf/configure.in: Moved to ...
1339         * sysdeps/mips/configure.in: ...here.  Update comment.
1340         * sysdeps/mips/configure: New generated file.
1342 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1344         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include <_itoa.h>
1345         instead of <stdio-common/_itoa.h>.
1347 2012-03-10  Paul Eggert  <eggert@cs.ucla.edu>
1349         [BZ #13673]
1350         * sysdeps/mips/mips64/gmp-mparam.h: Replace FSF snail mail address
1351         with URL.
1353 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
1355         [BZ #13673]
1356         Replace FSF snail mail address with URLs, as per GNU coding standards.
1358 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1360         * sysdeps/unix/sysv/linux/mips/bits/socket_type.h: New file.
1361         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Remove.
1363 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1365         * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not
1366         declare recvmmsg and sendmmsg.
1368 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1370         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t):
1371         Change union tag to pthread_attr_t.  Only define typedef if not
1372         already defined.
1373         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1374         (pthread_attr_t): Change union tag to pthread_attr_t.  Only define
1375         typedef if not already defined.
1377 2012-02-26  Joseph Myers  <joseph@codesourcery.com>
1379         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
1380         siginfo_t struct.  Add forward declaration of pthread_attr_t and
1381         use it in sigevent.
1382         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
1383         pthread_attr_t union.
1385 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
1387         * sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
1388         * sysdeps/unix/sysv/linux/mips/bits/timerfd.h: Likewise.
1389         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Remove.
1390         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1392 2012-02-20  Andreas Schwab  <schwab@linux-m68k.org>
1394         * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
1395         not defined.
1397 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1399         * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,
1400         matching the array in dl-procinfo.c.
1402 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1404         * sysdeps/mips/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1405         * sysdeps/mips/mips64/n32/fpu/libm-test-ulps: Likewise.
1406         * sysdeps/mips/mips64/n64/fpu/libm-test-ulps: Likewise.
1408 2012-02-15  Robert Millan  <rmh@gnu.org>
1410         [BZ #12301]
1411         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__]
1412         [__PIC__] (SYSCALL_ERROR_LABEL): New macro.
1414 2012-02-15  Robert Millan  <rmh@gnu.org>
1416         [BZ #12298]
1417         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Moved to ...
1418         * sysdeps/mips/sys/tas.h: ... here.
1420 2012-02-15  Robert Millan  <rmh@gnu.org>
1422         [BZ #12297]
1423         * sysdeps/mips/dl-machine.h: Fix a comment regarding __start.
1424         * sysdeps/unix/sysv/linux/mips/entry.h: Moved to ...
1425         * sysdeps/unix/mips/entry.h: ... here.
1427 2012-02-15  Robert Millan  <rmh@gnu.org>
1429         [BZ #12193]
1430         * sysdeps/mips/dl-machine.h (DL_PLATFORM_INIT, dl_platform_init):
1431         Define.
1432         * sysdeps/mips/dl-procinfo.c: New file.
1433         * sysdeps/mips/dl-procinfo.h: Likewise.
1435 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
1437         * sysdeps/unix/sysv/linux/mips/bits/signalfd.h: New file.
1438         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: Remove.
1440 2012-02-15  Viju Vincent  <vijuvince@gmail.com>
1442         * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Use locking
1443         around calls to _dl_lookup_symbol_x.
1445 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1447         * sysdeps/unix/sysv/linux/mips/bits/inotify.h: New file.
1448         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Remove.
1450 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1452         * sysdeps/unix/sysv/linux/mips/bits/eventfd.h: New file.
1453         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Remove.
1455 2012-02-10  Joseph Myers  <joseph@codesourcery.com>
1457         * sysdeps/mips/mips32/crti.S: New file, based on compiler output
1458         for sysdeps/generic/initfini.c.
1459         * sysdeps/mips/mips32/crtn.S: Likewise.
1460         * sysdeps/mips/mips64/n32/crti.S: Likewise.
1461         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
1462         * sysdeps/mips/mips64/n64/crti.S: Likewise.
1463         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
1464         * sysdeps/mips/Makefile (CFLAGS-initfini.s): Remove variable.
1465         (CFLAGS-pt-initfini.s): Likewise.
1466         (CPPFLAGS-crti.S, CPPFLAGS-crtn.S, CPPFLAGS-pt-crti.S): Define
1467         variables.
1469 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
1471         * sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals.
1472         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1473         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1474         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1476 2012-01-08  Joseph Myers  <joseph@codesourcery.com>
1478         * sysdeps/mips/bits/fenv.h: Use const instead of __const.
1479         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1480         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1481         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1482         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Likewise.
1483         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1484         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1486 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1488         * sysdeps/mips/nptl/shlib-versions: New.
1490 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1492         * sysdeps/mips/backtrace.c: Use x86_64 version of backtrace.c.
1494 2012-01-04  Tom de Vries  <tom@codesourcery.com>
1496         * sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with
1497         -fno-unwind-tables.
1499 2012-01-03  Tom de Vries  <tom@codesourcery.com>
1501         * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
1502         * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
1504 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1506         * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)
1507         (mips_list_syscalls, $(objpfx)syscall-%.h $(objpfx)syscall-%.d):
1508         Remove.
1509         (syscall-list-variants, syscall-list-includes)
1510         (syscall-list-o32-options, syscall-list-o32-condition)
1511         (syscall-list-n32-options, syscall-list-n32-condition)
1512         (syscall-list-n64-options, syscall-list-n64-condition): Define.
1513         * sysdeps/unix/sysv/linux/mips/configure.in: Don't generate
1514         asm-unistd.h.
1515         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1516         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Remove.
1518 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1520         [BZ #13538]
1521         * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT)
1522         (EPOLLET): Initialize with unsigned values.
1524 2011-12-19  Joseph Myers  <joseph@codesourcery.com>
1526         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
1527         $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h.
1529 2011-11-17  Joseph Myers  <joseph@codesourcery.com>
1531         * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c,
1532         sysdeps/unix/sysv/linux/mips/mips64/n64/ftw64.c: New.
1534 2011-11-11  Joseph Myers  <joseph@codesourcery.com>
1536         * sysdeps/mips/dl-lookup.c: Update from generic version.
1538 2011-10-12  Joseph Myers  <joseph@codesourcery.com>
1540         * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
1541         * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
1542         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias.
1544 2011-10-05  Andreas Schwab  <schwab@redhat.com>
1546         * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela)
1547         (elf_machine_lazy_rel): Add parameter skip_ifunc.
1549 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1551         * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Cast
1552         return value to (struct cmsghdr *).
1554 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1556         * sysdeps/mips/elf/configure.in: Always test for TLS support and
1557         error out in case it is missing.
1558         * sysdeps/mips/elf/configure: Regenerate.
1559         * sysdeps/mips/nptl/tls.h: Remove test for HAVE_TLS_SUPPORT.
1561 2011-09-11  Joseph Myers  <joseph@codesourcery.com>
1563         * sysdeps/mips/dl-machine.h, sysdeps/mips/libc-tls.c,
1564         sysdeps/mips/nptl/tls.h: Don't define or use USE_TLS.
1566 2011-09-06  Joseph Myers  <joseph@codesourcery.com>
1568         [BZ #13109]
1569         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs)
1570         (statfs): New.
1571         * sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c,
1572         sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New.
1574 2011-08-02  Matt Turner  <mattst88@gmail.com>
1576         * sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata.
1578 2011-07-25  Joseph Myers  <joseph@codesourcery.com>
1580         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC):
1581         Define.
1583 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1585         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c,
1586         sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: New.
1588 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1590         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SI_USER): Don't
1591         mention raise in the comment.
1593 2011-05-23  Aurelien Jarno  <aurelien@aurel32.net>
1595         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME):
1596         Add.
1598 2011-05-13  Joseph Myers  <joseph@codesourcery.com>
1600         * sysdeps/mips/dl-lookup.c: Update from generic version.
1602 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
1604         * sysdeps/mips/dl-lookup.c: Update from generic version.
1606 2011-04-11  Joseph Myers  <joseph@codesourcery.com>
1608         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
1610 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1612         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle
1613         to open_by_handle_at.
1615 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1617         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define.
1619 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1621         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct
1622         file_handle and MAX_HANDLE_SZ.  Declare name_to_handle_at and
1623         open_by_handle.  Augment a few comments.
1625 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1627         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Make
1628         cancelable.
1629         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Likewise.
1630         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1631         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Mark
1632         sync_file_range as cancellation point.
1633         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Mark
1634         sync_file_range as cancellation point.
1636 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1638         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add
1639         sync_file_range.
1641 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
1643         * sysdeps/mips/dl-lookup.c: Update from generic version.
1645 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1647         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
1648         MADV_NOHUGEPAGE): Define.
1650 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1652         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
1653         PF_CAIF, PF_ALG): Define.
1655 2010-12-30  Joseph Myers  <joseph@codesourcery.com>
1657         * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if
1658         NO_CTORS_DTORS_SECTIONS is defined.
1659         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1661 2010-12-21  Joseph Myers  <joseph@codesourcery.com>
1663         * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1665 2010-12-06  Matt Turner  <mattst88@gmail.com>
1667         * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
1669 2010-12-06  Joseph Myers  <joseph@codesourcery.com>
1671         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1672         Change to 2.4.1.
1673         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1675 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
1677         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1678         sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list,
1679         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries
1680         for fanotify_mark.
1682 2010-10-11  Joseph Myers  <joseph@codesourcery.com>
1684         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
1685         libm_hidden_def.
1686         * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
1688 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1690         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1691         (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
1693 2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
1695         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
1696         jump delay slot.
1697         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
1699 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1701         * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
1703 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1705         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
1706         struct statfs64): Add f_flags field.
1708 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1710         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
1711         Define.
1713 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1715         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
1716         and prlimit64.
1717         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1718         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
1719         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
1720         prlimit64 syscall.
1722 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
1724         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
1725         F_GETPIPE_SZ): Define.
1727 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
1729         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
1730         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
1732 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
1734         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
1736 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
1738         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
1739         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
1740         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1741         Define.
1743 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
1745         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
1746         MSG_WAITFORONE.
1748 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
1750         * sysdeps/mips/dl-lookup.c: Update from generic version.
1752 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
1754         [BZ #11291]
1755         * sysdeps/mips/bits/atomic.h
1756         (__arch_compare_and_exchange_xxx_32_int,
1757         __arch_compare_and_exchange_xxx_64_int,
1758         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
1759         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
1760         Specify *mem as asm output as well as input.
1762 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
1764         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
1766 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
1768         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
1769         _dl_runtime_pltresolve): Calculate offset from start of function
1770         to .cpload instead of hardcoding instruction size.
1772 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1774         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
1775         problem.
1777 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1779         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
1780         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
1782 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
1784         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
1785         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
1786         XPG7.
1787         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
1788         fcntl.h.
1790 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1792         [BZ #11093]
1793         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
1794         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
1796 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1798         * sysdeps/mips/dl-lookup.c: Update from generic version.
1800 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
1802         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
1803         O_DSYNC to match 2.6.33+ kernels.
1805 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
1807         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
1808         declare recvmmsg.
1810 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1812         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1813         (posix_fadvise): Remove.
1814         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
1815         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
1816         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
1818 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1820         * sysdeps/mips/dl-lookup.c: Update from generic version.
1822 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
1824         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
1825         for timestamps also if __USE_XOPEN2K8.
1827 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
1829         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
1830         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
1832 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
1834         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
1835         names of parameters of sync_file_range.
1837 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1839         [BZ #10972]
1840         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
1841         constants from recent kernels.
1843 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1845         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
1846         not already defined.
1848 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
1850         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
1851         F_GETOWN_EX): Update values.
1853 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
1855         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
1856         of last two arguments when -D_FILE_OFFSET_BITS=64.
1858 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
1860         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
1861         f_owner_ex.
1863 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
1865         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
1866         and F_GETOWN_EX.
1868 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
1870         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1871         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
1872         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1873         (__SYSCALL_CLOBBERS): Likewise.
1874         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1875         (__SYSCALL_CLOBBERS): Likewise.
1877 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
1879         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
1880         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
1881         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
1882         variable for env.  Use expansion of CHECK_SP macro for check.
1883         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
1885 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
1887         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
1888         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
1890 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
1892         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
1893         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
1895 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
1897         * sysdeps/mips/do-lookup.h: Remove.
1898         * sysdeps/mips/dl-lookup.c: Update from generic version, with
1899         non-PIC handling integrated.
1901 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
1903         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
1904         and AF_IEEE802154.
1906 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1908         * sysdeps/mips/____longjmp_chk.c: New file.
1909         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
1910         undefine __longjmp.
1911         * sysdeps/mips64/__longjmp.c: Likewise.
1913 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1915         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
1916         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
1917         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
1918         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
1920 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1922         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
1923         fallocate64@@GLIBC_2.11.
1925 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
1927         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
1928         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
1930 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
1932         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
1933         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
1934         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
1935         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
1936         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
1937         Update comment.
1938         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
1939         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
1940         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
1941         Add ucontext_i.sym.
1943 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
1945         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
1946         __ASSUME_PWRITEV): Don't define here.
1948 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
1950         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
1952 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
1954         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
1955         numbers.
1956         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
1957         Define.
1958         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
1959         preadv and pwritev.
1961 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
1963         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1964         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
1966 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
1968         [BZ #7074]
1969         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1970         Fix the condition used to annotate n32 objects.
1972 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1974         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
1975         Change parameters and use next_line.
1977 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1979         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
1980         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1981         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1983 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
1985         * sysdeps/mips/bits/link.h: Uglify function parameter names.
1986         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1987         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
1988         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1989         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
1991 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
1993         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
1994         fallocate{,64}.
1996 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
1998         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
1999         UTIME_OMIT only with __USE_ATFILE.
2001 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
2003         [BZ #7040]
2004         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
2005         inotify_rm_watch should have type int.
2007 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
2009         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
2011 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
2012             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2014         PR glibc/1048
2015         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
2016         variable page size for MIPS.
2017         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
2018         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
2019         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
2021 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
2023         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
2024         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
2025         -D_GNU_SOURCE.
2027 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
2029         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
2030         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
2032 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
2034         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
2035         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
2036         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
2037         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
2039 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
2041         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
2042         Make available only for __USE_GNU.
2044 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
2046         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
2047         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
2049 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
2051         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
2052         __THROW vs. __nonnull order for C++.
2054 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
2056         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
2057         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
2058         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
2060 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
2061             Daniel Jacobowitz  <dan@codesourcery.com>
2062             Richard Sandiford  <rdsandiford@googlemail.com>
2064         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
2065         * sysdeps/mips/dl-lookup.c: New.
2066         * sysdeps/mips/do-lookup.h: New.
2067         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
2068         definition.
2069         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
2070         if needed.
2071         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
2072         (elf_machine_type_class): Likewise.
2073         (ELF_MACHINE_PLT_REL): Define.
2074         (elf_machine_fixup_plt): New.
2075         (elf_machine_plt_value): New.
2076         (elf_machine_reloc): Handle jump slot and copy relocations.
2077         (elf_machine_lazy_rel): Point relocation place at PLT if
2078         required.
2079         (RESOLVE_GOTSYM): Take a relocation type argument.
2080         (elf_machine_got_rel): Bind lazy stubs directly to their target if
2081         !lazy.  Skip lazy binding for PLT symbols.
2082         (elf_machine_runtime_setup): Fill in .got.plt header.
2083         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
2084         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
2085         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
2086         (_dl_runtime_pltresolve): New.
2087         * sysdeps/mips/bits/linkmap.h: New file.
2088         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
2089         64-bit versions.
2091         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
2092         Delete definition.
2093         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
2094         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
2095         (PSEUDO): Use them.  Move outside __PIC__.
2096         (PSEUDO_JMP): New.
2097         (CENABLE, CDISABLE): Use it.
2099 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2101         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
2102         to epoll_create1.
2104 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2106         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
2107         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
2108         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
2109         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
2110         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
2111         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
2112         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
2114 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2116         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
2117         volatile.
2119 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
2121         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
2122         type.
2124 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
2126         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
2127         (SOCK_DCCP): Define.
2129 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
2131         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
2132         RUSAGE_THREAD and RUSAGE_LWP.
2134 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
2136         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
2137         shmid_ds.
2139 2008-04-21  Khem Raj  <kraj@mvista.com>
2141         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
2143 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
2145         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
2146         truncate and ftruncate systems calls.
2147         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
2148         empty file.
2149         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
2151 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
2153         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
2154         ARG_MAX if <linux/limits.h> has defined it.
2156 2008-03-28  Robin Randhawa  <robin@mips.com>
2158         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
2159         barriers to enforce strict ordering on weakly ordered systems.
2161 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
2162             Daniel Jacobowitz  <dan@codesourcery.com>
2164         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
2165         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2166         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2168 2008-03-09  Andreas Jaeger  <aj@suse.de>
2170         [BZ #5753]
2171         * sysdeps/mips/ieee754.h: Use protected namespace
2172         __BIG_ENDIAN/__LITTLE_ENDIAN.
2173         Patch by Aurelien Jarno <aurelien@aurel32.net>.
2175 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
2177         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
2178         Reorganize to match other architectures.  Replace _timer._timer1
2179         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
2180         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
2181         (si_timerid, si_overrun): Define.
2182         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
2183         (__pthread_attr_s): Remove declaration.
2184         (struct sigevent): Remove XXX.  Add _tid.
2186 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
2188         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
2190 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
2192         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
2193         type and __THROW marker of splice, vmsplice, and tee.
2195 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
2197         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
2198         LLL_PRIVATE argument to lll_futex_wake.
2199         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
2200         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
2201         comment.
2202         (PF_IUCV, PF_RXRPC): Define.
2203         (PF_MAX): Update.
2204         (AF_IUCV, AF_RXRPC): Define.
2205         (MSG_CMSG_CLOEXEC): Define.
2206         (_EXTERN_INLINE): Define to __extern_inline.
2207         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
2208         UTIME_OMIT): Define.
2209         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
2210         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2211         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2212         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
2213         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
2214         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
2215         LLL_LOCK_*.  Include <kernel-features.h>.
2216         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
2217         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
2218         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
2219         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
2220         lll_futex_wait.
2221         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
2222         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
2223         private arguments.
2224         (__lll_robust_trylock): Convert to macro.
2225         (__lll_robust_lock_wait): Add private argument.
2226         (__lll_lock_wait_private, __lll_lock_wait): Declare.
2227         (__lll_lock): Convert to macro.  Take private argument.
2228         (__lll_cond_lock): Likewise.
2229         (lll_lock, lll_cond_lock): Take private arguments.
2230         (__lll_robust_lock): Take private argument.  Convert to macro.
2231         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
2232         lll_robust_cond_lock): Take private arguments.
2233         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
2234         arguments.
2235         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
2236         (lll_timedlock, lll_robust_timedlock): Take private arguments.
2237         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
2238         private arguments.
2239         (lll_unlock, lll_robust_unlock): Take private arguments.
2240         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
2241         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
2242         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
2243         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
2244         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
2245         lll_cond_wake, lll_cond_broadcast): Remove.
2246         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
2247         to __extern_inline.
2249 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
2251         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
2252         New macros for the (n)64 and n32 ABIs.
2253         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
2255 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
2257         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
2258         Define __WORDSIZE_COMPAT32 as 1.
2260 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
2262         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
2263         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
2264         PTHREAD_STACK_MIN.
2266 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
2268         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
2270         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
2271         Delete.
2273 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
2275         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
2276         (internal_syscall1, internal_syscall2, internal_syscall3,
2277         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
2279 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
2281         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
2282         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
2283         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
2284         THREAD_GSCOPE_WAIT): Define.
2285         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
2286         (FUTEX_PRIVATE_FLAG): Define.
2287         (lll_unlock_wake_cb): Delete prototype.
2288         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
2289         <endian.h>.
2290         (pthread_rwlock_t): Shrink __flags and add __shared.
2292 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2294         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
2295         (posix_fadvise): Fix high word of len argument.
2297 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2299         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2300         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
2301         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
2302         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
2303         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
2304         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
2306 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
2308         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
2309         * sysdeps/mips/mips64/n64/Implies: Likewise.
2310         * sysdeps/mips/mips64/soft-fp/Makefile: New.
2311         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
2312         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
2313         <fpu_control.h>.  Use hardware exception and rounding mode
2314         settings.
2316 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
2318         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
2319         r_info argument to ElfW(Addr).
2321 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
2323         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
2325 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
2326             Daniel Jacobowitz  <dan@codesourcery.com>
2328         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
2329         shmctl, and semctl.
2330         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
2331         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
2332         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
2334 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2336         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
2337         PTR_DEMANGLE): Define.
2338         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
2339         PTR_DEMANGLE): Define.
2340         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
2341         PTR_DEMANGLE): Define.
2343 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2345         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2346         (cfi_same_value): Delete definition.
2348 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
2350         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
2351         (elf_machine_reloc): New function, retaining the body of
2352         elf_machine_rel.  Take the reloc's r_info field as an argument,
2353         not the reloc itself.  Add extra r_addend and inplace_p arguments.
2354         When inplace_p is false, use r_addend as the addend, not the contents
2355         of the relocation field.  Hoist the conversion of reloc_addr to
2356         "ELFW(Addr) *".  Don't try to apply TLS relocations against
2357         undefined symbols.  Add R_MIPS_GLOB_DAT support.
2358         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
2359         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
2360         to ElfW(Rela).
2362 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
2364         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
2365         multiple inclusion guard.
2366         * sysdeps/mips/elf/ldsodefs.h: Delete file.
2368 2007-01-04  Thiemo Seufer  <ths@networkno.de>
2370         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
2371         to match the kernel.
2373 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
2375         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
2376         (RTLD_SINGLE_THREAD_P): Define.
2377         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
2379 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
2381         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
2382         prototype.
2384 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
2386         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
2387         code.
2388         (__xstat_conv): Use memset to clear padding arrays.  Check for
2389         overflow.
2390         (__xstat64_conv): Use memset to clear padding arrays.
2391         (__xstat32_conv): New function.
2392         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
2393         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
2395 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
2397         * sysdeps/mips/fpu_control.h: If soft-float, don't use
2398         floating-point registers.
2399         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
2400         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
2401         Likewise.
2403 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
2405         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
2406         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
2408 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2410         * sysdeps/mips/mips64/n32/libm-test-ulps,
2411         sysdeps/mips/mips64/n64/libm-test-ulps: New.
2413 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2415         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
2416         defined, include the named file.
2418 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
2420         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
2421         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
2422         Define.
2424 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2426         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
2427         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
2428         types.
2430 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2432         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2433         Don't use struct timespec.
2434         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
2435         __xstat64_conv): Copy individual timespec fields.
2437 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
2439         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
2441 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2443         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
2444         * sysdeps/mips/fpu/fesetround.c: Likewise.
2446 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
2447             Daniel Jacobowitz  <dan@codesourcery.com>
2449         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
2450         dump sc_cause, sc_status or sc_badvaddr.
2451         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
2452         structure definitions after DSP kernel changes.
2453         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
2454         after the same DSP changes.
2456 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2458         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
2459         st_atim, st_mtim and st_ctim interface.
2460         (struct stat64): Likewise.
2461         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2462         Replace st_atime and its padding field with st_atim.  Likewise
2463         st_mtime/st_mtim and st_ctime/st_ctim.
2464         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
2465         after above changes.
2466         (__xstat64_conv): Likewise.
2468 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2470         * sysdeps/mips/ldsodefs.h: New file.
2471         * sysdeps/mips/tst-audit.h: New file.
2473 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
2475         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
2476         for consistency with other ports.
2477         (MADV_REMOVE): Correct value.
2478         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
2479         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
2480         POSIX_MADV_DONTNEED): Define.
2482 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
2484         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
2485         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
2486         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
2487         and SYNC_FILE_RANGE_WAIT_AFTER.
2488         Declare sync_file_range, vmsplice, splice and tee.
2490 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
2492         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
2493         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
2494         prototype.
2496 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
2498         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
2499         Define.
2501 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
2503         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
2504         typo.
2506 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2508         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
2509         i386/fork.c.
2511 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2513         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
2514         libc_cv_localedir, libdir, arch_minimum_kernel, and
2515         libc_cv_gcc_unwind_find_fde.
2516         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
2517         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2518         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
2520 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
2522         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2523         (__pthread_list_t, __pthread_slist_t): New typedefs.
2524         (pthread_mutex_t): Replace __next and __prev fields with __list.
2525         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
2526         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
2527         (lll_futex_wake_unlock): Define.
2528         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
2529         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
2530         lll_robust_mutex_unlock): New macros.
2531         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
2532         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
2533         vfork.S.
2534         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
2536 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2538         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
2539         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
2541 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2543         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2544         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2545         (INTERNAL_SYSCALL_NCS): New.
2546         (internal_syscall0, internal_syscall1, internal_syscall2,
2547         internal_syscall3, internal_syscall4, internal_syscall5,
2548         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2549         Use them.  Correct types for registers.
2550         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2551         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2552         (INTERNAL_SYSCALL_NCS): New.
2553         (internal_syscall0, internal_syscall1, internal_syscall2,
2554         internal_syscall3, internal_syscall4, internal_syscall5,
2555         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2556         Use them.
2557         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
2558         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
2559         points.
2560         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
2561         Use Elf(Addr) for TLS relocation targets.
2562         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
2563         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
2564         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
2565         futexp to long for n64.
2566         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
2568 2006-02-20  Roland McGrath  <roland@redhat.com>
2570         * sysdeps/mips/shlib-versions: New file.
2571         * sysdeps/mips/preconfigure: New file.
2572         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.