1 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * sysdeps/mips/dl-lookup.c (do_lookup_x): Use DSO_FILENAME.
5 (add_dependency): Likewise.
6 (_dl_lookup_symbol_x): Likewise.
7 (_dl_debug_bindings): Likewise.
8 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Use
11 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add
14 si_addr_lsb to _sifields.sifault.
15 (si_addr_lsb): Define new macro.
16 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20 * sysdeps/mips/mips32/libm-test-ulps: Update test names.
21 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23 2013-05-21 Joseph Myers <joseph@codesourcery.com>
26 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27 [!__PIC__] (PSEUDO): Undefine and redefine.
28 (PSEUDO_END): Undefine and redefine unconditionally.
29 [!__PIC__] (STK_PAD): Define to 0.
30 [!__PIC__] (STKOFF_GP): Do not define.
31 [!__PIC__] (STKSPACE): Define to (STKOFF_SVMSK + SZREG).
32 (PSEUDO_JMP): Define depending on [__PIC__].
33 (CENABLE): Use PSEUDO_JMP in all definitions.
35 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36 (SYSCALL_ERROR_LABEL): Define unconditionally.
37 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
38 (SYSCALL_ERROR_LABEL): Define unconditionally.
40 2013-05-19 Joseph Myers <joseph@codesourcery.com>
42 * sysdeps/mips/mips32/libm-test-ulps: Update names of sincos
44 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
49 * sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51 (_FP_NANFRAC_S): Don't set the quiet bit.
52 (_FP_NANFRAC_D): Likewise.
53 (_FP_NANFRAC_Q): Likewise.
54 * sysdeps/mips/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): New
56 (_FP_NANFRAC_S): Don't set the quiet bit.
57 (_FP_NANFRAC_D): Likewise.
58 (_FP_NANFRAC_Q): Likewise.
60 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: Add missing
63 #include <stdint.h> due to uint64_t or uint32_t usage.
64 * sysdeps/mips/bits/atomic.h: Likewise.
66 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
68 * sysdeps/mips/math_private.h: New file.
70 2013-03-20 Joseph Myers <joseph@codesourcery.com>
72 * sysdeps/unix/sysv/linux/mips/configure.in (default-abi): Set
73 using LIBC_CONFIG_VAR.
74 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
75 * sysdeps/unix/sysv/linux/mips/Makefile: Do not include
78 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
80 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
81 (MAP_ANONYMOUS): Don't define.
83 2013-03-06 Andreas Jaeger <aj@suse.de>
85 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines
86 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
87 (__MAP_ANONYMOUS): Define.
89 * sysdeps/unix/sysv/linux/mips/bits/msq.h (MSG_COPY): Define.
91 2013-02-27 Chung-Lin Tang <cltang@codesourcery.com>
92 Maciej W. Rozycki <macro@codesourcery.com>
93 Maxim Kuvyrkov <maxim@codesourcery.com>
95 * sysdeps/mips/abort-instr.h (ABORT_INSTRUCTION) [__mips16]:
97 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Add
98 MIPS16 version of assembly code.
99 (RTLD_START) [__mips16]: New macro.
100 * sysdeps/mips/fpu_control.h (__mips_fpu_getcw): New prototype.
101 (__mips_fpu_setcw): Likewise.
102 (_FPU_GETCW) [__mips16]: New macro.
103 (_FPU_SETCW) [__mips16]: Likewise.
104 * sysdeps/mips/machine-gmon.h (MCOUNT): Add `.set nomips16'.
105 * sysdeps/mips/tls-macros.h (LOAD_GP) [__mips16]: New macro.
106 (TLS_GD, TLS_LD, TLS_IE, TLS_LE) [__mips16]: Likewise.
107 * sysdeps/mips/bits/atomic.h: Also use __atomic_* builtins with
108 GCC 4.7 in MIPS16 code.
109 (atomic_compare_and_exchange_val_acq) [__mips16]: New macro.
110 (atomic_compare_and_exchange_bool_acq) [__mips16]: Likewise.
111 (atomic_exchange_acq) [__mips16]: Likewise.
112 (atomic_exchange_and_add) [__mips16]: Likewise.
113 (atomic_bit_test_set) [__mips16]: Likewise.
114 (atomic_and, atomic_and_val) [__mips16]: Likewise.
115 (atomic_or, atomic_or_val) [__mips16]: Likewise.
116 (atomic_full_barrier) [__mips16]: Likewise.
117 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER) [__mips16]:
119 * sysdeps/mips/sys/tas.h (_test_and_set): Add `__nomips16__'
121 * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO): Add
123 (PSEUDO_ERRVAL): Likewise.
124 * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Likewise.
125 * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
126 * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
127 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
128 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS) [__mips16]: New macros.
129 (INTERNAL_SYSCALL_MIPS16) [__mips16]: Likewise.
130 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h:
132 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO):
134 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
135 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
136 * sysdeps/mips/memset.S (memset): Likewise.
137 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
138 * sysdeps/mips/start.S (ENTRY_POINT) [__mips16]: New function.
139 * sysdeps/mips/mips32/crti.S: Add `.set nomips16'.
140 * sysdeps/mips/mips32/crtn.S: Likewise.
141 * sysdeps/mips/mips64/n32/crti.S: Likewise.
142 * sysdeps/mips/mips64/n32/crtn.S: Likewise.
143 * sysdeps/mips/mips64/n64/crti.S: Likewise.
144 * sysdeps/mips/mips64/n64/crtn.S: Likewise.
145 * sysdeps/unix/mips/sysdep.S: Likewise.
146 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
147 * sysdeps/unix/sysv/linux/mips/getcontext.S: Likewise.
148 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
149 * sysdeps/unix/sysv/linux/mips/setcontext.S: Likewise.
150 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
151 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
152 * sysdeps/mips/__longjmp.c (__longjmp): Rename function to...
153 (____longjmp): ... this. Make static and add `nomips16'
155 (__longjmp): New alias.
156 * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve) [__mips16]:
158 (_dl_runtime_pltresolve): Likewise.
159 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Add `nomips16'
161 * sysdeps/mips/fpu/e_sqrt.c (__ieee754_sqrt): Likewise.
162 * sysdeps/mips/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise.
163 * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Rewrite in terms
165 * sysdeps/mips/mips32/fpu/fpu_control.c: New file.
166 * sysdeps/mips/mips32/mips16/add_n.c: New file.
167 * sysdeps/mips/mips32/mips16/addmul_1.c: New file.
168 * sysdeps/mips/mips32/mips16/lshift.c: New file.
169 * sysdeps/mips/mips32/mips16/mul_1.c: New file.
170 * sysdeps/mips/mips32/mips16/rshift.c: New file.
171 * sysdeps/mips/mips32/mips16/sub_n.c: New file.
172 * sysdeps/mips/mips32/mips16/submul_1.c: New file.
173 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c:
175 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c:
177 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c:
179 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c:
181 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c:
183 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
185 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
187 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
189 * sysdeps/mips/mips32/fpu/Versions: New file.
190 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions: New file.
191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: New
193 * sysdeps/mips/mips32/mips16/fpu/Makefile: New file.
194 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile: New file.
195 * sysdeps/mips/preconfigure: Handle o32 MIPS16 compilation.
197 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
199 * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
200 __attribute__ ((unused)) to __attribute__ ((__unused__)).
202 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Sort
205 * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
206 __attribute_used__ to __attribute__ ((unused)).
208 * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Add
211 * sysdeps/mips/bits/nan.h: Align to generic IEEE 754 file.
213 2013-02-19 Joseph Myers <joseph@codesourcery.com>
216 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
217 (FUTEX_WAIT_REQUEUE_PI): Define.
218 (FUTEX_CMP_REQUEUE_PI): Likewise.
219 (lll_futex_wait_requeue_pi): Likewise.
220 (lll_futex_timed_wait_requeue_pi): Likewise.
221 (lll_futex_cmp_requeue_pi): Likewise.
223 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
225 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
226 __cxa_thread_atexit_impl.
227 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
229 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
232 2013-02-13 Joseph Myers <joseph@codesourcery.com>
235 * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c (__fxstat64): Do
237 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c (__fxstatat64):
239 * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c (__lxstat64):
241 * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c (__xstat64):
243 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
246 2013-02-11 Joseph Myers <joseph@codesourcery.com>
248 * sysdeps/mips/include/sys/asm.h: New file.
249 * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use SETUP_GP64_REG
250 and RESTORE_GP64_REG.
251 * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
252 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
253 * sysdeps/mips/sys/asm.h (__mips_cfi_startproc): Define to empty.
254 (__mips_cfi_endproc): Likewise.
255 (LEAF): Use __mips_cfi_startproc.
257 (END): Use __mips_cfi_endproc.
258 (EXPORT): Use __mips_cfi_startproc.
259 * sysdeps/unix/mips/mips32/sysdep.h (PSEUDO): Add CFI information
260 for error-handling code in both definitions.
261 * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Likewise.
262 * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Likewise.
263 * sysdeps/unix/mips/sysdep.h (ENTRY): Use cfi_startproc.
264 (END): Use cfi_endproc.
265 (PSEUDO_END): Likewise.
266 (PSEUDO_END_NOERRNO): Likewise.
267 (PSEUDO_END_ERRVAL): Likewise.
268 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Add CFI
269 information. Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
270 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext):
272 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
274 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
275 SETUP_GP64_REG and RESTORE_GP64_REG.
276 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
277 [(!NOT_IN_libc || IS_IN_libpthread || IS_IN_librt) && __PIC__]
278 (PSEUDO): Use cfi_endproc before ENTRY.
279 * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Add CFI
280 information. Use SETUP_GP64_REG and RESTORE_GP64_REG.
281 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h [(!NOT_IN_libc
282 || IS_IN_libpthread || IS_IN_librt) && __PIC__] (PSEUDO): Use
283 cfi_endproc before ENTRY.
284 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext): Add
285 CFI information. Use SETUP_GP64_STACK and RESTORE_GP64_STACK.
286 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
288 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Add CFI
289 information. Use SETUP_GP64_REG and RESTORE_GP64_REG.
291 2013-02-08 Joseph Myers <joseph@codesourcery.com>
294 * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: Don't include
296 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
297 (__libc_pread): Don't use CHECK_N.
298 * sysdeps/unix/sysv/linux/mips/pread64.c: Don't include
300 (__libc_pread64): Don't use CHECK_N.
301 * sysdeps/unix/sysv/linux/mips/pwrite.c: Don't include
303 (__libc_pwrite): Don't use CHECK_N.
304 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Don't include
306 (__libc_pwrite64): Don't use CHECK_N.
308 * sysdeps/mips/add_n.S (__mpn_add_n): Use END.
309 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
310 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
311 * sysdeps/mips/mips64/add_n.S (__mpn_add_n): Use ENTRY and END.
312 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Likewise.
313 * sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use END.
314 * sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
315 * sysdeps/mips/mips64/lshift.S (__mpn_lshift): Use ENTRY and END.
316 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Likewise.
317 * sysdeps/mips/mips64/rshift.S (__mpn_rshift): Likewise.
318 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Use END.
319 * sysdeps/mips/mips64/sub_n.S (__mpn_sub_n): Use ENTRY and END.
320 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Likewise.
321 * sysdeps/mips/setjmp.S (__sigsetjmp): Use END.
324 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Do not include
326 (__msgctl): Do not use CHECK_1.
327 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Do not include
329 (__shmctl): Do not use CHECK_1.
330 * sysdeps/unix/sysv/linux/mips/ustat.c: Do not include
332 (ustat): Do not use CHECK_1.
334 2013-02-05 Maciej W. Rozycki <macro@codesourcery.com>
336 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Add a missing
337 space in asm register specifiers throughout.
338 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
339 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
342 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (MOVE32):
344 (INTERNAL_SYSCALL_NCS): Use it. Rewrite to respect the syscall
346 (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
348 (internal_syscall0, internal_syscall1): Likewise.
349 (internal_syscall2, internal_syscall3): Likewise.
350 (internal_syscall4, internal_syscall5): Likewise.
351 (internal_syscall6, internal_syscall7): Likewise.
352 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (MOVE32):
354 (INTERNAL_SYSCALL_NCS): Use it. Rewrite to respect the syscall
356 (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
358 (internal_syscall0, internal_syscall1): Likewise.
359 (internal_syscall2, internal_syscall3): Likewise.
360 (internal_syscall4, internal_syscall5): Likewise.
361 (internal_syscall6): Likewise.
362 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (MOVE32):
364 (INTERNAL_SYSCALL_NCS): Use it. Rewrite to respect the syscall
366 (INTERNAL_SYSCALL): Rewrite to respect the syscall restart
368 (internal_syscall0, internal_syscall1): Likewise.
369 (internal_syscall2, internal_syscall3): Likewise.
370 (internal_syscall4, internal_syscall5): Likewise.
371 (internal_syscall6): Likewise.
373 2013-02-04 Joseph Myers <joseph@codesourcery.com>
376 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Do not include
378 (truncate64): Do not use CHECK_STRING.
379 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
381 (__fxstatat64): Do not use CHECK_STRING.
382 * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Do not include
384 (__lxstat64): Do not use CHECK_STRING.
385 * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Do not include
387 (__xstat64): Do not use CHECK_STRING.
389 2013-01-31 Joseph Myers <joseph@codesourcery.com>
392 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Don't include
393 <bp-checks.h> and <bp-semctl.h>.
394 (__semctl): Don't use CHECK_SEMCTL.
396 2013-01-29 Maciej W. Rozycki <macro@codesourcery.com>
398 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Correct
399 whitespace damage throughout.
400 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
402 2013-01-25 Steve Ellcey <sellcey@mips.com>
404 * sysdeps/mips/memmove.c: Remove.
406 2013-01-10 Joseph Myers <joseph@codesourcery.com>
408 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h (struct
409 sigcontext): Use __extension__ with long long in all definitions.
411 2013-01-08 Steve Ellcey <sellcey@mips.com>
413 * sysdeps/mips/memcpy.S: Change prefetch hint, reorder partial
414 loads and stores, set and use MAX_PREFETCH_SIZE.
416 2013-01-08 Andreas Jaeger <aj@suse.de>
419 * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): Remove.
421 2013-01-02 Joseph Myers <joseph@codesourcery.com>
423 * All files with FSF copyright notices: Update copyright dates
424 using scripts/update-copyrights.
426 2013-01-01 Joseph Myers <joseph@codesourcery.com>
428 * sysdeps/mips/bits/dlfcn.h: Reformat copyright notice.
429 * sysdeps/mips/bits/mathdef.h: Likewise.
430 * sysdeps/mips/bits/setjmp.h: Likewise.
431 * sysdeps/mips/ieee754/ieee754.h: Likewise.
432 * sysdeps/mips/machine-gmon.h: Likewise.
433 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
434 * sysdeps/mips/mips64/setjmp.S: Likewise.
435 * sysdeps/mips/start.S: Likewise.
436 * sysdeps/unix/mips/mips64/n32/sysdep.h: Likewise.
437 * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
438 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
439 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
441 2012-12-04 Joseph Myers <joseph@codesourcery.com>
443 * sysdeps/mips/fpu_control.h [__mips_soft_float] (_FPU_GETCW):
444 Define to set cw to 0, not just to plain "0" as a statement.
445 [__mips_soft_float] (_FPU_SETCW): Define to (void) (cw), rather
446 than doing nothing with cw.
448 2012-11-30 Joseph Myers <joseph@codesourcery.com>
450 * sysdeps/mips/mips32/libm-test-ulps: Update.
451 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
453 2012-11-29 Joseph Myers <joseph@codesourcery.com>
456 * sysdeps/mips/mips64/n32/_itoa.h: New file.
457 * sysdeps/unix/sysv/linux/mips/register-dump.h: Include
459 (CTX_TYPE): New macro.
462 (CTX_MDHI): Likewise.
463 (CTX_MDLO): Likewise.
464 (REG_HEX_SIZE): Likewise.
465 (hexvalue): Take _ITOA_WORD_TYPE argument.
466 (register_dump): Use these macros instead of hardcoding struct
467 sigcontext * type and accesses and 8-byte textual output for
470 2012-11-22 Joseph Myers <joseph@codesourcery.com>
473 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
474 (sendfile): New syscall entry.
475 * sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c: New file.
476 Copy of ../sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c.
478 2012-11-21 Joseph Myers <joseph@codesourcery.com>
480 * sysdeps/mips/jmpbuf-unwind.h (_jmpbuf_sp): Cast regs[0].__sp to
483 * sysdeps/mips/sotruss-lib.c: New file.
485 2012-11-20 Joseph Myers <joseph@codesourcery.com>
487 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
488 (internal_syscall1): Use parentheses around macro arguments.
489 (internal_syscall2): Likewise.
490 (internal_syscall3): Likewise.
491 (internal_syscall4): Likewise.
492 (internal_syscall5): Likewise.
493 (internal_syscall6): Likewise.
494 (internal_syscall7): Likewise.
495 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
496 (internal_syscall1): Likewise.
497 (internal_syscall2): Likewise.
498 (internal_syscall3): Likewise.
499 (internal_syscall4): Likewise.
500 (internal_syscall5): Likewise.
501 (internal_syscall6): Likewise.
503 * sysdeps/mips/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
504 _Unwind_GetCFA return to _Unwind_Ptr before casting to a pointer
506 * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c (CHECK_SP): Cast
507 ss_sp to long before casting to sp_type.
508 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h [_MIPS_SIM ==
509 _ABIO32] (GET_PC): Cast to unsigned long before casting to a
511 [_MIPS_SIM == _ABIO32] (GET_FRAME): Likewise.
512 [_MIPS_SIM == _ABIO32] (GET_STACK): Likewise.
513 [_MIPS_SIM != _ABIO32] (GET_PC): Likewise.
514 [_MIPS_SIM != _ABIO32] (GET_FRAME): Likewise.
515 [_MIPS_SIM != _ABIO32] (GET_STACK): Likewise.
517 * sysdeps/mips/bits/atomic.h [!__GNUC_PREREQ (4, 8)]
518 (__arch_compare_and_exchange_xxx_8_int): Separate assignments to
519 __prev and __cmp. Cast __cmp to void.
520 [!__GNUC_PREREQ (4, 8)] (__arch_compare_and_exchange_xxx_16_int):
522 [!__GNUC_PREREQ (4, 8) && _MIPS_SIM == _ABIO32]
523 (__arch_compare_and_exchange_xxx_64_int): Likewise.
525 2012-11-19 Joseph Myers <joseph@codesourcery.com>
527 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Declare VERSION
528 variable with __attribute__ ((unused)).
530 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
531 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
532 (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
533 (INTERNAL_SYSCALL_ERRNO): Cast err to void.
534 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
535 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
536 (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
537 (INTERNAL_SYSCALL_ERRNO): Cast err to void.
538 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
539 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
540 (INTERNAL_SYSCALL_ERROR_P): Cast val to void.
541 (INTERNAL_SYSCALL_ERRNO): Cast err to void.
543 2012-11-17 Joseph Myers <joseph@codesourcery.com>
545 * sysdeps/mips/bits/atomic.h
546 (__arch_compare_and_exchange_bool_8_int): Mark __PREV variable
547 with __attribute__ ((unused)).
548 (__arch_compare_and_exchange_bool_16_int): Likewise.
549 (__arch_compare_and_exchange_bool_32_int): Likewise.
550 (__arch_compare_and_exchange_bool_64_int): Likewise.
552 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
554 * sysdeps/mips/memmove.c: New file. Use memcpy for forward memmove.
556 2012-11-05 Joseph Myers <joseph@codesourcery.com>
558 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
559 (lll_futex_timed_wait_bitset): New macro.
561 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
563 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Don't
564 include <stub-tag.h>.
566 2012-11-03 Joseph Myers <joseph@codesourcery.com>
568 * sysdeps/mips/fpu/fclrexcpt.c (feclearexcept): Add
572 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define macro to integer
573 constant usable in #if and use that to give value to enum
575 (FE_UNDERFLOW): Likewise.
576 (FE_OVERFLOW): Likewise.
577 (FE_DIVBYZERO): Likewise.
578 (FE_INVALID): Likewise.
579 (FE_TONEAREST): Likewise.
580 (FE_TOWARDZERO): Likewise.
581 (FE_UPWARD): Likewise.
582 (FE_DOWNWARD): Likewise.
584 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
586 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
588 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist
589 (GLIBC_2.17): Add clock_* symbols.
591 2012-10-31 Steve Ellcey <sellcey@mips.com>
593 * sysdeps/mips/memcpy.S: Add prefetching and more unrolling, make
594 it work in 32 or 64 bit modes.
595 * sysdeps/mips/mips64/memcpy.S: Remove.
597 2012-10-30 Joseph Myers <joseph@codesourcery.com>
600 * sysdeps/mips/tininess.h: New file.
602 2012-10-29 Steve Ellcey <sellcey@mips.com>
604 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
605 * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
606 * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
607 * sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
608 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
609 * sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
610 (abi-variants): Add hard and soft float versions.
611 (abi-o32-options): Remove.
612 (abi-o32-condition): Remove.
613 (abi-n32-options): Remove.
614 (abi-n32-condition): Remove.
615 (abi-n64-options): Remove.
616 (abi-n64-condition): Remove.
617 (abi-o32_soft-options): New.
618 (abi-o32_soft-condition): New.
619 (abi-o32_hard-options): New.
620 (abi-o32_hard-condition): New.
621 (abi-n32_soft-options): New.
622 (abi-n32_soft-condition): New.
623 (abi-n32_hard-options): New.
624 (abi-n32_hard-condition): New.
625 (abi-n64_soft-options): New.
626 (abi-n64_soft-condition): New.
627 (abi-n64_hard-options): New.
628 (abi-n64_hard-condition): New.
630 2012-10-19 Roland McGrath <roland@hack.frob.com>
632 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist
633 (GLIBC_2.17): Add clock_* symbols.
634 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
636 2012-10-24 Andreas Jaeger <aj@suse.de>
638 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all
639 definitions and declarations that are provided by
640 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
642 2012-10-03 Steve Ellcey <sellcey@mips.com>
644 * sysdeps/mips/ieee754.h: Move to...
645 * sysdeps/mips/ieee754/ieee754.h: Here.
646 * sysdeps/mips/mips32/Implies: Add mips/ieee754.
647 * sysdeps/mips/mips64/Implies: Ditto.
648 * sysdeps/mips/mips64/n32/Implies: Ditto.
649 * sysdeps/mips/mips64/n64/Implies: Ditto.
651 2012-10-02 Siddhesh Poyarekar <siddhesh@redhat.com>
653 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Fix clone
654 flag name in comment to CLONE_CHILD_CLEARTID.
656 2012-09-28 Roland McGrath <roland@hack.frob.com>
658 * sysdeps/mips/init-first.c: File removed.
660 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
662 * sysdeps/mips/dl-trampoline.c (VERSYMIDX): Removed.
664 2012-08-27 Joseph Myers <joseph@codesourcery.com>
666 * sysdeps/unix/sysv/linux/mips/kernel-features.h
667 (__ASSUME_STAT64_SYSCALL): Remove.
669 2012-08-27 Guido Guenther <agx@sigxcpu.org>
671 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Set bit 23.
673 2012-08-22 Joseph Myers <joseph@codesourcery.com>
675 * sysdeps/unix/sysv/linux/mips/kernel-features.h [_MIPS_SIM ==
676 _ABIO32] (__ASSUME_STAT64_SYSCALL): Define.
677 * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: New file. Based
678 on version from ../sysdeps/unix/sysv/linux/.
679 * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Likewise.
680 * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Likewise.
682 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
684 * sysdeps/mips/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
685 <mips_o32_gnu_pltenter, mips_n32_gnu_pltenter, mips_n64_gnu_pltenter>:
686 struct La_mips_32_regs and struct La_mips_64_regs are not constant.
688 2012-08-15 Tom de Vries <vries@codesourcery.com>
689 Maxim Kuvyrkov <maxim@codesourcery.com>
691 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (__libc_lock_lock)
692 (__libc_lock_trylock): Define versions optimized for MIPS.
694 2012-08-15 Maxim Kuvyrkov <maxim@codesourcery.com>
696 * sysdeps/mips/nptl/pthread_spin_lock.S: Remove, use generic version.
697 * sysdeps/mips/nptl/pthread_spin_lock.c: New file.
698 * sysdeps/mips/nptl/pthread_spin_trylock.S: Remove, use generic version.
700 2012-08-15 Joseph Myers <joseph@codesourcery.com>
702 * sysdeps/mips/dl-lookup.c: Update from generic version.
704 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
706 [__GNUC_PREREQ (4, 8)]
707 (atomic_exchange_and_add): Split into ...
708 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
710 [!__GNUC_PREREQ (4, 8)]
711 (atomic_exchange_and_add): Split into ...
712 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
715 2012-08-09 Joseph Myers <joseph@codesourcery.com>
717 * sysdeps/unix/sysv/linux/mips/kernel-features.h
718 (__ASSUME_UTIMES): Define.
720 2012-08-07 Joseph Myers <joseph@codesourcery.com>
722 * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
724 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
726 2012-08-01 Joseph Myers <joseph@codesourcery.com>
728 * sysdeps/unix/sysv/linux/mips/kernel-features.h
729 (__ASSUME_FCNTL64): Remove.
731 2012-08-01 Steve Ellcey <sellcey@mips.com>
733 * sysdeps/mips/sys/asm.h [_MIPS_ISA != _MIPS_ISA_MIPS4 &&
734 _MIPS_ISA != _MIPS_ISA_MIPS5 && _MIPS_ISA != _MIPS_ISA_MIPS32 &&
735 _MIPS_ISA != _MIPS_ISA_MIPS64] (PREF): Define as function-like
739 2012-07-31 Joseph Myers <joseph@codesourcery.com>
741 * sysdeps/unix/sysv/linux/mips/fcntl.c: Remove.
742 * sysdeps/unix/sysv/linux/mips/lockf64.c: Likewise.
743 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: New file.
744 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
745 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
746 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
748 2012-07-27 Joseph Myers <joseph@codesourcery.com>
750 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): New.
751 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: New file.
753 2012-07-25 Florian Weimer <fweimer@redhat.com>
755 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
757 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
759 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
762 2012-07-17 Joseph Myers <joseph@codesourcery.com>
764 * sysdeps/mips/configure.in: Remove TLS check.
765 * sysdeps/mips/configure: Regenerated.
767 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: New
769 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
771 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
774 2012-07-11 Tom de Vries <vries@codesourcery.com>
775 Maxim Kuvyrkov <maxim@codesourcery.com>
777 * sysdeps/mips/bits/atomic.h [__GNUC_PREREQ (4, 8)]
778 (__arch_compare_and_exchange_bool_32_int)
779 (__arch_compare_and_exchange_val_32_int)
780 (__arch_compare_and_exchange_bool_64_int)
781 (__arch_compare_and_exchange_val_64_int)
782 Define in terms of __atomic_compare_exchange_n.
783 [__GNUC_PREREQ (4, 8)]
784 (__arch_exchange_32_int, __arch_exchange_64_int):
785 Define in terms of __atomic_exchange_n.
786 [__GNUC_PREREQ (4, 8)]
787 (__arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
788 Define in terms of __atomic_fetch_add.
789 [!__GNUC_PREREQ (4, 8)]: Update formatting.
791 2012-07-06 Petar Jovanovic <petar.jovanovic@rt-rk.com>
793 * sysdeps/mips/dl-machine.h (RTLD_START): Do not store data below
796 2012-06-19 Joseph Myers <joseph@codesourcery.com>
798 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Update
800 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
802 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist:
804 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
805 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist:
807 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist:
809 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist:
811 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist:
814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
816 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
818 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
820 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
822 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
830 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist:
832 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist:
834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist:
839 2012-06-14 Joseph Myers <joseph@codesourcery.com>
841 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
842 (FORCE_FRAME_POINTER): Assign result of alloca to a volatile
845 2012-06-01 Joseph Myers <joseph@codesourcery.com>
847 * sysdeps/mips/mips64/n32/s_fma.c: New file.
848 * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
850 * sysdeps/unix/sysv/linux/mips/Makefile (abi-n32-condition): Fix
853 2012-05-31 Joseph Myers <joseph@codesourcery.com>
855 * sysdeps/mips/mips64/libm-test-ulps: Remove sqrt ulps.
857 * sysdeps/mips/mips32/libm-test-ulps: Regenerate.
858 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
860 2012-05-30 Joseph Myers <joseph@codesourcery.com>
862 * sysdeps/unix/sysv/linux/mips/Makefile [subdir = misc]: Move ABI
863 settings out of conditional.
865 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove
866 __connect_internal alias.
868 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
869 (FP_TRAPPING_EXCEPTIONS): Define.
871 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-variants):
872 Rename to abi-variants.
873 (syscall-list-includes): Rename to abi-includes.
874 (syscall-list-o32-options): Rename to abi-o32-options.
875 (syscall-list-o32-condition): Rename to abi-o32-condition.
876 (syscall-list-n32-options): Rename to abi-n32-options.
877 (syscall-list-n32-condition): Rename to abi-n32-condition.
878 (syscall-list-n64-options): Rename to abi-n64-options.
879 (syscall-list-n64-condition): Rename to abi-n64-condition.
880 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
881 * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Likewise.
882 * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Likewise.
884 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Replace
885 _internal alias by hidden_def.
887 2012-05-26 Joseph Myers <joseph@codesourcery.com>
889 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: New
891 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
893 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
895 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
899 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
901 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
903 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
906 2012-05-25 Joseph Myers <joseph@codesourcery.com>
908 * sysdeps/unix/sysv/linux/mips/kernel-features.h
909 (__ASSUME_32BITUIDS): Remove.
911 2012-05-23 Steve Ellcey <sellcey@mips.com>
913 * sysdeps/unix/sysv/linux/mips/Makefile
914 (syscall-list-o32-options): Use -D_MIPS_SIM=1.
915 (syscall-list-n32-options): Use -D_MIPS_SIM=2.
916 (syscall-list-n64-options): Use -D_MIPS_SIM=3.
918 2012-05-23 Joseph Myers <joseph@codesourcery.com>
920 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_DONTDUMP):
922 (MADV_DODUMP): Likewise.
924 2012-05-21 Joseph Myers <joseph@codesourcery.com>
926 * sysdeps/mips/bits/wordsize.h (__WORDSIZE_COMPAT32): Rename to
927 __WORDSIZE_TIME64_COMPAT32.
929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Update.
930 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Update.
931 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Update.
933 2012-05-19 Joseph Myers <joseph@codesourcery.com>
935 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Move to ...
936 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: ... here.
937 (kernel-features.h): Don't include.
938 [__NR_ftruncate64]: Make code unconditional.
939 [!__NR_ftruncate64]: Remove conditional code.
940 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
941 * sysdeps/unix/sysv/linux/mips/truncate64.c: Move to ...
942 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: ... here.
943 (kernel-features.h): Don't include.
944 [__NR_truncate64]: Make code unconditional.
945 [!__NR_truncate64]: Remove conditional code.
946 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
947 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
949 (truncate): Likewise.
950 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
951 (ftruncate): Remove syscall.
952 (truncate): Likewise.
953 * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Move to ...
954 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: ... here.
955 * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Move to ...
956 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: ... here.
958 2012-05-16 Joseph Myers <joseph@codesourcery.com>
960 * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat)
961 [!__USE_MISC && !__USE_XOPEN2K8]: Declare nanoseconds fields with
962 type unsigned long and names st_atimensec, st_mtimensec and
964 (struct stat64) [!__USE_MISC && !__USE_XOPEN2K8]: Likewise.
966 2012-05-14 Joseph Myers <joseph@codesourcery.com>
968 * sysdeps/unix/sysv/linux/mips/pread.c [!__ASSUME_PREAD_SYSCALL]:
969 Remove conditional code.
970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
971 * sysdeps/unix/sysv/linux/mips/pread64.c
972 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
973 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
974 * sysdeps/unix/sysv/linux/mips/pwrite.c
975 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
977 * sysdeps/unix/sysv/linux/mips/pwrite64.c
978 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
979 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
980 * sysdeps/unix/sysv/linux/mips/sigaction.c
981 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
982 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
984 2012-05-11 Joseph Myers <joseph@codesourcery.com>
986 * sysdeps/mips/dl-lookup.c: Update from generic version.
988 2012-05-08 Joseph Myers <joseph@codesourcery.com>
990 * sysdeps/mips/fpu/libm-test-ulps: Move to ...
991 * sysdeps/mips/mips32/libm-test-ulps: ... here.
992 * sysdeps/mips/mips64/n32/libm-test-ulps: Move to ...
993 * sysdeps/mips/mips64/libm-test-ulps: ... here.
994 * sysdeps/mips/mips64/n64/libm-test-ulps: Remove file.
996 2012-05-01 Joseph Myers <joseph@codesourcery.com>
999 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Copy
1000 from libc version and add symbol versions.
1001 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilis
1002 (GLIBC_2.3.3): Add posix_fadvise64.
1004 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1006 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: New file.
1007 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1009 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Likewise.
1010 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
1011 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Likewise.
1012 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Likewise.
1013 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
1014 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Likewise.
1015 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
1017 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Likewise.
1018 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Likewise.
1019 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1021 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Likewise.
1022 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Likewise.
1023 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1025 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1027 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Likewise.
1028 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1030 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: Likewise.
1031 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: Likewise.
1032 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1034 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1036 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1038 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: Likewise.
1039 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1041 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1043 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Likewise.
1044 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1046 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1048 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
1049 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1051 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Likewise.
1052 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Likewise.
1053 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist:
1055 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1057 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1059 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Likewise.
1060 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1062 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1065 * sysdeps/mips/mips64/memcpy.S: Don't include <endian.h>. Test
1066 __MIPSEB instead of __BYTE_ORDER.
1067 * sysdeps/mips/mips64/memset.S: Likewise.
1069 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1071 * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1073 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1075 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1077 * sysdeps/unix/mips/brk.S: Remove file.
1078 * sysdeps/unix/mips/dl-brk.S: Likewise.
1079 * sysdeps/unix/mips/sigreturn.S: Likewise.
1080 * sysdeps/unix/mips/wait.S: Likewise.
1082 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1084 * sysdeps/mips/memcpy.S: Don't include <endian.h>. Test __MIPSEB
1085 instead of __BYTE_ORDER.
1086 * sysdeps/mips/memset.S: Likewise.
1088 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1089 kernel_rt_sigframe): Use siginfo_t instead of struct siginfo.
1091 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1093 * sysdeps/unix/mips/fork.S: Remove file.
1095 2012-04-24 Mike Frysinger <vapier@gentoo.org>
1097 * sysdeps/unix/sysv/linux/mips/mips64/configure.in
1098 (ldd_rewrite_script): Change $dest to $dir.
1099 * sysdeps/unix/sysv/linux/mips/mips64/configure: Regenerate.
1101 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1103 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Include
1104 sysdeps/unix/sysv/linux/arm/readahead.c not
1105 sysdeps/unix/sysv/linux/arm/eabi/readahead.c.
1107 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1109 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define.
1110 (MAP_HUGETLB): Likewise.
1112 2012-03-27 Joseph Myers <joseph@codesourcery.com>
1114 * sysdeps/mips/elf/start.S: Moved to ...
1115 * sysdeps/mips/start.S: ...here.
1116 * sysdeps/mips/elf/configure.in: Moved to ...
1117 * sysdeps/mips/configure.in: ...here. Update comment.
1118 * sysdeps/mips/configure: New generated file.
1120 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1122 * sysdeps/unix/sysv/linux/mips/register-dump.h: Include <_itoa.h>
1123 instead of <stdio-common/_itoa.h>.
1125 2012-03-10 Paul Eggert <eggert@cs.ucla.edu>
1128 * sysdeps/mips/mips64/gmp-mparam.h: Replace FSF snail mail address
1131 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1134 Replace FSF snail mail address with URLs, as per GNU coding standards.
1136 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1138 * sysdeps/unix/sysv/linux/mips/bits/socket_type.h: New file.
1139 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Remove.
1141 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1143 * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not
1144 declare recvmmsg and sendmmsg.
1146 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1148 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t):
1149 Change union tag to pthread_attr_t. Only define typedef if not
1151 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1152 (pthread_attr_t): Change union tag to pthread_attr_t. Only define
1153 typedef if not already defined.
1155 2012-02-26 Joseph Myers <joseph@codesourcery.com>
1157 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
1158 siginfo_t struct. Add forward declaration of pthread_attr_t and
1160 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
1161 pthread_attr_t union.
1163 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1165 * sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
1166 * sysdeps/unix/sysv/linux/mips/bits/timerfd.h: Likewise.
1167 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Remove.
1168 * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1170 2012-02-20 Andreas Schwab <schwab@linux-m68k.org>
1172 * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
1175 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1177 * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,
1178 matching the array in dl-procinfo.c.
1180 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1182 * sysdeps/mips/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1183 * sysdeps/mips/mips64/n32/fpu/libm-test-ulps: Likewise.
1184 * sysdeps/mips/mips64/n64/fpu/libm-test-ulps: Likewise.
1186 2012-02-15 Robert Millan <rmh@gnu.org>
1189 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__]
1190 [__PIC__] (SYSCALL_ERROR_LABEL): New macro.
1192 2012-02-15 Robert Millan <rmh@gnu.org>
1195 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Moved to ...
1196 * sysdeps/mips/sys/tas.h: ... here.
1198 2012-02-15 Robert Millan <rmh@gnu.org>
1201 * sysdeps/mips/dl-machine.h: Fix a comment regarding __start.
1202 * sysdeps/unix/sysv/linux/mips/entry.h: Moved to ...
1203 * sysdeps/unix/mips/entry.h: ... here.
1205 2012-02-15 Robert Millan <rmh@gnu.org>
1208 * sysdeps/mips/dl-machine.h (DL_PLATFORM_INIT, dl_platform_init):
1210 * sysdeps/mips/dl-procinfo.c: New file.
1211 * sysdeps/mips/dl-procinfo.h: Likewise.
1213 2012-02-15 Joseph Myers <joseph@codesourcery.com>
1215 * sysdeps/unix/sysv/linux/mips/bits/signalfd.h: New file.
1216 * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: Remove.
1218 2012-02-15 Viju Vincent <vijuvince@gmail.com>
1220 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Use locking
1221 around calls to _dl_lookup_symbol_x.
1223 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1225 * sysdeps/unix/sysv/linux/mips/bits/inotify.h: New file.
1226 * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Remove.
1228 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1230 * sysdeps/unix/sysv/linux/mips/bits/eventfd.h: New file.
1231 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Remove.
1233 2012-02-10 Joseph Myers <joseph@codesourcery.com>
1235 * sysdeps/mips/mips32/crti.S: New file, based on compiler output
1236 for sysdeps/generic/initfini.c.
1237 * sysdeps/mips/mips32/crtn.S: Likewise.
1238 * sysdeps/mips/mips64/n32/crti.S: Likewise.
1239 * sysdeps/mips/mips64/n32/crtn.S: Likewise.
1240 * sysdeps/mips/mips64/n64/crti.S: Likewise.
1241 * sysdeps/mips/mips64/n64/crtn.S: Likewise.
1242 * sysdeps/mips/Makefile (CFLAGS-initfini.s): Remove variable.
1243 (CFLAGS-pt-initfini.s): Likewise.
1244 (CPPFLAGS-crti.S, CPPFLAGS-crtn.S, CPPFLAGS-pt-crti.S): Define
1247 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1249 * sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals.
1250 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1251 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1252 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1254 2012-01-08 Joseph Myers <joseph@codesourcery.com>
1256 * sysdeps/mips/bits/fenv.h: Use const instead of __const.
1257 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1258 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1259 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1260 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Likewise.
1261 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1262 * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
1264 2012-01-07 Joseph Myers <joseph@codesourcery.com>
1266 * sysdeps/mips/nptl/shlib-versions: New.
1268 2012-01-07 Joseph Myers <joseph@codesourcery.com>
1270 * sysdeps/mips/backtrace.c: Use x86_64 version of backtrace.c.
1272 2012-01-04 Tom de Vries <tom@codesourcery.com>
1274 * sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with
1277 2012-01-03 Tom de Vries <tom@codesourcery.com>
1279 * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
1280 * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
1282 2011-12-22 Joseph Myers <joseph@codesourcery.com>
1284 * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)
1285 (mips_list_syscalls, $(objpfx)syscall-%.h $(objpfx)syscall-%.d):
1287 (syscall-list-variants, syscall-list-includes)
1288 (syscall-list-o32-options, syscall-list-o32-condition)
1289 (syscall-list-n32-options, syscall-list-n32-condition)
1290 (syscall-list-n64-options, syscall-list-n64-condition): Define.
1291 * sysdeps/unix/sysv/linux/mips/configure.in: Don't generate
1293 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1294 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Remove.
1296 2011-12-22 Joseph Myers <joseph@codesourcery.com>
1299 * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT)
1300 (EPOLLET): Initialize with unsigned values.
1302 2011-12-19 Joseph Myers <joseph@codesourcery.com>
1304 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
1305 $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h.
1307 2011-11-17 Joseph Myers <joseph@codesourcery.com>
1309 * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c,
1310 sysdeps/unix/sysv/linux/mips/mips64/n64/ftw64.c: New.
1312 2011-11-11 Joseph Myers <joseph@codesourcery.com>
1314 * sysdeps/mips/dl-lookup.c: Update from generic version.
1316 2011-10-12 Joseph Myers <joseph@codesourcery.com>
1318 * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
1319 * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
1320 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias.
1322 2011-10-05 Andreas Schwab <schwab@redhat.com>
1324 * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela)
1325 (elf_machine_lazy_rel): Add parameter skip_ifunc.
1327 2011-09-13 Joseph Myers <joseph@codesourcery.com>
1329 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Cast
1330 return value to (struct cmsghdr *).
1332 2011-09-13 Joseph Myers <joseph@codesourcery.com>
1334 * sysdeps/mips/elf/configure.in: Always test for TLS support and
1335 error out in case it is missing.
1336 * sysdeps/mips/elf/configure: Regenerate.
1337 * sysdeps/mips/nptl/tls.h: Remove test for HAVE_TLS_SUPPORT.
1339 2011-09-11 Joseph Myers <joseph@codesourcery.com>
1341 * sysdeps/mips/dl-machine.h, sysdeps/mips/libc-tls.c,
1342 sysdeps/mips/nptl/tls.h: Don't define or use USE_TLS.
1344 2011-09-06 Joseph Myers <joseph@codesourcery.com>
1347 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs)
1349 * sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c,
1350 sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New.
1352 2011-08-02 Matt Turner <mattst88@gmail.com>
1354 * sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata.
1356 2011-07-25 Joseph Myers <joseph@codesourcery.com>
1358 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC):
1361 2011-06-20 Joseph Myers <joseph@codesourcery.com>
1363 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c,
1364 sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: New.
1366 2011-06-20 Joseph Myers <joseph@codesourcery.com>
1368 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SI_USER): Don't
1369 mention raise in the comment.
1371 2011-05-23 Aurelien Jarno <aurelien@aurel32.net>
1373 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME):
1376 2011-05-13 Joseph Myers <joseph@codesourcery.com>
1378 * sysdeps/mips/dl-lookup.c: Update from generic version.
1380 2011-05-10 Joseph Myers <joseph@codesourcery.com>
1382 * sysdeps/mips/dl-lookup.c: Update from generic version.
1384 2011-04-11 Joseph Myers <joseph@codesourcery.com>
1386 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
1388 2011-04-01 Joseph Myers <joseph@codesourcery.com>
1390 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle
1391 to open_by_handle_at.
1393 2011-04-01 Joseph Myers <joseph@codesourcery.com>
1395 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define.
1397 2011-04-01 Joseph Myers <joseph@codesourcery.com>
1399 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct
1400 file_handle and MAX_HANDLE_SZ. Declare name_to_handle_at and
1401 open_by_handle. Augment a few comments.
1403 2011-04-01 Joseph Myers <joseph@codesourcery.com>
1405 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Make
1407 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Likewise.
1408 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1409 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Mark
1410 sync_file_range as cancellation point.
1411 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Mark
1412 sync_file_range as cancellation point.
1414 2011-04-01 Joseph Myers <joseph@codesourcery.com>
1416 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add
1419 2011-03-22 Joseph Myers <joseph@codesourcery.com>
1421 * sysdeps/mips/dl-lookup.c: Update from generic version.
1423 2011-01-25 Joseph Myers <joseph@codesourcery.com>
1425 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
1426 MADV_NOHUGEPAGE): Define.
1428 2011-01-25 Joseph Myers <joseph@codesourcery.com>
1430 * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
1431 PF_CAIF, PF_ALG): Define.
1433 2010-12-30 Joseph Myers <joseph@codesourcery.com>
1435 * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if
1436 NO_CTORS_DTORS_SECTIONS is defined.
1437 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1439 2010-12-21 Joseph Myers <joseph@codesourcery.com>
1441 * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1443 2010-12-06 Matt Turner <mattst88@gmail.com>
1445 * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
1447 2010-12-06 Joseph Myers <joseph@codesourcery.com>
1449 * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
1451 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1453 2010-10-21 Joseph Myers <joseph@codesourcery.com>
1455 * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1456 sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list,
1457 sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries
1460 2010-10-11 Joseph Myers <joseph@codesourcery.com>
1462 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
1464 * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
1466 2010-08-13 Joseph Myers <joseph@codesourcery.com>
1468 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1469 (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
1471 2010-08-13 Chandrakala Chavva <cchavva@caviumnetworks.com>
1473 * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
1475 * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
1477 2010-08-13 Joseph Myers <joseph@codesourcery.com>
1479 * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
1481 2010-08-12 Joseph Myers <joseph@codesourcery.com>
1483 * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
1484 struct statfs64): Add f_flags field.
1486 2010-08-12 Joseph Myers <joseph@codesourcery.com>
1488 * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
1491 2010-08-12 Joseph Myers <joseph@codesourcery.com>
1493 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
1495 * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
1496 sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
1497 * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
1500 2010-06-14 Joseph Myers <joseph@codesourcery.com>
1502 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
1503 F_GETPIPE_SZ): Define.
1505 2010-05-21 Joseph Myers <joseph@codesourcery.com>
1507 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
1508 sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
1510 2010-04-14 Joseph Myers <joseph@codesourcery.com>
1512 * sysdeps/unix/sysv/linux/mips/libc-abis: New.
1514 2010-04-06 Joseph Myers <joseph@codesourcery.com>
1516 * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
1517 VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
1518 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1521 2010-03-30 Joseph Myers <joseph@codesourcery.com>
1523 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
1526 2010-03-24 Joseph Myers <joseph@codesourcery.com>
1528 * sysdeps/mips/dl-lookup.c: Update from generic version.
1530 2010-03-23 Mischa Jonker <mischa.jonker@viragelogic.com>
1533 * sysdeps/mips/bits/atomic.h
1534 (__arch_compare_and_exchange_xxx_32_int,
1535 __arch_compare_and_exchange_xxx_64_int,
1536 __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
1537 __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
1538 Specify *mem as asm output as well as input.
1540 2010-02-10 Joseph Myers <joseph@codesourcery.com>
1542 * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
1544 2010-01-28 Joseph Myers <joseph@codesourcery.com>
1546 * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
1547 _dl_runtime_pltresolve): Calculate offset from start of function
1548 to .cpload instead of hardcoding instruction size.
1550 2010-01-11 Joseph Myers <joseph@codesourcery.com>
1552 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
1555 2010-01-11 Joseph Myers <joseph@codesourcery.com>
1557 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
1558 SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
1560 2010-01-10 Joseph Myers <joseph@codesourcery.com>
1562 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
1563 O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
1565 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
1568 2009-12-16 Joseph Myers <joseph@codesourcery.com>
1571 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
1572 POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
1574 2009-12-16 Joseph Myers <joseph@codesourcery.com>
1576 * sysdeps/mips/dl-lookup.c: Update from generic version.
1578 2009-12-15 Joseph Myers <joseph@codesourcery.com>
1580 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
1581 O_DSYNC to match 2.6.33+ kernels.
1583 2009-12-09 Joseph Myers <joseph@codesourcery.com>
1585 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
1588 2009-12-01 Joseph Myers <joseph@codesourcery.com>
1590 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
1591 (posix_fadvise): Remove.
1592 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
1593 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
1594 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
1596 2009-12-01 Joseph Myers <joseph@codesourcery.com>
1598 * sysdeps/mips/dl-lookup.c: Update from generic version.
1600 2009-11-23 Joseph Myers <joseph@codesourcery.com>
1602 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
1603 for timestamps also if __USE_XOPEN2K8.
1605 2009-11-19 Joseph Myers <joseph@codesourcery.com>
1607 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
1608 F_OWNER_PGRP and mark F_OWNER_GID obsolete.
1610 2009-11-18 Joseph Myers <joseph@codesourcery.com>
1612 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
1613 names of parameters of sync_file_range.
1615 2009-11-17 Joseph Myers <joseph@codesourcery.com>
1618 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
1619 constants from recent kernels.
1621 2009-11-17 Joseph Myers <joseph@codesourcery.com>
1623 * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
1624 not already defined.
1626 2009-11-14 Joseph Myers <joseph@codesourcery.com>
1628 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
1629 F_GETOWN_EX): Update values.
1631 2009-11-06 Joseph Myers <joseph@codesourcery.com>
1633 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
1634 of last two arguments when -D_FILE_OFFSET_BITS=64.
1636 2009-10-29 Joseph Myers <joseph@codesourcery.com>
1638 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
1641 2009-10-03 Joseph Myers <joseph@codesourcery.com>
1643 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
1646 2009-09-25 Daniel Jacobowitz <dan@codesourcery.com>
1648 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1649 (__SYSCALL_CLOBBERS): Add "hi" and "lo".
1650 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1651 (__SYSCALL_CLOBBERS): Likewise.
1652 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1653 (__SYSCALL_CLOBBERS): Likewise.
1655 2009-08-05 Joseph Myers <joseph@codesourcery.com>
1657 * sysdeps/mips/____longjmp_chk.c: Remove. Replaced by....
1658 * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This. New file.
1659 * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
1660 variable for env. Use expansion of CHECK_SP macro for check.
1661 * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
1663 2009-08-03 Joseph Myers <joseph@codesourcery.com>
1665 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
1666 sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
1668 2009-07-20 Aurelien Jarno <aurelien@aurel32.net>
1670 * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
1671 __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
1673 2009-07-17 Joseph Myers <joseph@codesourcery.com>
1675 * sysdeps/mips/do-lookup.h: Remove.
1676 * sysdeps/mips/dl-lookup.c: Update from generic version, with
1677 non-PIC handling integrated.
1679 2009-06-18 Joseph Myers <joseph@codesourcery.com>
1681 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
1684 2009-05-16 Joseph Myers <joseph@codesourcery.com>
1686 * sysdeps/mips/____longjmp_chk.c: New file.
1687 * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it. Don't
1689 * sysdeps/mips64/__longjmp.c: Likewise.
1691 2009-05-16 Joseph Myers <joseph@codesourcery.com>
1693 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
1694 sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
1695 sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
1696 sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
1698 2009-05-16 Joseph Myers <joseph@codesourcery.com>
1700 * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
1701 fallocate64@@GLIBC_2.11.
1703 2009-05-14 Joseph Myers <joseph@codesourcery.com>
1705 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
1706 sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
1708 2009-04-18 Maciej W. Rozycki <macro@codesourcery.com>
1710 * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
1711 * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
1712 * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
1713 * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
1714 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
1716 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
1717 * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
1718 * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
1721 2009-04-18 Joseph Myers <joseph@codesourcery.com>
1723 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
1724 __ASSUME_PWRITEV): Don't define here.
1726 2009-04-15 Maciej W. Rozycki <macro@codesourcery.com>
1728 * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
1730 2009-04-09 Joseph Myers <joseph@codesourcery.com>
1732 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
1734 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
1736 * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
1739 2009-03-18 Maciej W. Rozycki <macro@codesourcery.com>
1741 * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1742 Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
1744 2009-03-18 Zhang Le <r0bertz@gentoo.org>
1747 * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1748 Fix the condition used to annotate n32 objects.
1750 2009-03-17 Joseph Myers <joseph@codesourcery.com>
1752 * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
1753 Change parameters and use next_line.
1755 2009-03-17 Joseph Myers <joseph@codesourcery.com>
1757 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
1758 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1759 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1761 2009-03-15 Joseph Myers <joseph@codesourcery.com>
1763 * sysdeps/mips/bits/link.h: Uglify function parameter names.
1764 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1765 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
1766 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1767 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
1769 2009-03-03 Joseph Myers <joseph@codesourcery.com>
1771 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
1774 2009-02-26 Joseph Myers <joseph@codesourcery.com>
1776 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
1777 UTIME_OMIT only with __USE_ATFILE.
1779 2009-02-13 Joseph Myers <joseph@codesourcery.com>
1782 * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
1783 inotify_rm_watch should have type int.
1785 2009-02-02 Joseph Myers <joseph@codesourcery.com>
1787 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
1789 2009-01-27 Maciej W. Rozycki <macro@linux-mips.org>
1790 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
1793 * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
1794 variable page size for MIPS.
1795 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
1796 * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
1797 * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
1799 2009-01-12 Joseph Myers <joseph@codesourcery.com>
1801 * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
1802 __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
1805 2009-01-12 Joseph Myers <joseph@codesourcery.com>
1807 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
1808 FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
1810 2008-12-19 Joseph Myers <joseph@codesourcery.com>
1812 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
1813 sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
1814 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
1815 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
1817 2008-12-09 Joseph Myers <joseph@codesourcery.com>
1819 * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
1820 Make available only for __USE_GNU.
1822 2008-12-03 Joseph Myers <joseph@codesourcery.com>
1824 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
1825 FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
1827 2008-11-25 Joseph Myers <joseph@codesourcery.com>
1829 * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
1830 __THROW vs. __nonnull order for C++.
1832 2008-10-15 Daniel Jacobowitz <dan@codesourcery.com>
1834 * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
1835 * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
1836 R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
1838 2008-10-01 Mark Shinwell <shinwell@codesourcery.com>
1839 Daniel Jacobowitz <dan@codesourcery.com>
1840 Richard Sandiford <rdsandiford@googlemail.com>
1842 * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
1843 * sysdeps/mips/dl-lookup.c: New.
1844 * sysdeps/mips/do-lookup.h: New.
1845 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
1847 (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
1849 (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
1850 (elf_machine_type_class): Likewise.
1851 (ELF_MACHINE_PLT_REL): Define.
1852 (elf_machine_fixup_plt): New.
1853 (elf_machine_plt_value): New.
1854 (elf_machine_reloc): Handle jump slot and copy relocations.
1855 (elf_machine_lazy_rel): Point relocation place at PLT if
1857 (RESOLVE_GOTSYM): Take a relocation type argument.
1858 (elf_machine_got_rel): Bind lazy stubs directly to their target if
1859 !lazy. Skip lazy binding for PLT symbols.
1860 (elf_machine_runtime_setup): Fill in .got.plt header.
1861 * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
1862 (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
1863 ELF_DL_PLT_RESTORE_ARG_REGS): Define.
1864 (_dl_runtime_pltresolve): New.
1865 * sysdeps/mips/bits/linkmap.h: New file.
1866 * sysdeps/mips/tls-macros.h: Load $gp as required. Merge 32-bit and
1869 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
1871 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
1872 PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
1873 (PSEUDO): Use them. Move outside __PIC__.
1875 (CENABLE, CDISABLE): Use it.
1877 2008-08-19 Joseph Myers <joseph@codesourcery.com>
1879 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
1882 2008-08-19 Joseph Myers <joseph@codesourcery.com>
1884 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
1885 SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
1886 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
1887 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
1888 * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
1889 * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
1890 * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
1892 2008-08-19 Joseph Myers <joseph@codesourcery.com>
1894 * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
1897 2008-07-18 Joseph Myers <joseph@codesourcery.com>
1899 * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
1902 2008-05-21 Joseph Myers <joseph@codesourcery.com>
1904 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
1905 (SOCK_DCCP): Define.
1907 2008-05-01 Joseph Myers <joseph@codesourcery.com>
1909 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
1910 RUSAGE_THREAD and RUSAGE_LWP.
1912 2008-04-21 Daniel Jacobowitz <dan@codesourcery.com>
1914 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
1917 2008-04-21 Khem Raj <kraj@mvista.com>
1919 * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
1921 2008-04-02 Aurelien Jarno <aurelien@aurel32.net>
1923 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
1924 truncate and ftruncate systems calls.
1925 * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
1927 * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
1929 2008-03-28 Joseph Myers <joseph@codesourcery.com>
1931 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
1932 ARG_MAX if <linux/limits.h> has defined it.
1934 2008-03-28 Robin Randhawa <robin@mips.com>
1936 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
1937 barriers to enforce strict ordering on weakly ordered systems.
1939 2008-03-26 David Stephenson <david.stephenson@sicortex.com>
1940 Daniel Jacobowitz <dan@codesourcery.com>
1942 * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
1943 * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1944 * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1946 2008-03-09 Andreas Jaeger <aj@suse.de>
1949 * sysdeps/mips/ieee754.h: Use protected namespace
1950 __BIG_ENDIAN/__LITTLE_ENDIAN.
1951 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1953 2008-03-04 Daniel Jacobowitz <dan@codesourcery.com>
1955 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
1956 Reorganize to match other architectures. Replace _timer._timer1
1957 and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
1958 _timer.si_sigval. Correct the type of _sigpoll.si_band.
1959 (si_timerid, si_overrun): Define.
1960 (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
1961 (__pthread_attr_s): Remove declaration.
1962 (struct sigevent): Remove XXX. Add _tid.
1964 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
1966 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
1968 2007-09-25 Joseph Myers <joseph@codesourcery.com>
1970 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
1971 type and __THROW marker of splice, vmsplice, and tee.
1973 2007-09-12 Joseph Myers <joseph@codesourcery.com>
1975 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
1976 LLL_PRIVATE argument to lll_futex_wake.
1977 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
1978 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
1980 (PF_IUCV, PF_RXRPC): Define.
1982 (AF_IUCV, AF_RXRPC): Define.
1983 (MSG_CMSG_CLOEXEC): Define.
1984 (_EXTERN_INLINE): Define to __extern_inline.
1985 * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
1986 UTIME_OMIT): Define.
1987 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
1988 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1989 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1990 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
1991 lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
1992 resp. lll_robust_*. Renamed all LLL_MUTEX_LOCK_* macros to
1993 LLL_LOCK_*. Include <kernel-features.h>.
1994 (LLL_LOCK_INITIALIZER): Remove duplicate definition.
1995 (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
1996 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
1997 (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
1999 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
2000 lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
2002 (__lll_robust_trylock): Convert to macro.
2003 (__lll_robust_lock_wait): Add private argument.
2004 (__lll_lock_wait_private, __lll_lock_wait): Declare.
2005 (__lll_lock): Convert to macro. Take private argument.
2006 (__lll_cond_lock): Likewise.
2007 (lll_lock, lll_cond_lock): Take private arguments.
2008 (__lll_robust_lock): Take private argument. Convert to macro.
2009 (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
2010 lll_robust_cond_lock): Take private arguments.
2011 (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
2013 (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
2014 (lll_timedlock, lll_robust_timedlock): Take private arguments.
2015 (__lll_unlock, __lll_robust_unlock): Convert to macros. Take
2017 (lll_unlock, lll_robust_unlock): Take private arguments.
2018 (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
2019 lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
2020 (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
2021 (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
2022 __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
2023 lll_cond_wake, lll_cond_broadcast): Remove.
2024 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
2027 2007-08-06 Maciej W. Rozycki <macro@linux-mips.org>
2029 * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
2030 New macros for the (n)64 and n32 ABIs.
2031 (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
2033 2007-07-13 Carlos O'Donell <carlos@codesourcery.com>
2035 * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
2036 Define __WORDSIZE_COMPAT32 as 1.
2038 2007-07-13 Joseph Myers <joseph@codesourcery.com>
2040 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
2041 libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h. Increase
2044 2007-07-10 Daniel Jacobowitz <dan@codesourcery.com>
2046 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
2048 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
2051 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com>
2053 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
2054 (internal_syscall1, internal_syscall2, internal_syscall3,
2055 internal_syscall4, internal_syscall5, internal_syscall6): Use it.
2057 2007-06-06 Daniel Jacobowitz <dan@codesourcery.com>
2059 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
2060 THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
2061 (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
2062 THREAD_GSCOPE_WAIT): Define.
2063 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
2064 (FUTEX_PRIVATE_FLAG): Define.
2065 (lll_unlock_wake_cb): Delete prototype.
2066 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
2068 (pthread_rwlock_t): Shrink __flags and add __shared.
2070 2007-05-24 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
2072 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
2073 (posix_fadvise): Fix high word of len argument.
2075 2007-05-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
2077 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2078 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
2079 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
2080 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
2081 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
2082 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
2084 2007-05-23 Joseph Myers <joseph@codesourcery.com>
2086 * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
2087 * sysdeps/mips/mips64/n64/Implies: Likewise.
2088 * sysdeps/mips/mips64/soft-fp/Makefile: New.
2089 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
2090 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
2091 <fpu_control.h>. Use hardware exception and rounding mode
2094 2007-05-23 Richard Sandiford <rsandifo@nildram.co.uk>
2096 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
2097 r_info argument to ElfW(Addr).
2099 2007-02-01 Joseph Myers <joseph@codesourcery.com>
2101 * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
2103 2007-01-25 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
2104 Daniel Jacobowitz <dan@codesourcery.com>
2106 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
2108 * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
2109 sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
2110 sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
2112 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
2114 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
2115 PTR_DEMANGLE): Define.
2116 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
2117 PTR_DEMANGLE): Define.
2118 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
2119 PTR_DEMANGLE): Define.
2121 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
2123 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2124 (cfi_same_value): Delete definition.
2126 2007-01-08 Richard Sandiford <richard@codesourcery.com>
2128 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
2129 (elf_machine_reloc): New function, retaining the body of
2130 elf_machine_rel. Take the reloc's r_info field as an argument,
2131 not the reloc itself. Add extra r_addend and inplace_p arguments.
2132 When inplace_p is false, use r_addend as the addend, not the contents
2133 of the relocation field. Hoist the conversion of reloc_addr to
2134 "ELFW(Addr) *". Don't try to apply TLS relocations against
2135 undefined symbols. Add R_MIPS_GLOB_DAT support.
2136 (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
2137 (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
2140 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
2142 * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h. Correct
2143 multiple inclusion guard.
2144 * sysdeps/mips/elf/ldsodefs.h: Delete file.
2146 2007-01-04 Thiemo Seufer <ths@networkno.de>
2148 * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
2149 to match the kernel.
2151 2006-10-31 Daniel Jacobowitz <dan@codesourcery.com>
2153 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
2154 (RTLD_SINGLE_THREAD_P): Define.
2155 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
2157 2006-10-31 Joseph Myers <joseph@codesourcery.com>
2159 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
2162 2006-09-22 Richard Sandiford <richard@codesourcery.com>
2164 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
2166 (__xstat_conv): Use memset to clear padding arrays. Check for
2168 (__xstat64_conv): Use memset to clear padding arrays.
2169 (__xstat32_conv): New function.
2170 * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
2171 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
2173 2006-09-21 Joseph Myers <joseph@codesourcery.com>
2175 * sysdeps/mips/fpu_control.h: If soft-float, don't use
2176 floating-point registers.
2177 * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
2178 sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
2181 2006-08-04 Joseph Myers <joseph@codesourcery.com>
2183 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
2184 FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
2186 2006-07-24 Joseph Myers <joseph@codesourcery.com>
2188 * sysdeps/mips/mips64/n32/libm-test-ulps,
2189 sysdeps/mips/mips64/n64/libm-test-ulps: New.
2191 2006-07-24 Joseph Myers <joseph@codesourcery.com>
2193 * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
2194 defined, include the named file.
2196 2006-06-08 Daniel Jacobowitz <dan@codesourcery.com>
2198 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
2199 (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
2202 2006-06-02 Joseph Myers <joseph@codesourcery.com>
2204 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
2205 RLIM64_INFINITY): Define appropriately for N64. Use unsigned
2208 2006-06-02 Joseph Myers <joseph@codesourcery.com>
2210 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2211 Don't use struct timespec.
2212 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
2213 __xstat64_conv): Copy individual timespec fields.
2215 2006-06-02 Richard Sandiford <richard@codesourcery.com>
2217 * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
2219 2006-06-02 Joseph Myers <joseph@codesourcery.com>
2221 * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
2222 * sysdeps/mips/fpu/fesetround.c: Likewise.
2224 2006-05-10 Richard Sandiford <richard@codesourcery.com>
2225 Daniel Jacobowitz <dan@codesourcery.com>
2227 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
2228 dump sc_cause, sc_status or sc_badvaddr.
2229 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite. Update
2230 structure definitions after DSP kernel changes.
2231 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
2232 after the same DSP changes.
2234 2006-05-08 Richard Sandiford <richard@codesourcery.com>
2236 * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
2237 st_atim, st_mtim and st_ctim interface.
2238 (struct stat64): Likewise.
2239 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
2240 Replace st_atime and its padding field with st_atim. Likewise
2241 st_mtime/st_mtim and st_ctime/st_ctim.
2242 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
2243 after above changes.
2244 (__xstat64_conv): Likewise.
2246 2006-05-08 Richard Sandiford <richard@codesourcery.com>
2248 * sysdeps/mips/ldsodefs.h: New file.
2249 * sysdeps/mips/tst-audit.h: New file.
2251 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
2253 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
2254 for consistency with other ports.
2255 (MADV_REMOVE): Correct value.
2256 (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
2257 POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
2258 POSIX_MADV_DONTNEED): Define.
2260 2006-05-05 Lior Balkohen <balkohen@gmail.com>
2262 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
2263 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
2264 Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
2265 and SYNC_FILE_RANGE_WAIT_AFTER.
2266 Declare sync_file_range, vmsplice, splice and tee.
2268 2006-03-27 Lior Balkohen <balkohen@gmail.com>
2270 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
2271 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. Add readahead
2274 2006-03-27 Daniel Jacobowitz <dan@codesourcery.com>
2276 * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
2279 2006-03-27 Denis Barbier <barbier@linuxfr.org>
2281 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
2284 2006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
2286 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
2289 2006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
2291 * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
2292 libc_cv_localedir, libdir, arch_minimum_kernel, and
2293 libc_cv_gcc_unwind_find_fde.
2294 * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
2295 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2296 * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
2298 2006-03-02 Lior Balkohen <balkohen@gmail.com>
2300 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2301 (__pthread_list_t, __pthread_slist_t): New typedefs.
2302 (pthread_mutex_t): Replace __next and __prev fields with __list.
2303 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
2304 FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
2305 (lll_futex_wake_unlock): Define.
2306 (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
2307 lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
2308 lll_robust_mutex_unlock): New macros.
2309 (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
2310 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
2312 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
2314 2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
2316 * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
2317 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
2319 2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
2321 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2322 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2323 (INTERNAL_SYSCALL_NCS): New.
2324 (internal_syscall0, internal_syscall1, internal_syscall2,
2325 internal_syscall3, internal_syscall4, internal_syscall5,
2326 internal_syscall6): Take ncs_init, cs_init, and input arguments.
2327 Use them. Correct types for registers.
2328 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2329 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
2330 (INTERNAL_SYSCALL_NCS): New.
2331 (internal_syscall0, internal_syscall1, internal_syscall2,
2332 internal_syscall3, internal_syscall4, internal_syscall5,
2333 internal_syscall6): Take ncs_init, cs_init, and input arguments.
2335 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
2336 recvfrom and sendto. Mark lseek, msgrcv, and msgsnd as cancellation
2338 * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
2339 Use Elf(Addr) for TLS relocation targets.
2340 * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
2341 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
2342 lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
2343 futexp to long for n64.
2344 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
2346 2006-02-20 Roland McGrath <roland@redhat.com>
2348 * sysdeps/mips/shlib-versions: New file.
2349 * sysdeps/mips/preconfigure: New file.
2350 * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.