2013-09-23 Steve Ellcey <sellcey@mips.com>
[glibc.git] / ports / ChangeLog.mips
blob7882f712b7e7219d39616080c3c9aad82bda6323
1 2013-09-23  Steve Ellcey  <sellcey@mips.com>
3         * sysdeps/mips/fpu/fegetround.c (fegetround): Use _FPU_RC_MASK.
4         * sysdeps/mips/fpu/fesetround.c (fesetround): Use _FPU_RC_MASK.
6 2013-09-23  Steve Ellcey  <sellcey@mips.com>
8         * sysdeps/mips/fpu_control.h (_FPU_RC_MASK): New.
10 2013-09-23  Steve Ellcey  <sellcey@mips.com>
12         * sysdeps/mips/fpu_control.h (comments): Add capitalization and
13         periods to match GNU standard.
15 2013-09-20  Steve Ellcey  <sellcey@mips.com>
17         * sysdeps/mips/memset.S: Change prefetching and add loop unrolling.
18         * sysdeps/mips/mips64/memset.S: Remove.
20 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21             Thomas Schwinge  <thomas@codesourcery.com>
23         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NAN2008): New macro.
24         (elf_machine_matches_host): Reject objects that use a different
25         NaN encoding convention.
26         * sysdeps/mips/fpu_control.h: Document IEEE 754-2008 feature
27         control bits.
28         (_FPU_ABS2008, _FPU_NAN2008): New macros.
29         (_FPU_RESERVED): Clear bits #20 and #19.
30         (_FPU_DEFAULT) [__mips_nan2008]: Set bit #18.
31         (_FPU_IEEE) [__mips_nan2008]: Likewise.
32         * sysdeps/mips/math_private.h [__mips_nan2008]
33         (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Don't define.
34         * sysdeps/mips/bits/nan.h [__mips_nan2008] (__qnan_bytes): Define
35         appropriately.
36         * sysdeps/mips/mips64/soft-fp/sfp-machine.h [__mips_nan2008]
37         (_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): Define 2008-NaN
38         payloads.
39         (_FP_QNANNEGATEDP): Set to 0.
40         * sysdeps/mips/soft-fp/sfp-machine.h [__mips_nan2008]
41         (_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): Define 2008-NaN
42         payloads.
43         (_FP_QNANNEGATEDP): Set to 0.
44         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
45         Define 2008 NaN encoding values.
46         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
47         Handle 2008-NaN libraries.
48         * sysdeps/mips/shlib-versions [HAVE_MIPS_NAN2008]: Set
49         ld=ld-linux-mipsn8.so.1.
50         * sysdeps/mips/configure.in: Define HAVE_MIPS_NAN2008 if the
51         2008 NaN encoding is used.
52         * sysdeps/unix/sysv/linux/mips/Makefile (abi-variants): Add
53         2008-NaN ABI variants.
54         (abi-o32_soft-options, abi-o32_soft-condition): Update with the
55         __mips_nan2008 macro.
56         (abi-o32_hard-options, abi-o32_hard-condition): Likewise.
57         (abi-n32_soft-options, abi-n32_soft-condition): Likewise.
58         (abi-n32_hard-options, abi-n32_hard-condition): Likewise.
59         (abi-n64_soft-options, abi-n64_soft-condition): Likewise.
60         (abi-n64_hard-options, abi-n64_hard-condition): Likewise.
61         (abi-o32_soft-ld-soname, abi-o32_hard-ld-soname): New macros.
62         (abi-n32_soft-ld-soname, abi-n32_hard-ld-soname): Likewise.
63         (abi-n64_soft-ld-soname, abi-n64_hard-ld-soname): Likewise.
64         (abi-o32_soft_2008-options): Likewise.
65         (abi-o32_soft_2008-condition): Likewise.
66         (abi-o32_hard_2008-options): Likewise.
67         (abi-o32_hard_2008-condition): Likewise.
68         (abi-n32_soft_2008-options): Likewise.
69         (abi-n32_soft_2008-condition): Likewise.
70         (abi-n32_hard_2008-options): Likewise.
71         (abi-n32_hard_2008-condition): Likewise.
72         (abi-n64_soft_2008-options): Likewise.
73         (abi-n64_soft_2008-condition): Likewise.
74         (abi-n64_hard_2008-options): Likewise.
75         (abi-n64_hard_2008-condition): Likewise.
76         (abi-o32_soft_2008-ld-soname): Likewise.
77         (abi-o32_hard_2008-ld-soname): Likewise.
78         (abi-n32_soft_2008-ld-soname): Likewise.
79         (abi-n32_hard_2008-ld-soname): Likewise.
80         (abi-n64_soft_2008-ld-soname): Likewise.
81         (abi-n64_hard_2008-ld-soname): Likewise.
82         * sysdeps/unix/sysv/linux/mips/configure.in: Include the NaN
83         encoding selection in default-abi.  Set arch_minimum_kernel to
84         10.0.0 if 2008 NaN encoding is used.
85         * sysdeps/mips/configure: Regenerate.
86         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
88 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
90         * sysdeps/mips/memcpy.S: Fix then/than typos.
92 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
94         * sysdeps/mips/memcpy.S: Fix typos.
96 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
98         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
99         Use ELFOSABI_GNU instead of ELFOSABI_LINUX.
101 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
103         * sysdeps/mips/sys/asm.h: Fix typos.
105 2013-08-22  Maciej W. Rozycki  <macro@codesourcery.com>
107         * sysdeps/mips/fpu_control.h: Document bits reserved for
108         architecture implementers.
109         (_FPU_RESERVED): Clear bit #21.
110         * sysdeps/mips/fpu/fedisblxcpt.c (fedisableexcept): Don't clear
111         reserved bits.
112         * sysdeps/mips/fpu/feenablxcpt.c (feenableexcept): Likewise.
114 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
116         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
117         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
119         [BZ #13304]
120         * sysdeps/mips/ieee754/s_fma.c: New file.
121         * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
122         * sysdeps/mips/ieee754/s_fmal.c: Likewise.
123         * sysdeps/mips/mips32/Implies: Add mips/soft-fp.
124         * sysdeps/mips/mips64/n32/s_fma.c: Remove file.
125         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
126         * sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_MUL_MEAT_DW_S):
127         New macro.
128         (_FP_MUL_MEAT_DW_D): Likewise.
129         (_FP_MUL_MEAT_DW_Q): Likewise.
130         * sysdeps/mips/soft-fp/sfp-machine.h (_FP_MUL_MEAT_DW_S): New
131         macro.
132         (_FP_MUL_MEAT_DW_D): Likewise.
133         (_FP_MUL_MEAT_DW_Q): Likewise.
135 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
137         * sysdeps/mips/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
138         to macro prototype for AT_HWCAP2 support.
140 2013-06-27  Maciej W. Rozycki  <macro@codesourcery.com>
142         * sysdeps/unix/sysv/linux/mips/dl-static.c: Do not include
143         <bits/libc-lock.h>.
144         (_dl_static_lock): Remove variable.
145         (_dl_static_init): Remove _dl_static_lock locking.
147 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
149         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
150         Update.
151         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
152         Likewise.
153         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
154         Likewise.
156 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
158         [BZ #14909]
159         * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
160         Rename __fpc_csr field to __glibc_reserved1.
161         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux) [__mips_hard_float]:
162         Do not set __fpc_csr.
163         * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux)
164         [__mips_hard_float]: Likewise.
165         * sysdeps/mips/__longjmp.c (____longjmp) [__mips_hard_float]: Do
166         not use __fpc_csr.
167         * sysdeps/mips/mips64/__longjmp.c (__longjmp) [__mips_hard_float]:
168         Likewise.
170         * sysdeps/mips/math-tests.h: New file.
172 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
174         * sysdeps/mips/fpu/fgetexcptflg.c: Remove trailing whitespace.
175         * sysdeps/mips/fpu/fraiseexcpt.c: Likewise.
176         * sysdeps/mips/memset.S: Likewise.
177         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
178         * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
179         * sysdeps/mips/mips64/memset.S: Likewise.
180         * sysdeps/mips/mips64/setjmp.S: Likewise.
181         * sysdeps/mips/start.S: Likewise.
182         * sysdeps/unix/mips/sysdep.S: Likewise.
183         * sysdeps/unix/sysv/linux/mips/dl-static.c: Likewise.
184         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Likewise.
186 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
188         [BZ #15465]
189         * sysdeps/mips/dl-lookup.c (do_lookup_x): Use DSO_FILENAME.
190         (add_dependency): Likewise.
191         (_dl_lookup_symbol_x): Likewise.
192         (_dl_debug_bindings): Likewise.
193         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Use
194         RTLD_PROGNAME.
196 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
198         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add
199         si_addr_lsb to _sifields.sifault.
200         (si_addr_lsb): Define new macro.
201         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
203 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
205         * sysdeps/mips/mips32/libm-test-ulps: Update test names.
206         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
208 2013-05-21  Joseph Myers  <joseph@codesourcery.com>
210         [BZ #15506]
211         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
212         [!__PIC__] (PSEUDO): Undefine and redefine.
213         (PSEUDO_END): Undefine and redefine unconditionally.
214         [!__PIC__] (STK_PAD): Define to 0.
215         [!__PIC__] (STKOFF_GP): Do not define.
216         [!__PIC__] (STKSPACE): Define to (STKOFF_SVMSK + SZREG).
217         (PSEUDO_JMP): Define depending on [__PIC__].
218         (CENABLE): Use PSEUDO_JMP in all definitions.
219         (CDISABLE): Likewise.
220         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
221         (SYSCALL_ERROR_LABEL): Define unconditionally.
222         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
223         (SYSCALL_ERROR_LABEL): Define unconditionally.
225 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
227         * sysdeps/mips/mips32/libm-test-ulps: Update names of sincos
228         tests.
229         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
231 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
233         [BZ #15442]
234         * sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
235         New macro.
236         (_FP_NANFRAC_S): Don't set the quiet bit.
237         (_FP_NANFRAC_D): Likewise.
238         (_FP_NANFRAC_Q): Likewise.
239         * sysdeps/mips/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): New
240         macro.
241         (_FP_NANFRAC_S): Don't set the quiet bit.
242         (_FP_NANFRAC_D): Likewise.
243         (_FP_NANFRAC_Q): Likewise.
245 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
247         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: Add missing
248         #include <stdint.h> due to uint64_t or uint32_t usage.
249         * sysdeps/mips/bits/atomic.h: Likewise.
251 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
253         * sysdeps/mips/math_private.h: New file.
255 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
257         * sysdeps/unix/sysv/linux/mips/configure.in (default-abi): Set
258         using LIBC_CONFIG_VAR.
259         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
260         * sysdeps/unix/sysv/linux/mips/Makefile: Do not include
261         default-abi.make.
263 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
265         * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
266         (MAP_ANONYMOUS): Don't define.
268 2013-03-06  Andreas Jaeger  <aj@suse.de>
270         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines
271         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
272         (__MAP_ANONYMOUS): Define.
274         * sysdeps/unix/sysv/linux/mips/bits/msq.h (MSG_COPY): Define.
276 2013-02-27  Chung-Lin Tang  <cltang@codesourcery.com>
277             Maciej W. Rozycki  <macro@codesourcery.com>
278             Maxim Kuvyrkov  <maxim@codesourcery.com>
280         * sysdeps/mips/abort-instr.h (ABORT_INSTRUCTION) [__mips16]:
281         New macro.
282         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Add
283         MIPS16 version of assembly code.
284         (RTLD_START) [__mips16]: New macro.
285         * sysdeps/mips/fpu_control.h (__mips_fpu_getcw): New prototype.
286         (__mips_fpu_setcw): Likewise.
287         (_FPU_GETCW) [__mips16]: New macro.
288         (_FPU_SETCW) [__mips16]: Likewise.
289         * sysdeps/mips/machine-gmon.h (MCOUNT): Add `.set nomips16'.
290         * sysdeps/mips/tls-macros.h (LOAD_GP) [__mips16]: New macro.
291         (TLS_GD, TLS_LD, TLS_IE, TLS_LE) [__mips16]: Likewise.
292         * sysdeps/mips/bits/atomic.h: Also use __atomic_* builtins with
293         GCC 4.7 in MIPS16 code.
294         (atomic_compare_and_exchange_val_acq) [__mips16]: New macro.
295         (atomic_compare_and_exchange_bool_acq) [__mips16]: Likewise.
296         (atomic_exchange_acq) [__mips16]: Likewise.
297         (atomic_exchange_and_add) [__mips16]: Likewise.
298         (atomic_bit_test_set) [__mips16]: Likewise.
299         (atomic_and, atomic_and_val) [__mips16]: Likewise.
300         (atomic_or, atomic_or_val) [__mips16]: Likewise.
301         (atomic_full_barrier) [__mips16]: Likewise.
302         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER) [__mips16]:
303         Likewise.
304         * sysdeps/mips/sys/tas.h (_test_and_set): Add `__nomips16__'
305         attribute.
306         * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO): Add
307         `.set nomips16'.
308         (PSEUDO_ERRVAL): Likewise.
309         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Likewise.
310         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
311         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
312         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
313         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS) [__mips16]: New macros.
314         (INTERNAL_SYSCALL_MIPS16) [__mips16]: Likewise.
315         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h:
316         New file.
317         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO):
318         Add `.set nomips16'.
319         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
320         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
321         * sysdeps/mips/memset.S (memset): Likewise.
322         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
323         * sysdeps/mips/start.S (ENTRY_POINT) [__mips16]: New function.
324         * sysdeps/mips/mips32/crti.S: Add `.set nomips16'.
325         * sysdeps/mips/mips32/crtn.S: Likewise.
326         * sysdeps/mips/mips64/n32/crti.S: Likewise.
327         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
328         * sysdeps/mips/mips64/n64/crti.S: Likewise.
329         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
330         * sysdeps/unix/mips/sysdep.S: Likewise.
331         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
332         * sysdeps/unix/sysv/linux/mips/getcontext.S: Likewise.
333         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
334         * sysdeps/unix/sysv/linux/mips/setcontext.S: Likewise.
335         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
336         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
337         * sysdeps/mips/__longjmp.c (__longjmp): Rename function to...
338         (____longjmp): ... this.  Make static and add `nomips16'
339         attribute.
340         (__longjmp): New alias.
341         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve) [__mips16]:
342         New function.
343         (_dl_runtime_pltresolve): Likewise.
344         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Add `nomips16'
345         attribute.
346         * sysdeps/mips/fpu/e_sqrt.c (__ieee754_sqrt): Likewise.
347         * sysdeps/mips/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise.
348         * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Rewrite in terms
349         of INTERNAL_SYSCALL.
350         * sysdeps/mips/mips32/fpu/fpu_control.c: New file.
351         * sysdeps/mips/mips32/mips16/add_n.c: New file.
352         * sysdeps/mips/mips32/mips16/addmul_1.c: New file.
353         * sysdeps/mips/mips32/mips16/lshift.c: New file.
354         * sysdeps/mips/mips32/mips16/mul_1.c: New file.
355         * sysdeps/mips/mips32/mips16/rshift.c: New file.
356         * sysdeps/mips/mips32/mips16/sub_n.c: New file.
357         * sysdeps/mips/mips32/mips16/submul_1.c: New file.
358         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c:
359         New file.
360         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c:
361         New file.
362         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c:
363         New file.
364         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c:
365         New file.
366         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c:
367         New file.
368         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
369         New file.
370         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
371         New file.
372         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
373         New file.
374         * sysdeps/mips/mips32/fpu/Versions: New file.
375         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions: New file.
376         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: New
377         file.
378         * sysdeps/mips/mips32/mips16/fpu/Makefile: New file.
379         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile: New file.
380         * sysdeps/mips/preconfigure: Handle o32 MIPS16 compilation.
382 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
384         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
385         __attribute__ ((unused)) to __attribute__ ((__unused__)).
387         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Sort
388         properly.
390         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
391         __attribute_used__ to __attribute__ ((unused)).
393         * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Add
394         __attribute_used__.
396         * sysdeps/mips/bits/nan.h: Align to generic IEEE 754 file.
398 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
400         [BZ #14920]
401         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
402         (FUTEX_WAIT_REQUEUE_PI): Define.
403         (FUTEX_CMP_REQUEUE_PI): Likewise.
404         (lll_futex_wait_requeue_pi): Likewise.
405         (lll_futex_timed_wait_requeue_pi): Likewise.
406         (lll_futex_cmp_requeue_pi): Likewise.
408 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
410         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
411         __cxa_thread_atexit_impl.
412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
413         Likewise.
414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
415         Likewise.
417 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
419         [BZ #13550]
420         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c (__fxstat64): Do
421         not use __ptrvalue.
422         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c (__fxstatat64):
423         Likewise.
424         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c (__lxstat64):
425         Likewise.
426         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c (__xstat64):
427         Likewise.
428         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
429         Likewise.
431 2013-02-11  Joseph Myers  <joseph@codesourcery.com>
433         * sysdeps/mips/include/sys/asm.h: New file.
434         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use SETUP_GP64_REG
435         and RESTORE_GP64_REG.
436         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
437         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
438         * sysdeps/mips/sys/asm.h (__mips_cfi_startproc): Define to empty.
439         (__mips_cfi_endproc): Likewise.
440         (LEAF): Use __mips_cfi_startproc.
441         (NESTED): Likewise.
442         (END): Use __mips_cfi_endproc.
443         (EXPORT): Use __mips_cfi_startproc.
444         * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Add CFI information
445         for error-handling code in both definitions.
446         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
447         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
448         * sysdeps/unix/mips/sysdep.h (ENTRY): Use cfi_startproc.
449         (END): Use cfi_endproc.
450         (PSEUDO_END): Likewise.
451         (PSEUDO_END_NOERRNO): Likewise.
452         (PSEUDO_END_ERRVAL): Likewise.
453         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Add CFI
454         information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
455         * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext):
456         Likewise.
457         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
458         Likewise.
459         * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
460         SETUP_GP64_REG and RESTORE_GP64_REG.
461         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
462         [(!NOT_IN_libc || IS_IN_libpthread || IS_IN_librt) && __PIC__]
463         (PSEUDO): Use cfi_endproc before ENTRY.
464         * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Add CFI
465         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
466         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h [(!NOT_IN_libc
467         || IS_IN_libpthread || IS_IN_librt) && __PIC__] (PSEUDO): Use
468         cfi_endproc before ENTRY.
469         * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext): Add
470         CFI information.  Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
471         * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
472         Likewise.
473         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Add CFI
474         information.  Use SETUP_GP64_REG and RESTORE_GP64_REG.
476 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
478         [BZ #13550]
479         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: Don't include
480         <bp-checks.h>.
481         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
482         (__libc_pread): Don't use CHECK_N.
483         * sysdeps/unix/sysv/linux/mips/pread64.c: Don't include
484         <bp-checks.h>.
485         (__libc_pread64): Don't use CHECK_N.
486         * sysdeps/unix/sysv/linux/mips/pwrite.c: Don't include
487         <bp-checks.h>.
488         (__libc_pwrite): Don't use CHECK_N.
489         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Don't include
490         <bp-checks.h>.
491         (__libc_pwrite64): Don't use CHECK_N.
493         * sysdeps/mips/add_n.S (__mpn_add_n): Use END.
494         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
495         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
496         * sysdeps/mips/mips64/add_n.S (__mpn_add_n): Use ENTRY and END.
497         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Likewise.
498         * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use END.
499         * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
500         * sysdeps/mips/mips64/lshift.S (__mpn_lshift): Use ENTRY and END.
501         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Likewise.
502         * sysdeps/mips/mips64/rshift.S (__mpn_rshift): Likewise.
503         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Use END.
504         * sysdeps/mips/mips64/sub_n.S (__mpn_sub_n): Use ENTRY and END.
505         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Likewise.
506         * sysdeps/mips/setjmp.S (__sigsetjmp): Use END.
508         [BZ #13550]
509         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Do not include
510         <bp-checks.h>.
511         (__msgctl): Do not use CHECK_1.
512         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Do not include
513         <bp-checks.h>.
514         (__shmctl): Do not use CHECK_1.
515         * sysdeps/unix/sysv/linux/mips/ustat.c: Do not include
516         <bp-checks.h>.
517         (ustat): Do not use CHECK_1.
519 2013-02-05  Maciej W. Rozycki  <macro@codesourcery.com>
521         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Add a missing
522         space in asm register specifiers throughout.
523         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
524         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
526         [BZ #15054]
527         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (MOVE32):
528         New macro.
529         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
530         restart convention.
531         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
532         convention.
533         (internal_syscall0, internal_syscall1): Likewise.
534         (internal_syscall2, internal_syscall3): Likewise.
535         (internal_syscall4, internal_syscall5): Likewise.
536         (internal_syscall6, internal_syscall7): Likewise.
537         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (MOVE32):
538         New macro.
539         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
540         restart convention.
541         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
542         convention.
543         (internal_syscall0, internal_syscall1): Likewise.
544         (internal_syscall2, internal_syscall3): Likewise.
545         (internal_syscall4, internal_syscall5): Likewise.
546         (internal_syscall6): Likewise.
547         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (MOVE32):
548         New macro.
549         (INTERNAL_SYSCALL_NCS): Use it.  Rewrite to respect the syscall
550         restart convention.
551         (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
552         convention.
553         (internal_syscall0, internal_syscall1): Likewise.
554         (internal_syscall2, internal_syscall3): Likewise.
555         (internal_syscall4, internal_syscall5): Likewise.
556         (internal_syscall6): Likewise.
558 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
560         [BZ #13550]
561         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Do not include
562         <bp-checks.h>.
563         (truncate64): Do not use CHECK_STRING.
564         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
565         <bp-checks.h>.
566         (__fxstatat64): Do not use CHECK_STRING.
567         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Do not include
568         <bp-checks.h>.
569         (__lxstat64): Do not use CHECK_STRING.
570         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Do not include
571         <bp-checks.h>.
572         (__xstat64): Do not use CHECK_STRING.
574 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
576         [BZ #13550]
577         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Don't include
578         <bp-checks.h> and <bp-semctl.h>.
579         (__semctl): Don't use CHECK_SEMCTL.
581 2013-01-29  Maciej W. Rozycki  <macro@codesourcery.com>
583         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Correct
584         whitespace damage throughout.
585         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
587 2013-01-25  Steve Ellcey  <sellcey@mips.com>
589         * sysdeps/mips/memmove.c: Remove.
591 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
593         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h (struct
594         sigcontext): Use __extension__ with long long in all definitions.
596 2013-01-08  Steve Ellcey  <sellcey@mips.com>
598         * sysdeps/mips/memcpy.S: Change prefetch hint, reorder partial
599         loads and stores, set and use MAX_PREFETCH_SIZE.
601 2013-01-08  Andreas Jaeger  <aj@suse.de>
603         [BZ# 14985]
604         * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): Remove.
606 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
608         * All files with FSF copyright notices: Update copyright dates
609         using scripts/update-copyrights.
611 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
613         * sysdeps/mips/bits/dlfcn.h: Reformat copyright notice.
614         * sysdeps/mips/bits/mathdef.h: Likewise.
615         * sysdeps/mips/bits/setjmp.h: Likewise.
616         * sysdeps/mips/ieee754/ieee754.h: Likewise.
617         * sysdeps/mips/machine-gmon.h: Likewise.
618         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
619         * sysdeps/mips/mips64/setjmp.S: Likewise.
620         * sysdeps/mips/start.S: Likewise.
621         * sysdeps/unix/mips/mips64/n32/sysdep.h: Likewise.
622         * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
623         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
624         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
626 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
628         * sysdeps/mips/fpu_control.h [__mips_soft_float] (_FPU_GETCW):
629         Define to set cw to 0, not just to plain "0" as a statement.
630         [__mips_soft_float] (_FPU_SETCW): Define to (void) (cw), rather
631         than doing nothing with cw.
633 2012-11-30  Joseph Myers  <joseph@codesourcery.com>
635         * sysdeps/mips/mips32/libm-test-ulps: Update.
636         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
638 2012-11-29  Joseph Myers  <joseph@codesourcery.com>
640         [BZ #14893]
641         * sysdeps/mips/mips64/n32/_itoa.h: New file.
642         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include
643         <sgidefs.h>.
644         (CTX_TYPE): New macro.
645         (CTX_REG): Likewise.
646         (CTX_PC): Likewise.
647         (CTX_MDHI): Likewise.
648         (CTX_MDLO): Likewise.
649         (REG_HEX_SIZE): Likewise.
650         (hexvalue): Take _ITOA_WORD_TYPE argument.
651         (register_dump): Use these macros instead of hardcoding struct
652         sigcontext * type and accesses and 8-byte textual output for
653         registers.
655 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
657         [BZ #14822]
658         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
659         (sendfile): New syscall entry.
660         * sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c: New file.
661         Copy of ../sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c.
663 2012-11-21  Joseph Myers  <joseph@codesourcery.com>
665         * sysdeps/mips/jmpbuf-unwind.h (_jmpbuf_sp): Cast regs[0].__sp to
666         uintptr_t.
668         * sysdeps/mips/sotruss-lib.c: New file.
670 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
672         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
673         (internal_syscall1): Use parentheses around macro arguments.
674         (internal_syscall2): Likewise.
675         (internal_syscall3): Likewise.
676         (internal_syscall4): Likewise.
677         (internal_syscall5): Likewise.
678         (internal_syscall6): Likewise.
679         (internal_syscall7): Likewise.
680         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
681         (internal_syscall1): Likewise.
682         (internal_syscall2): Likewise.
683         (internal_syscall3): Likewise.
684         (internal_syscall4): Likewise.
685         (internal_syscall5): Likewise.
686         (internal_syscall6): Likewise.
688         * sysdeps/mips/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
689         _Unwind_GetCFA return to _Unwind_Ptr before casting to a pointer
690         type.
691         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c (CHECK_SP): Cast
692         ss_sp to long before casting to sp_type.
693         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h [_MIPS_SIM ==
694         _ABIO32] (GET_PC): Cast to unsigned long before casting to a
695         pointer type.
696         [_MIPS_SIM == _ABIO32] (GET_FRAME): Likewise.
697         [_MIPS_SIM == _ABIO32] (GET_STACK): Likewise.
698         [_MIPS_SIM != _ABIO32] (GET_PC): Likewise.
699         [_MIPS_SIM != _ABIO32] (GET_FRAME): Likewise.
700         [_MIPS_SIM != _ABIO32] (GET_STACK): Likewise.
702         * sysdeps/mips/bits/atomic.h [!__GNUC_PREREQ (4, 8)]
703         (__arch_compare_and_exchange_xxx_8_int): Separate assignments to
704         __prev and __cmp.  Cast __cmp to void.
705         [!__GNUC_PREREQ (4, 8)] (__arch_compare_and_exchange_xxx_16_int):
706         Likewise.
707         [!__GNUC_PREREQ (4, 8) && _MIPS_SIM == _ABIO32]
708         (__arch_compare_and_exchange_xxx_64_int): Likewise.
710 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
712         * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Declare VERSION
713         variable with __attribute__ ((unused)).
715         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
716         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
717         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
718         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
719         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
720         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
721         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
722         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
723         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
724         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
725         (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
726         (INTERNAL_SYSCALL_ERRNO): Cast err to void.
728 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
730         * sysdeps/mips/bits/atomic.h
731         (__arch_compare_and_exchange_bool_8_int): Mark __PREV variable
732         with __attribute__ ((unused)).
733         (__arch_compare_and_exchange_bool_16_int): Likewise.
734         (__arch_compare_and_exchange_bool_32_int): Likewise.
735         (__arch_compare_and_exchange_bool_64_int): Likewise.
737 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
739         * sysdeps/mips/memmove.c: New file.  Use memcpy for forward memmove.
741 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
743         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
744         (lll_futex_timed_wait_bitset): New macro.
746 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
748         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Don't
749         include <stub-tag.h>.
751 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
753         * sysdeps/mips/fpu/fclrexcpt.c (feclearexcept): Add
754         libm_hidden_def.
756         [BZ #3439]
757         * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define macro to integer
758         constant usable in #if and use that to give value to enum
759         constant.
760         (FE_UNDERFLOW): Likewise.
761         (FE_OVERFLOW): Likewise.
762         (FE_DIVBYZERO): Likewise.
763         (FE_INVALID): Likewise.
764         (FE_TONEAREST): Likewise.
765         (FE_TOWARDZERO): Likewise.
766         (FE_UPWARD): Likewise.
767         (FE_DOWNWARD): Likewise.
769 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
771         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
773         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist
774         (GLIBC_2.17): Add clock_* symbols.
776 2012-10-31  Steve Ellcey  <sellcey@mips.com>
778         * sysdeps/mips/memcpy.S: Add prefetching and more unrolling, make
779         it work in 32 or 64 bit modes.
780         * sysdeps/mips/mips64/memcpy.S: Remove.
782 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
784         [BZ #14047]
785         * sysdeps/mips/tininess.h: New file.
787 2012-10-29  Steve Ellcey  <sellcey@mips.com>
789         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
790         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
791         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
792         * sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
793         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
794         * sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
795         (abi-variants): Add hard and soft float versions.
796         (abi-o32-options): Remove.
797         (abi-o32-condition): Remove.
798         (abi-n32-options): Remove.
799         (abi-n32-condition): Remove.
800         (abi-n64-options): Remove.
801         (abi-n64-condition): Remove.
802         (abi-o32_soft-options): New.
803         (abi-o32_soft-condition): New.
804         (abi-o32_hard-options): New.
805         (abi-o32_hard-condition): New.
806         (abi-n32_soft-options): New.
807         (abi-n32_soft-condition): New.
808         (abi-n32_hard-options): New.
809         (abi-n32_hard-condition): New.
810         (abi-n64_soft-options): New.
811         (abi-n64_soft-condition): New.
812         (abi-n64_hard-options): New.
813         (abi-n64_hard-condition): New.
815 2012-10-19  Roland McGrath  <roland@hack.frob.com>
817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist
818         (GLIBC_2.17): Add clock_* symbols.
819         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
821 2012-10-24  Andreas Jaeger  <aj@suse.de>
823         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all
824         definitions and declarations that are provided by
825         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
827 2012-10-03  Steve Ellcey  <sellcey@mips.com>
829         * sysdeps/mips/ieee754.h: Move to...
830         * sysdeps/mips/ieee754/ieee754.h: Here.
831         * sysdeps/mips/mips32/Implies: Add mips/ieee754.
832         * sysdeps/mips/mips64/Implies: Ditto.
833         * sysdeps/mips/mips64/n32/Implies: Ditto.
834         * sysdeps/mips/mips64/n64/Implies: Ditto.
836 2012-10-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
838         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Fix clone
839         flag name in comment to CLONE_CHILD_CLEARTID.
841 2012-09-28  Roland McGrath  <roland@hack.frob.com>
843         * sysdeps/mips/init-first.c: File removed.
845 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
847         * sysdeps/mips/dl-trampoline.c (VERSYMIDX): Removed.
849 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
851         * sysdeps/unix/sysv/linux/mips/kernel-features.h
852         (__ASSUME_STAT64_SYSCALL): Remove.
854 2012-08-27  Guido Guenther  <agx@sigxcpu.org>
856         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Set bit 23.
858 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
860         * sysdeps/unix/sysv/linux/mips/kernel-features.h [_MIPS_SIM ==
861         _ABIO32] (__ASSUME_STAT64_SYSCALL): Define.
862         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: New file.  Based
863         on version from ../sysdeps/unix/sysv/linux/.
864         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Likewise.
865         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Likewise.
867 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
869         * sysdeps/mips/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
870         <mips_o32_gnu_pltenter, mips_n32_gnu_pltenter, mips_n64_gnu_pltenter>:
871         struct La_mips_32_regs and struct La_mips_64_regs are not constant.
873 2012-08-15  Tom de Vries  <vries@codesourcery.com>
874             Maxim Kuvyrkov  <maxim@codesourcery.com>
876         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (__libc_lock_lock)
877         (__libc_lock_trylock): Define versions optimized for MIPS.
879 2012-08-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
881         * sysdeps/mips/nptl/pthread_spin_lock.S: Remove, use generic version.
882         * sysdeps/mips/nptl/pthread_spin_lock.c: New file.
883         * sysdeps/mips/nptl/pthread_spin_trylock.S: Remove, use generic version.
885 2012-08-15  Joseph Myers  <joseph@codesourcery.com>
887         * sysdeps/mips/dl-lookup.c: Update from generic version.
889 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
891         [__GNUC_PREREQ (4, 8)]
892         (atomic_exchange_and_add): Split into ...
893         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
894         New atomic macros.
895         [!__GNUC_PREREQ (4, 8)]
896         (atomic_exchange_and_add): Split into ...
897         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
898         New atomic macros.
900 2012-08-09  Joseph Myers  <joseph@codesourcery.com>
902         * sysdeps/unix/sysv/linux/mips/kernel-features.h
903         (__ASSUME_UTIMES): Define.
905 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
907         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
908         Remove.
909         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
911 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
913         * sysdeps/unix/sysv/linux/mips/kernel-features.h
914         (__ASSUME_FCNTL64): Remove.
916 2012-08-01  Steve Ellcey  <sellcey@mips.com>
918         * sysdeps/mips/sys/asm.h [_MIPS_ISA != _MIPS_ISA_MIPS4 &&
919         _MIPS_ISA != _MIPS_ISA_MIPS5 && _MIPS_ISA != _MIPS_ISA_MIPS32 &&
920         _MIPS_ISA != _MIPS_ISA_MIPS64] (PREF): Define as function-like
921         macro.
922         (PREFX): Likewise.
924 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
926         * sysdeps/unix/sysv/linux/mips/fcntl.c: Remove.
927         * sysdeps/unix/sysv/linux/mips/lockf64.c: Likewise.
928         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: New file.
929         * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
930         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
931         * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
933 2012-07-27  Joseph Myers  <joseph@codesourcery.com>
935         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): New.
936         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: New file.
938 2012-07-25  Florian Weimer  <fweimer@redhat.com>
940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
941         secure_getenv.
942         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
943         Likewise.
944         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
945         Likewise.
947 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
949         * sysdeps/mips/configure.in: Remove TLS check.
950         * sysdeps/mips/configure: Regenerated.
952         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: New
953         file.
954         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
955         Likewise.
956         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
957         Likewise.
959 2012-07-11  Tom de Vries  <vries@codesourcery.com>
960             Maxim Kuvyrkov  <maxim@codesourcery.com>
962         * sysdeps/mips/bits/atomic.h [__GNUC_PREREQ (4, 8)]
963         (__arch_compare_and_exchange_bool_32_int)
964         (__arch_compare_and_exchange_val_32_int)
965         (__arch_compare_and_exchange_bool_64_int)
966         (__arch_compare_and_exchange_val_64_int)
967         Define in terms of __atomic_compare_exchange_n.
968         [__GNUC_PREREQ (4, 8)]
969         (__arch_exchange_32_int, __arch_exchange_64_int):
970         Define in terms of __atomic_exchange_n.
971         [__GNUC_PREREQ (4, 8)]
972         (__arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
973         Define in terms of __atomic_fetch_add.
974         [!__GNUC_PREREQ (4, 8)]: Update formatting.
976 2012-07-06  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
978         * sysdeps/mips/dl-machine.h (RTLD_START): Do not store data below
979         the stack pointer.
981 2012-06-19  Joseph Myers  <joseph@codesourcery.com>
983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Update
984         _gp_disp entry.
985         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
986         Likewise.
987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist:
988         Likewise.
989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist:
991         Likewise.
992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist:
993         Likewise.
994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist:
995         Likewise.
996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist:
998         Likewise.
999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1000         Likewise.
1001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
1002         Likewise.
1003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
1004         Likewise.
1005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1006         Likewise.
1007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1008         Likewise.
1009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
1010         Likewise.
1011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1012         Likewise.
1013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
1014         Likewise.
1015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist:
1016         Likewise.
1017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist:
1018         Likewise.
1019         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1020         Likewise.
1021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist:
1022         Likewise.
1024 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
1026         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1027         (FORCE_FRAME_POINTER): Assign result of alloca to a volatile
1028         variable.
1030 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1032         * sysdeps/mips/mips64/n32/s_fma.c: New file.
1033         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
1035         * sysdeps/unix/sysv/linux/mips/Makefile (abi-n32-condition): Fix
1036         typo.
1038 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
1040         * sysdeps/mips/mips64/libm-test-ulps: Remove sqrt ulps.
1042         * sysdeps/mips/mips32/libm-test-ulps: Regenerate.
1043         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1045 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
1047         * sysdeps/unix/sysv/linux/mips/Makefile [subdir = misc]: Move ABI
1048         settings out of conditional.
1050         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove
1051         __connect_internal alias.
1053         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1054         (FP_TRAPPING_EXCEPTIONS): Define.
1056         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-variants):
1057         Rename to abi-variants.
1058         (syscall-list-includes): Rename to abi-includes.
1059         (syscall-list-o32-options): Rename to abi-o32-options.
1060         (syscall-list-o32-condition): Rename to abi-o32-condition.
1061         (syscall-list-n32-options): Rename to abi-n32-options.
1062         (syscall-list-n32-condition): Rename to abi-n32-condition.
1063         (syscall-list-n64-options): Rename to abi-n64-options.
1064         (syscall-list-n64-condition): Rename to abi-n64-condition.
1065         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1066         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Likewise.
1067         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Likewise.
1069         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Replace
1070         _internal alias by hidden_def.
1072 2012-05-26  Joseph Myers  <joseph@codesourcery.com>
1074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: New
1075         file.
1076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
1079         Likewise.
1080         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
1081         Likewise.
1082         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1083         Likewise.
1084         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1085         Likewise.
1086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
1087         Likewise.
1088         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1089         Likewise.
1091 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1093         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1094         (__ASSUME_32BITUIDS): Remove.
1096 2012-05-23  Steve Ellcey  <sellcey@mips.com>
1098         * sysdeps/unix/sysv/linux/mips/Makefile
1099         (syscall-list-o32-options): Use -D_MIPS_SIM=1.
1100         (syscall-list-n32-options): Use -D_MIPS_SIM=2.
1101         (syscall-list-n64-options): Use -D_MIPS_SIM=3.
1103 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
1105         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_DONTDUMP):
1106         Define.
1107         (MADV_DODUMP): Likewise.
1109 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
1111         * sysdeps/mips/bits/wordsize.h (__WORDSIZE_COMPAT32): Rename to
1112         __WORDSIZE_TIME64_COMPAT32.
1114         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Update.
1115         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Update.
1116         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Update.
1118 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
1120         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Move to ...
1121         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: ... here.
1122         (kernel-features.h): Don't include.
1123         [__NR_ftruncate64]: Make code unconditional.
1124         [!__NR_ftruncate64]: Remove conditional code.
1125         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1126         * sysdeps/unix/sysv/linux/mips/truncate64.c: Move to ...
1127         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: ... here.
1128         (kernel-features.h): Don't include.
1129         [__NR_truncate64]: Make code unconditional.
1130         [!__NR_truncate64]: Remove conditional code.
1131         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1132         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1133         Add syscall.
1134         (truncate): Likewise.
1135         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1136         (ftruncate): Remove syscall.
1137         (truncate): Likewise.
1138         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Move to ...
1139         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: ... here.
1140         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Move to ...
1141         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: ... here.
1143 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
1145         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat)
1146         [!__USE_MISC && !__USE_XOPEN2K8]: Declare nanoseconds fields with
1147         type unsigned long and names st_atimensec, st_mtimensec and
1148         st_ctimensec.
1149         (struct stat64) [!__USE_MISC && !__USE_XOPEN2K8]: Likewise.
1151 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
1153         * sysdeps/unix/sysv/linux/mips/pread.c [!__ASSUME_PREAD_SYSCALL]:
1154         Remove conditional code.
1155         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1156         * sysdeps/unix/sysv/linux/mips/pread64.c
1157         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1158         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1159         * sysdeps/unix/sysv/linux/mips/pwrite.c
1160         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1161         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1162         * sysdeps/unix/sysv/linux/mips/pwrite64.c
1163         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1164         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1165         * sysdeps/unix/sysv/linux/mips/sigaction.c
1166         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1167         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1169 2012-05-11  Joseph Myers  <joseph@codesourcery.com>
1171         * sysdeps/mips/dl-lookup.c: Update from generic version.
1173 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
1175         * sysdeps/mips/fpu/libm-test-ulps: Move to ...
1176         * sysdeps/mips/mips32/libm-test-ulps: ... here.
1177         * sysdeps/mips/mips64/n32/libm-test-ulps: Move to ...
1178         * sysdeps/mips/mips64/libm-test-ulps: ... here.
1179         * sysdeps/mips/mips64/n64/libm-test-ulps: Remove file.
1181 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1183         [BZ #14044]
1184         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Copy
1185         from libc version and add symbol versions.
1186         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilis
1187         (GLIBC_2.3.3): Add posix_fadvise64.
1189 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1191         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: New file.
1192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1193         Likewise.
1194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Likewise.
1195         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
1196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Likewise.
1197         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Likewise.
1198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
1199         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Likewise.
1200         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
1201         Likewise.
1202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Likewise.
1203         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Likewise.
1204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1205         Likewise.
1206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Likewise.
1207         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Likewise.
1208         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1209         Likewise.
1210         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1211         Likewise.
1212         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Likewise.
1213         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1214         Likewise.
1215         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: Likewise.
1216         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: Likewise.
1217         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1218         Likewise.
1219         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1220         Likewise.
1221         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1222         Likewise.
1223         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: Likewise.
1224         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1225         Likewise.
1226         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1227         Likewise.
1228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Likewise.
1229         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1230         Likewise.
1231         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1232         Likewise.
1233         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
1234         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1235         Likewise.
1236         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Likewise.
1237         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Likewise.
1238         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist:
1239         Likewise.
1240         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1241         Likewise.
1242         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1243         Likewise.
1244         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Likewise.
1245         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1246         Likewise.
1247         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1248         Likewise.
1250         * sysdeps/mips/mips64/memcpy.S: Don't include <endian.h>.  Test
1251         __MIPSEB instead of __BYTE_ORDER.
1252         * sysdeps/mips/mips64/memset.S: Likewise.
1254 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1256         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1257         Change to 2.6.12.
1258         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1260 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1262         * sysdeps/unix/mips/brk.S: Remove file.
1263         * sysdeps/unix/mips/dl-brk.S: Likewise.
1264         * sysdeps/unix/mips/sigreturn.S: Likewise.
1265         * sysdeps/unix/mips/wait.S: Likewise.
1267 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1269         * sysdeps/mips/memcpy.S: Don't include <endian.h>.  Test __MIPSEB
1270         instead of __BYTE_ORDER.
1271         * sysdeps/mips/memset.S: Likewise.
1273         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1274         kernel_rt_sigframe): Use siginfo_t instead of struct siginfo.
1276 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1278         * sysdeps/unix/mips/fork.S: Remove file.
1280 2012-04-24  Mike Frysinger  <vapier@gentoo.org>
1282         * sysdeps/unix/sysv/linux/mips/mips64/configure.in
1283         (ldd_rewrite_script): Change $dest to $dir.
1284         * sysdeps/unix/sysv/linux/mips/mips64/configure: Regenerate.
1286 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
1288         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Include
1289         sysdeps/unix/sysv/linux/arm/readahead.c not
1290         sysdeps/unix/sysv/linux/arm/eabi/readahead.c.
1292 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1294         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define.
1295         (MAP_HUGETLB): Likewise.
1297 2012-03-27  Joseph Myers  <joseph@codesourcery.com>
1299         * sysdeps/mips/elf/start.S: Moved to ...
1300         * sysdeps/mips/start.S: ...here.
1301         * sysdeps/mips/elf/configure.in: Moved to ...
1302         * sysdeps/mips/configure.in: ...here.  Update comment.
1303         * sysdeps/mips/configure: New generated file.
1305 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1307         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include <_itoa.h>
1308         instead of <stdio-common/_itoa.h>.
1310 2012-03-10  Paul Eggert  <eggert@cs.ucla.edu>
1312         [BZ #13673]
1313         * sysdeps/mips/mips64/gmp-mparam.h: Replace FSF snail mail address
1314         with URL.
1316 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
1318         [BZ #13673]
1319         Replace FSF snail mail address with URLs, as per GNU coding standards.
1321 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1323         * sysdeps/unix/sysv/linux/mips/bits/socket_type.h: New file.
1324         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Remove.
1326 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1328         * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not
1329         declare recvmmsg and sendmmsg.
1331 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1333         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t):
1334         Change union tag to pthread_attr_t.  Only define typedef if not
1335         already defined.
1336         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1337         (pthread_attr_t): Change union tag to pthread_attr_t.  Only define
1338         typedef if not already defined.
1340 2012-02-26  Joseph Myers  <joseph@codesourcery.com>
1342         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
1343         siginfo_t struct.  Add forward declaration of pthread_attr_t and
1344         use it in sigevent.
1345         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
1346         pthread_attr_t union.
1348 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
1350         * sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
1351         * sysdeps/unix/sysv/linux/mips/bits/timerfd.h: Likewise.
1352         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Remove.
1353         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1355 2012-02-20  Andreas Schwab  <schwab@linux-m68k.org>
1357         * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
1358         not defined.
1360 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1362         * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,
1363         matching the array in dl-procinfo.c.
1365 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1367         * sysdeps/mips/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1368         * sysdeps/mips/mips64/n32/fpu/libm-test-ulps: Likewise.
1369         * sysdeps/mips/mips64/n64/fpu/libm-test-ulps: Likewise.
1371 2012-02-15  Robert Millan  <rmh@gnu.org>
1373         [BZ #12301]
1374         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__]
1375         [__PIC__] (SYSCALL_ERROR_LABEL): New macro.
1377 2012-02-15  Robert Millan  <rmh@gnu.org>
1379         [BZ #12298]
1380         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Moved to ...
1381         * sysdeps/mips/sys/tas.h: ... here.
1383 2012-02-15  Robert Millan  <rmh@gnu.org>
1385         [BZ #12297]
1386         * sysdeps/mips/dl-machine.h: Fix a comment regarding __start.
1387         * sysdeps/unix/sysv/linux/mips/entry.h: Moved to ...
1388         * sysdeps/unix/mips/entry.h: ... here.
1390 2012-02-15  Robert Millan  <rmh@gnu.org>
1392         [BZ #12193]
1393         * sysdeps/mips/dl-machine.h (DL_PLATFORM_INIT, dl_platform_init):
1394         Define.
1395         * sysdeps/mips/dl-procinfo.c: New file.
1396         * sysdeps/mips/dl-procinfo.h: Likewise.
1398 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
1400         * sysdeps/unix/sysv/linux/mips/bits/signalfd.h: New file.
1401         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: Remove.
1403 2012-02-15  Viju Vincent  <vijuvince@gmail.com>
1405         * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Use locking
1406         around calls to _dl_lookup_symbol_x.
1408 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1410         * sysdeps/unix/sysv/linux/mips/bits/inotify.h: New file.
1411         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Remove.
1413 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1415         * sysdeps/unix/sysv/linux/mips/bits/eventfd.h: New file.
1416         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Remove.
1418 2012-02-10  Joseph Myers  <joseph@codesourcery.com>
1420         * sysdeps/mips/mips32/crti.S: New file, based on compiler output
1421         for sysdeps/generic/initfini.c.
1422         * sysdeps/mips/mips32/crtn.S: Likewise.
1423         * sysdeps/mips/mips64/n32/crti.S: Likewise.
1424         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
1425         * sysdeps/mips/mips64/n64/crti.S: Likewise.
1426         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
1427         * sysdeps/mips/Makefile (CFLAGS-initfini.s): Remove variable.
1428         (CFLAGS-pt-initfini.s): Likewise.
1429         (CPPFLAGS-crti.S, CPPFLAGS-crtn.S, CPPFLAGS-pt-crti.S): Define
1430         variables.
1432 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
1434         * sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals.
1435         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1436         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1437         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1439 2012-01-08  Joseph Myers  <joseph@codesourcery.com>
1441         * sysdeps/mips/bits/fenv.h: Use const instead of __const.
1442         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1443         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1444         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1445         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Likewise.
1446         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1447         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1449 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1451         * sysdeps/mips/nptl/shlib-versions: New.
1453 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
1455         * sysdeps/mips/backtrace.c: Use x86_64 version of backtrace.c.
1457 2012-01-04  Tom de Vries  <tom@codesourcery.com>
1459         * sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with
1460         -fno-unwind-tables.
1462 2012-01-03  Tom de Vries  <tom@codesourcery.com>
1464         * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
1465         * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
1467 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1469         * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)
1470         (mips_list_syscalls, $(objpfx)syscall-%.h $(objpfx)syscall-%.d):
1471         Remove.
1472         (syscall-list-variants, syscall-list-includes)
1473         (syscall-list-o32-options, syscall-list-o32-condition)
1474         (syscall-list-n32-options, syscall-list-n32-condition)
1475         (syscall-list-n64-options, syscall-list-n64-condition): Define.
1476         * sysdeps/unix/sysv/linux/mips/configure.in: Don't generate
1477         asm-unistd.h.
1478         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1479         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Remove.
1481 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1483         [BZ #13538]
1484         * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT)
1485         (EPOLLET): Initialize with unsigned values.
1487 2011-12-19  Joseph Myers  <joseph@codesourcery.com>
1489         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
1490         $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h.
1492 2011-11-17  Joseph Myers  <joseph@codesourcery.com>
1494         * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c,
1495         sysdeps/unix/sysv/linux/mips/mips64/n64/ftw64.c: New.
1497 2011-11-11  Joseph Myers  <joseph@codesourcery.com>
1499         * sysdeps/mips/dl-lookup.c: Update from generic version.
1501 2011-10-12  Joseph Myers  <joseph@codesourcery.com>
1503         * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
1504         * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
1505         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias.
1507 2011-10-05  Andreas Schwab  <schwab@redhat.com>
1509         * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela)
1510         (elf_machine_lazy_rel): Add parameter skip_ifunc.
1512 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1514         * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Cast
1515         return value to (struct cmsghdr *).
1517 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
1519         * sysdeps/mips/elf/configure.in: Always test for TLS support and
1520         error out in case it is missing.
1521         * sysdeps/mips/elf/configure: Regenerate.
1522         * sysdeps/mips/nptl/tls.h: Remove test for HAVE_TLS_SUPPORT.
1524 2011-09-11  Joseph Myers  <joseph@codesourcery.com>
1526         * sysdeps/mips/dl-machine.h, sysdeps/mips/libc-tls.c,
1527         sysdeps/mips/nptl/tls.h: Don't define or use USE_TLS.
1529 2011-09-06  Joseph Myers  <joseph@codesourcery.com>
1531         [BZ #13109]
1532         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs)
1533         (statfs): New.
1534         * sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c,
1535         sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New.
1537 2011-08-02  Matt Turner  <mattst88@gmail.com>
1539         * sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata.
1541 2011-07-25  Joseph Myers  <joseph@codesourcery.com>
1543         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC):
1544         Define.
1546 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1548         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c,
1549         sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: New.
1551 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
1553         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SI_USER): Don't
1554         mention raise in the comment.
1556 2011-05-23  Aurelien Jarno  <aurelien@aurel32.net>
1558         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME):
1559         Add.
1561 2011-05-13  Joseph Myers  <joseph@codesourcery.com>
1563         * sysdeps/mips/dl-lookup.c: Update from generic version.
1565 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
1567         * sysdeps/mips/dl-lookup.c: Update from generic version.
1569 2011-04-11  Joseph Myers  <joseph@codesourcery.com>
1571         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
1573 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1575         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle
1576         to open_by_handle_at.
1578 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1580         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define.
1582 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1584         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct
1585         file_handle and MAX_HANDLE_SZ.  Declare name_to_handle_at and
1586         open_by_handle.  Augment a few comments.
1588 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1590         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Make
1591         cancelable.
1592         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Likewise.
1593         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1594         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Mark
1595         sync_file_range as cancellation point.
1596         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Mark
1597         sync_file_range as cancellation point.
1599 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
1601         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add
1602         sync_file_range.
1604 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
1606         * sysdeps/mips/dl-lookup.c: Update from generic version.
1608 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1610         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
1611         MADV_NOHUGEPAGE): Define.
1613 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
1615         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
1616         PF_CAIF, PF_ALG): Define.
1618 2010-12-30  Joseph Myers  <joseph@codesourcery.com>
1620         * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if
1621         NO_CTORS_DTORS_SECTIONS is defined.
1622         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1624 2010-12-21  Joseph Myers  <joseph@codesourcery.com>
1626         * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1628 2010-12-06  Matt Turner  <mattst88@gmail.com>
1630         * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
1632 2010-12-06  Joseph Myers  <joseph@codesourcery.com>
1634         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1635         Change to 2.4.1.
1636         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1638 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
1640         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1641         sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list,
1642         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries
1643         for fanotify_mark.
1645 2010-10-11  Joseph Myers  <joseph@codesourcery.com>
1647         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
1648         libm_hidden_def.
1649         * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
1651 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1653         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1654         (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
1656 2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
1658         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
1659         jump delay slot.
1660         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
1662 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
1664         * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
1666 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1668         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
1669         struct statfs64): Add f_flags field.
1671 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1673         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
1674         Define.
1676 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1678         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
1679         and prlimit64.
1680         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1681         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
1682         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
1683         prlimit64 syscall.
1685 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
1687         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
1688         F_GETPIPE_SZ): Define.
1690 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
1692         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
1693         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
1695 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
1697         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
1699 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
1701         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
1702         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
1703         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1704         Define.
1706 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
1708         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
1709         MSG_WAITFORONE.
1711 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
1713         * sysdeps/mips/dl-lookup.c: Update from generic version.
1715 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
1717         [BZ #11291]
1718         * sysdeps/mips/bits/atomic.h
1719         (__arch_compare_and_exchange_xxx_32_int,
1720         __arch_compare_and_exchange_xxx_64_int,
1721         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
1722         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
1723         Specify *mem as asm output as well as input.
1725 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
1727         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
1729 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
1731         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
1732         _dl_runtime_pltresolve): Calculate offset from start of function
1733         to .cpload instead of hardcoding instruction size.
1735 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1737         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
1738         problem.
1740 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
1742         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
1743         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
1745 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
1747         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
1748         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
1749         XPG7.
1750         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
1751         fcntl.h.
1753 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1755         [BZ #11093]
1756         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
1757         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
1759 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1761         * sysdeps/mips/dl-lookup.c: Update from generic version.
1763 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
1765         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
1766         O_DSYNC to match 2.6.33+ kernels.
1768 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
1770         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
1771         declare recvmmsg.
1773 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1775         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1776         (posix_fadvise): Remove.
1777         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
1778         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
1779         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
1781 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1783         * sysdeps/mips/dl-lookup.c: Update from generic version.
1785 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
1787         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
1788         for timestamps also if __USE_XOPEN2K8.
1790 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
1792         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
1793         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
1795 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
1797         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
1798         names of parameters of sync_file_range.
1800 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1802         [BZ #10972]
1803         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
1804         constants from recent kernels.
1806 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1808         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
1809         not already defined.
1811 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
1813         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
1814         F_GETOWN_EX): Update values.
1816 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
1818         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
1819         of last two arguments when -D_FILE_OFFSET_BITS=64.
1821 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
1823         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
1824         f_owner_ex.
1826 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
1828         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
1829         and F_GETOWN_EX.
1831 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
1833         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1834         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
1835         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1836         (__SYSCALL_CLOBBERS): Likewise.
1837         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1838         (__SYSCALL_CLOBBERS): Likewise.
1840 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
1842         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
1843         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
1844         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
1845         variable for env.  Use expansion of CHECK_SP macro for check.
1846         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
1848 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
1850         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
1851         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
1853 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
1855         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
1856         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
1858 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
1860         * sysdeps/mips/do-lookup.h: Remove.
1861         * sysdeps/mips/dl-lookup.c: Update from generic version, with
1862         non-PIC handling integrated.
1864 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
1866         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
1867         and AF_IEEE802154.
1869 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1871         * sysdeps/mips/____longjmp_chk.c: New file.
1872         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
1873         undefine __longjmp.
1874         * sysdeps/mips64/__longjmp.c: Likewise.
1876 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1878         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
1879         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
1880         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
1881         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
1883 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1885         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
1886         fallocate64@@GLIBC_2.11.
1888 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
1890         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
1891         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
1893 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
1895         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
1896         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
1897         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
1898         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
1899         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
1900         Update comment.
1901         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
1902         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
1903         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
1904         Add ucontext_i.sym.
1906 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
1908         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
1909         __ASSUME_PWRITEV): Don't define here.
1911 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
1913         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
1915 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
1917         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
1918         numbers.
1919         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
1920         Define.
1921         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
1922         preadv and pwritev.
1924 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
1926         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1927         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
1929 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
1931         [BZ #7074]
1932         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1933         Fix the condition used to annotate n32 objects.
1935 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1937         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
1938         Change parameters and use next_line.
1940 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1942         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
1943         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1944         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1946 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
1948         * sysdeps/mips/bits/link.h: Uglify function parameter names.
1949         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1950         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
1951         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1952         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
1954 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
1956         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
1957         fallocate{,64}.
1959 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
1961         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
1962         UTIME_OMIT only with __USE_ATFILE.
1964 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
1966         [BZ #7040]
1967         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
1968         inotify_rm_watch should have type int.
1970 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
1972         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
1974 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
1975             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
1977         PR glibc/1048
1978         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
1979         variable page size for MIPS.
1980         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
1981         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
1982         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
1984 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
1986         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
1987         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
1988         -D_GNU_SOURCE.
1990 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
1992         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
1993         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
1995 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
1997         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
1998         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
1999         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
2000         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
2002 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
2004         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
2005         Make available only for __USE_GNU.
2007 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
2009         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
2010         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
2012 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
2014         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
2015         __THROW vs. __nonnull order for C++.
2017 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
2019         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
2020         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
2021         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
2023 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
2024             Daniel Jacobowitz  <dan@codesourcery.com>
2025             Richard Sandiford  <rdsandiford@googlemail.com>
2027         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
2028         * sysdeps/mips/dl-lookup.c: New.
2029         * sysdeps/mips/do-lookup.h: New.
2030         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
2031         definition.
2032         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
2033         if needed.
2034         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
2035         (elf_machine_type_class): Likewise.
2036         (ELF_MACHINE_PLT_REL): Define.
2037         (elf_machine_fixup_plt): New.
2038         (elf_machine_plt_value): New.
2039         (elf_machine_reloc): Handle jump slot and copy relocations.
2040         (elf_machine_lazy_rel): Point relocation place at PLT if
2041         required.
2042         (RESOLVE_GOTSYM): Take a relocation type argument.
2043         (elf_machine_got_rel): Bind lazy stubs directly to their target if
2044         !lazy.  Skip lazy binding for PLT symbols.
2045         (elf_machine_runtime_setup): Fill in .got.plt header.
2046         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
2047         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
2048         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
2049         (_dl_runtime_pltresolve): New.
2050         * sysdeps/mips/bits/linkmap.h: New file.
2051         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
2052         64-bit versions.
2054         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
2055         Delete definition.
2056         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
2057         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
2058         (PSEUDO): Use them.  Move outside __PIC__.
2059         (PSEUDO_JMP): New.
2060         (CENABLE, CDISABLE): Use it.
2062 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2064         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
2065         to epoll_create1.
2067 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2069         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
2070         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
2071         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
2072         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
2073         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
2074         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
2075         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
2077 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
2079         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
2080         volatile.
2082 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
2084         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
2085         type.
2087 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
2089         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
2090         (SOCK_DCCP): Define.
2092 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
2094         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
2095         RUSAGE_THREAD and RUSAGE_LWP.
2097 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
2099         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
2100         shmid_ds.
2102 2008-04-21  Khem Raj  <kraj@mvista.com>
2104         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
2106 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
2108         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
2109         truncate and ftruncate systems calls.
2110         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
2111         empty file.
2112         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
2114 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
2116         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
2117         ARG_MAX if <linux/limits.h> has defined it.
2119 2008-03-28  Robin Randhawa  <robin@mips.com>
2121         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
2122         barriers to enforce strict ordering on weakly ordered systems.
2124 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
2125             Daniel Jacobowitz  <dan@codesourcery.com>
2127         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
2128         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2129         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2131 2008-03-09  Andreas Jaeger  <aj@suse.de>
2133         [BZ #5753]
2134         * sysdeps/mips/ieee754.h: Use protected namespace
2135         __BIG_ENDIAN/__LITTLE_ENDIAN.
2136         Patch by Aurelien Jarno <aurelien@aurel32.net>.
2138 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
2140         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
2141         Reorganize to match other architectures.  Replace _timer._timer1
2142         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
2143         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
2144         (si_timerid, si_overrun): Define.
2145         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
2146         (__pthread_attr_s): Remove declaration.
2147         (struct sigevent): Remove XXX.  Add _tid.
2149 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
2151         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
2153 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
2155         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
2156         type and __THROW marker of splice, vmsplice, and tee.
2158 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
2160         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
2161         LLL_PRIVATE argument to lll_futex_wake.
2162         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
2163         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
2164         comment.
2165         (PF_IUCV, PF_RXRPC): Define.
2166         (PF_MAX): Update.
2167         (AF_IUCV, AF_RXRPC): Define.
2168         (MSG_CMSG_CLOEXEC): Define.
2169         (_EXTERN_INLINE): Define to __extern_inline.
2170         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
2171         UTIME_OMIT): Define.
2172         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
2173         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2174         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2175         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
2176         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
2177         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
2178         LLL_LOCK_*.  Include <kernel-features.h>.
2179         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
2180         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
2181         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
2182         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
2183         lll_futex_wait.
2184         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
2185         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
2186         private arguments.
2187         (__lll_robust_trylock): Convert to macro.
2188         (__lll_robust_lock_wait): Add private argument.
2189         (__lll_lock_wait_private, __lll_lock_wait): Declare.
2190         (__lll_lock): Convert to macro.  Take private argument.
2191         (__lll_cond_lock): Likewise.
2192         (lll_lock, lll_cond_lock): Take private arguments.
2193         (__lll_robust_lock): Take private argument.  Convert to macro.
2194         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
2195         lll_robust_cond_lock): Take private arguments.
2196         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
2197         arguments.
2198         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
2199         (lll_timedlock, lll_robust_timedlock): Take private arguments.
2200         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
2201         private arguments.
2202         (lll_unlock, lll_robust_unlock): Take private arguments.
2203         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
2204         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
2205         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
2206         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
2207         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
2208         lll_cond_wake, lll_cond_broadcast): Remove.
2209         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
2210         to __extern_inline.
2212 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
2214         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
2215         New macros for the (n)64 and n32 ABIs.
2216         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
2218 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
2220         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
2221         Define __WORDSIZE_COMPAT32 as 1.
2223 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
2225         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
2226         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
2227         PTHREAD_STACK_MIN.
2229 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
2231         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
2233         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
2234         Delete.
2236 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
2238         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
2239         (internal_syscall1, internal_syscall2, internal_syscall3,
2240         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
2242 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
2244         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
2245         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
2246         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
2247         THREAD_GSCOPE_WAIT): Define.
2248         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
2249         (FUTEX_PRIVATE_FLAG): Define.
2250         (lll_unlock_wake_cb): Delete prototype.
2251         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
2252         <endian.h>.
2253         (pthread_rwlock_t): Shrink __flags and add __shared.
2255 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2257         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
2258         (posix_fadvise): Fix high word of len argument.
2260 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
2262         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2263         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
2264         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
2265         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
2266         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
2267         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
2269 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
2271         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
2272         * sysdeps/mips/mips64/n64/Implies: Likewise.
2273         * sysdeps/mips/mips64/soft-fp/Makefile: New.
2274         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
2275         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
2276         <fpu_control.h>.  Use hardware exception and rounding mode
2277         settings.
2279 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
2281         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
2282         r_info argument to ElfW(Addr).
2284 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
2286         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
2288 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
2289             Daniel Jacobowitz  <dan@codesourcery.com>
2291         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
2292         shmctl, and semctl.
2293         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
2294         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
2295         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
2297 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2299         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
2300         PTR_DEMANGLE): Define.
2301         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
2302         PTR_DEMANGLE): Define.
2303         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
2304         PTR_DEMANGLE): Define.
2306 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
2308         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2309         (cfi_same_value): Delete definition.
2311 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
2313         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
2314         (elf_machine_reloc): New function, retaining the body of
2315         elf_machine_rel.  Take the reloc's r_info field as an argument,
2316         not the reloc itself.  Add extra r_addend and inplace_p arguments.
2317         When inplace_p is false, use r_addend as the addend, not the contents
2318         of the relocation field.  Hoist the conversion of reloc_addr to
2319         "ELFW(Addr) *".  Don't try to apply TLS relocations against
2320         undefined symbols.  Add R_MIPS_GLOB_DAT support.
2321         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
2322         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
2323         to ElfW(Rela).
2325 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
2327         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
2328         multiple inclusion guard.
2329         * sysdeps/mips/elf/ldsodefs.h: Delete file.
2331 2007-01-04  Thiemo Seufer  <ths@networkno.de>
2333         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
2334         to match the kernel.
2336 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
2338         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
2339         (RTLD_SINGLE_THREAD_P): Define.
2340         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
2342 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
2344         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
2345         prototype.
2347 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
2349         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
2350         code.
2351         (__xstat_conv): Use memset to clear padding arrays.  Check for
2352         overflow.
2353         (__xstat64_conv): Use memset to clear padding arrays.
2354         (__xstat32_conv): New function.
2355         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
2356         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
2358 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
2360         * sysdeps/mips/fpu_control.h: If soft-float, don't use
2361         floating-point registers.
2362         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
2363         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
2364         Likewise.
2366 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
2368         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
2369         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
2371 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2373         * sysdeps/mips/mips64/n32/libm-test-ulps,
2374         sysdeps/mips/mips64/n64/libm-test-ulps: New.
2376 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
2378         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
2379         defined, include the named file.
2381 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
2383         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
2384         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
2385         Define.
2387 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2389         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
2390         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
2391         types.
2393 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2395         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2396         Don't use struct timespec.
2397         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
2398         __xstat64_conv): Copy individual timespec fields.
2400 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
2402         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
2404 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
2406         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
2407         * sysdeps/mips/fpu/fesetround.c: Likewise.
2409 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
2410             Daniel Jacobowitz  <dan@codesourcery.com>
2412         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
2413         dump sc_cause, sc_status or sc_badvaddr.
2414         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
2415         structure definitions after DSP kernel changes.
2416         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
2417         after the same DSP changes.
2419 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2421         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
2422         st_atim, st_mtim and st_ctim interface.
2423         (struct stat64): Likewise.
2424         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2425         Replace st_atime and its padding field with st_atim.  Likewise
2426         st_mtime/st_mtim and st_ctime/st_ctim.
2427         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
2428         after above changes.
2429         (__xstat64_conv): Likewise.
2431 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
2433         * sysdeps/mips/ldsodefs.h: New file.
2434         * sysdeps/mips/tst-audit.h: New file.
2436 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
2438         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
2439         for consistency with other ports.
2440         (MADV_REMOVE): Correct value.
2441         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
2442         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
2443         POSIX_MADV_DONTNEED): Define.
2445 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
2447         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
2448         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
2449         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
2450         and SYNC_FILE_RANGE_WAIT_AFTER.
2451         Declare sync_file_range, vmsplice, splice and tee.
2453 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
2455         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
2456         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
2457         prototype.
2459 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
2461         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
2462         Define.
2464 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
2466         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
2467         typo.
2469 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2471         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
2472         i386/fork.c.
2474 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
2476         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
2477         libc_cv_localedir, libdir, arch_minimum_kernel, and
2478         libc_cv_gcc_unwind_find_fde.
2479         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
2480         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2481         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
2483 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
2485         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2486         (__pthread_list_t, __pthread_slist_t): New typedefs.
2487         (pthread_mutex_t): Replace __next and __prev fields with __list.
2488         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
2489         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
2490         (lll_futex_wake_unlock): Define.
2491         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
2492         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
2493         lll_robust_mutex_unlock): New macros.
2494         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
2495         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
2496         vfork.S.
2497         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
2499 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2501         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
2502         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
2504 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
2506         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2507         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2508         (INTERNAL_SYSCALL_NCS): New.
2509         (internal_syscall0, internal_syscall1, internal_syscall2,
2510         internal_syscall3, internal_syscall4, internal_syscall5,
2511         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2512         Use them.  Correct types for registers.
2513         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2514         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2515         (INTERNAL_SYSCALL_NCS): New.
2516         (internal_syscall0, internal_syscall1, internal_syscall2,
2517         internal_syscall3, internal_syscall4, internal_syscall5,
2518         internal_syscall6): Take ncs_init, cs_init, and input arguments.
2519         Use them.
2520         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
2521         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
2522         points.
2523         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
2524         Use Elf(Addr) for TLS relocation targets.
2525         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
2526         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
2527         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
2528         futexp to long for n64.
2529         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
2531 2006-02-20  Roland McGrath  <roland@redhat.com>
2533         * sysdeps/mips/shlib-versions: New file.
2534         * sysdeps/mips/preconfigure: New file.
2535         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.