1 2010-06-14 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
6 2010-05-21 Joseph Myers <joseph@codesourcery.com>
8 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
9 sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
11 2010-04-14 Joseph Myers <joseph@codesourcery.com>
13 * sysdeps/unix/sysv/linux/mips/libc-abis: New.
15 2010-04-06 Joseph Myers <joseph@codesourcery.com>
17 * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
18 VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
19 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
22 2010-03-30 Joseph Myers <joseph@codesourcery.com>
24 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
27 2010-03-24 Joseph Myers <joseph@codesourcery.com>
29 * sysdeps/mips/dl-lookup.c: Update from generic version.
31 2010-03-23 Mischa Jonker <mischa.jonker@viragelogic.com>
34 * sysdeps/mips/bits/atomic.h
35 (__arch_compare_and_exchange_xxx_32_int,
36 __arch_compare_and_exchange_xxx_64_int,
37 __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
38 __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
39 Specify *mem as asm output as well as input.
41 2010-02-10 Joseph Myers <joseph@codesourcery.com>
43 * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
45 2010-01-28 Joseph Myers <joseph@codesourcery.com>
47 * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
48 _dl_runtime_pltresolve): Calculate offset from start of function
49 to .cpload instead of hardcoding instruction size.
51 2010-01-11 Joseph Myers <joseph@codesourcery.com>
53 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
56 2010-01-11 Joseph Myers <joseph@codesourcery.com>
58 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
59 SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
61 2010-01-10 Joseph Myers <joseph@codesourcery.com>
63 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
64 O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
66 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
69 2009-12-16 Joseph Myers <joseph@codesourcery.com>
72 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
73 POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
75 2009-12-16 Joseph Myers <joseph@codesourcery.com>
77 * sysdeps/mips/dl-lookup.c: Update from generic version.
79 2009-12-15 Joseph Myers <joseph@codesourcery.com>
81 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
82 O_DSYNC to match 2.6.33+ kernels.
84 2009-12-09 Joseph Myers <joseph@codesourcery.com>
86 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
89 2009-12-01 Joseph Myers <joseph@codesourcery.com>
91 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
92 (posix_fadvise): Remove.
93 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
94 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
95 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
97 2009-12-01 Joseph Myers <joseph@codesourcery.com>
99 * sysdeps/mips/dl-lookup.c: Update from generic version.
101 2009-11-23 Joseph Myers <joseph@codesourcery.com>
103 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
104 for timestamps also if __USE_XOPEN2K8.
106 2009-11-19 Joseph Myers <joseph@codesourcery.com>
108 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
109 F_OWNER_PGRP and mark F_OWNER_GID obsolete.
111 2009-11-18 Joseph Myers <joseph@codesourcery.com>
113 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
114 names of parameters of sync_file_range.
116 2009-11-17 Joseph Myers <joseph@codesourcery.com>
119 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
120 constants from recent kernels.
122 2009-11-17 Joseph Myers <joseph@codesourcery.com>
124 * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
127 2009-11-14 Joseph Myers <joseph@codesourcery.com>
129 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
130 F_GETOWN_EX): Update values.
132 2009-11-06 Joseph Myers <joseph@codesourcery.com>
134 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
135 of last two arguments when -D_FILE_OFFSET_BITS=64.
137 2009-10-29 Joseph Myers <joseph@codesourcery.com>
139 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
142 2009-10-03 Joseph Myers <joseph@codesourcery.com>
144 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
147 2009-09-25 Daniel Jacobowitz <dan@codesourcery.com>
149 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
150 (__SYSCALL_CLOBBERS): Add "hi" and "lo".
151 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
152 (__SYSCALL_CLOBBERS): Likewise.
153 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
154 (__SYSCALL_CLOBBERS): Likewise.
156 2009-08-05 Joseph Myers <joseph@codesourcery.com>
158 * sysdeps/mips/____longjmp_chk.c: Remove. Replaced by....
159 * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This. New file.
160 * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
161 variable for env. Use expansion of CHECK_SP macro for check.
162 * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
164 2009-08-03 Joseph Myers <joseph@codesourcery.com>
166 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
167 sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
169 2009-07-20 Aurelien Jarno <aurelien@aurel32.net>
171 * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
172 __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
174 2009-07-17 Joseph Myers <joseph@codesourcery.com>
176 * sysdeps/mips/do-lookup.h: Remove.
177 * sysdeps/mips/dl-lookup.c: Update from generic version, with
178 non-PIC handling integrated.
180 2009-06-18 Joseph Myers <joseph@codesourcery.com>
182 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
185 2009-05-16 Joseph Myers <joseph@codesourcery.com>
187 * sysdeps/mips/____longjmp_chk.c: New file.
188 * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it. Don't
190 * sysdeps/mips64/__longjmp.c: Likewise.
192 2009-05-16 Joseph Myers <joseph@codesourcery.com>
194 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
195 sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
196 sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
197 sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
199 2009-05-16 Joseph Myers <joseph@codesourcery.com>
201 * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
202 fallocate64@@GLIBC_2.11.
204 2009-05-14 Joseph Myers <joseph@codesourcery.com>
206 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
207 sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
209 2009-04-18 Maciej W. Rozycki <macro@codesourcery.com>
211 * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
212 * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
213 * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
214 * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
215 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
217 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
218 * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
219 * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
222 2009-04-18 Joseph Myers <joseph@codesourcery.com>
224 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
225 __ASSUME_PWRITEV): Don't define here.
227 2009-04-15 Maciej W. Rozycki <macro@codesourcery.com>
229 * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
231 2009-04-09 Joseph Myers <joseph@codesourcery.com>
233 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
235 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
237 * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
240 2009-03-18 Maciej W. Rozycki <macro@codesourcery.com>
242 * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
243 Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
245 2009-03-18 Zhang Le <r0bertz@gentoo.org>
248 * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
249 Fix the condition used to annotate n32 objects.
251 2009-03-17 Joseph Myers <joseph@codesourcery.com>
253 * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
254 Change parameters and use next_line.
256 2009-03-17 Joseph Myers <joseph@codesourcery.com>
258 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
259 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
260 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
262 2009-03-15 Joseph Myers <joseph@codesourcery.com>
264 * sysdeps/mips/bits/link.h: Uglify function parameter names.
265 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
266 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
267 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
268 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
270 2009-03-03 Joseph Myers <joseph@codesourcery.com>
272 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
275 2009-02-26 Joseph Myers <joseph@codesourcery.com>
277 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
278 UTIME_OMIT only with __USE_ATFILE.
280 2009-02-13 Joseph Myers <joseph@codesourcery.com>
283 * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
284 inotify_rm_watch should have type int.
286 2009-02-02 Joseph Myers <joseph@codesourcery.com>
288 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
290 2009-01-27 Maciej W. Rozycki <macro@linux-mips.org>
291 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
294 * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
295 variable page size for MIPS.
296 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
297 * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
298 * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
300 2009-01-12 Joseph Myers <joseph@codesourcery.com>
302 * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
303 __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
306 2009-01-12 Joseph Myers <joseph@codesourcery.com>
308 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
309 FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
311 2008-12-19 Joseph Myers <joseph@codesourcery.com>
313 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
314 sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
315 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
316 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
318 2008-12-09 Joseph Myers <joseph@codesourcery.com>
320 * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
321 Make available only for __USE_GNU.
323 2008-12-03 Joseph Myers <joseph@codesourcery.com>
325 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
326 FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
328 2008-11-25 Joseph Myers <joseph@codesourcery.com>
330 * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
331 __THROW vs. __nonnull order for C++.
333 2008-10-15 Daniel Jacobowitz <dan@codesourcery.com>
335 * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
336 * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
337 R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
339 2008-10-01 Mark Shinwell <shinwell@codesourcery.com>
340 Daniel Jacobowitz <dan@codesourcery.com>
341 Richard Sandiford <rdsandiford@googlemail.com>
343 * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
344 * sysdeps/mips/dl-lookup.c: New.
345 * sysdeps/mips/do-lookup.h: New.
346 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
348 (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
350 (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
351 (elf_machine_type_class): Likewise.
352 (ELF_MACHINE_PLT_REL): Define.
353 (elf_machine_fixup_plt): New.
354 (elf_machine_plt_value): New.
355 (elf_machine_reloc): Handle jump slot and copy relocations.
356 (elf_machine_lazy_rel): Point relocation place at PLT if
358 (RESOLVE_GOTSYM): Take a relocation type argument.
359 (elf_machine_got_rel): Bind lazy stubs directly to their target if
360 !lazy. Skip lazy binding for PLT symbols.
361 (elf_machine_runtime_setup): Fill in .got.plt header.
362 * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
363 (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
364 ELF_DL_PLT_RESTORE_ARG_REGS): Define.
365 (_dl_runtime_pltresolve): New.
366 * sysdeps/mips/bits/linkmap.h: New file.
367 * sysdeps/mips/tls-macros.h: Load $gp as required. Merge 32-bit and
370 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
372 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
373 PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
374 (PSEUDO): Use them. Move outside __PIC__.
376 (CENABLE, CDISABLE): Use it.
378 2008-08-19 Joseph Myers <joseph@codesourcery.com>
380 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
383 2008-08-19 Joseph Myers <joseph@codesourcery.com>
385 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
386 SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
387 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
388 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
389 * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
390 * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
391 * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
393 2008-08-19 Joseph Myers <joseph@codesourcery.com>
395 * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
398 2008-07-18 Joseph Myers <joseph@codesourcery.com>
400 * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
403 2008-05-21 Joseph Myers <joseph@codesourcery.com>
405 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
408 2008-05-01 Joseph Myers <joseph@codesourcery.com>
410 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
411 RUSAGE_THREAD and RUSAGE_LWP.
413 2008-04-21 Daniel Jacobowitz <dan@codesourcery.com>
415 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
418 2008-04-21 Khem Raj <kraj@mvista.com>
420 * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
422 2008-04-02 Aurelien Jarno <aurelien@aurel32.net>
424 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
425 truncate and ftruncate systems calls.
426 * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
428 * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
430 2008-03-28 Joseph Myers <joseph@codesourcery.com>
432 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
433 ARG_MAX if <linux/limits.h> has defined it.
435 2008-03-28 Robin Randhawa <robin@mips.com>
437 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
438 barriers to enforce strict ordering on weakly ordered systems.
440 2008-03-26 David Stephenson <david.stephenson@sicortex.com>
441 Daniel Jacobowitz <dan@codesourcery.com>
443 * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
444 * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
445 * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
447 2008-03-09 Andreas Jaeger <aj@suse.de>
450 * sysdeps/mips/ieee754.h: Use protected namespace
451 __BIG_ENDIAN/__LITTLE_ENDIAN.
452 Patch by Aurelien Jarno <aurelien@aurel32.net>.
454 2008-03-04 Daniel Jacobowitz <dan@codesourcery.com>
456 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
457 Reorganize to match other architectures. Replace _timer._timer1
458 and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
459 _timer.si_sigval. Correct the type of _sigpoll.si_band.
460 (si_timerid, si_overrun): Define.
461 (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
462 (__pthread_attr_s): Remove declaration.
463 (struct sigevent): Remove XXX. Add _tid.
465 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
467 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
469 2007-09-25 Joseph Myers <joseph@codesourcery.com>
471 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
472 type and __THROW marker of splice, vmsplice, and tee.
474 2007-09-12 Joseph Myers <joseph@codesourcery.com>
476 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
477 LLL_PRIVATE argument to lll_futex_wake.
478 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
479 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
481 (PF_IUCV, PF_RXRPC): Define.
483 (AF_IUCV, AF_RXRPC): Define.
484 (MSG_CMSG_CLOEXEC): Define.
485 (_EXTERN_INLINE): Define to __extern_inline.
486 * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
488 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
489 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
490 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
491 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
492 lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
493 resp. lll_robust_*. Renamed all LLL_MUTEX_LOCK_* macros to
494 LLL_LOCK_*. Include <kernel-features.h>.
495 (LLL_LOCK_INITIALIZER): Remove duplicate definition.
496 (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
497 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
498 (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
500 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
501 lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
503 (__lll_robust_trylock): Convert to macro.
504 (__lll_robust_lock_wait): Add private argument.
505 (__lll_lock_wait_private, __lll_lock_wait): Declare.
506 (__lll_lock): Convert to macro. Take private argument.
507 (__lll_cond_lock): Likewise.
508 (lll_lock, lll_cond_lock): Take private arguments.
509 (__lll_robust_lock): Take private argument. Convert to macro.
510 (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
511 lll_robust_cond_lock): Take private arguments.
512 (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
514 (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
515 (lll_timedlock, lll_robust_timedlock): Take private arguments.
516 (__lll_unlock, __lll_robust_unlock): Convert to macros. Take
518 (lll_unlock, lll_robust_unlock): Take private arguments.
519 (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
520 lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
521 (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
522 (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
523 __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
524 lll_cond_wake, lll_cond_broadcast): Remove.
525 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
528 2007-08-06 Maciej W. Rozycki <macro@linux-mips.org>
530 * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
531 New macros for the (n)64 and n32 ABIs.
532 (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
534 2007-07-13 Carlos O'Donell <carlos@codesourcery.com>
536 * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
537 Define __WORDSIZE_COMPAT32 as 1.
539 2007-07-13 Joseph Myers <joseph@codesourcery.com>
541 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
542 libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h. Increase
545 2007-07-10 Daniel Jacobowitz <dan@codesourcery.com>
547 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
549 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
552 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com>
554 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
555 (internal_syscall1, internal_syscall2, internal_syscall3,
556 internal_syscall4, internal_syscall5, internal_syscall6): Use it.
558 2007-06-06 Daniel Jacobowitz <dan@codesourcery.com>
560 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
561 THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
562 (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
563 THREAD_GSCOPE_WAIT): Define.
564 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
565 (FUTEX_PRIVATE_FLAG): Define.
566 (lll_unlock_wake_cb): Delete prototype.
567 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
569 (pthread_rwlock_t): Shrink __flags and add __shared.
571 2007-05-24 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
573 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
574 (posix_fadvise): Fix high word of len argument.
576 2007-05-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
578 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
579 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
580 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
581 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
582 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
583 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
585 2007-05-23 Joseph Myers <joseph@codesourcery.com>
587 * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
588 * sysdeps/mips/mips64/n64/Implies: Likewise.
589 * sysdeps/mips/mips64/soft-fp/Makefile: New.
590 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
591 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
592 <fpu_control.h>. Use hardware exception and rounding mode
595 2007-05-23 Richard Sandiford <rsandifo@nildram.co.uk>
597 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
598 r_info argument to ElfW(Addr).
600 2007-02-01 Joseph Myers <joseph@codesourcery.com>
602 * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
604 2007-01-25 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
605 Daniel Jacobowitz <dan@codesourcery.com>
607 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
609 * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
610 sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
611 sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
613 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
615 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
616 PTR_DEMANGLE): Define.
617 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
618 PTR_DEMANGLE): Define.
619 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
620 PTR_DEMANGLE): Define.
622 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
624 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
625 (cfi_same_value): Delete definition.
627 2007-01-08 Richard Sandiford <richard@codesourcery.com>
629 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
630 (elf_machine_reloc): New function, retaining the body of
631 elf_machine_rel. Take the reloc's r_info field as an argument,
632 not the reloc itself. Add extra r_addend and inplace_p arguments.
633 When inplace_p is false, use r_addend as the addend, not the contents
634 of the relocation field. Hoist the conversion of reloc_addr to
635 "ELFW(Addr) *". Don't try to apply TLS relocations against
636 undefined symbols. Add R_MIPS_GLOB_DAT support.
637 (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
638 (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
641 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
643 * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h. Correct
644 multiple inclusion guard.
645 * sysdeps/mips/elf/ldsodefs.h: Delete file.
647 2007-01-04 Thiemo Seufer <ths@networkno.de>
649 * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
652 2006-10-31 Daniel Jacobowitz <dan@codesourcery.com>
654 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
655 (RTLD_SINGLE_THREAD_P): Define.
656 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
658 2006-10-31 Joseph Myers <joseph@codesourcery.com>
660 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
663 2006-09-22 Richard Sandiford <richard@codesourcery.com>
665 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
667 (__xstat_conv): Use memset to clear padding arrays. Check for
669 (__xstat64_conv): Use memset to clear padding arrays.
670 (__xstat32_conv): New function.
671 * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
672 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
674 2006-09-21 Joseph Myers <joseph@codesourcery.com>
676 * sysdeps/mips/fpu_control.h: If soft-float, don't use
677 floating-point registers.
678 * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
679 sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
682 2006-08-04 Joseph Myers <joseph@codesourcery.com>
684 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
685 FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
687 2006-07-24 Joseph Myers <joseph@codesourcery.com>
689 * sysdeps/mips/mips64/n32/libm-test-ulps,
690 sysdeps/mips/mips64/n64/libm-test-ulps: New.
692 2006-07-24 Joseph Myers <joseph@codesourcery.com>
694 * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
695 defined, include the named file.
697 2006-06-08 Daniel Jacobowitz <dan@codesourcery.com>
699 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
700 (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
703 2006-06-02 Joseph Myers <joseph@codesourcery.com>
705 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
706 RLIM64_INFINITY): Define appropriately for N64. Use unsigned
709 2006-06-02 Joseph Myers <joseph@codesourcery.com>
711 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
712 Don't use struct timespec.
713 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
714 __xstat64_conv): Copy individual timespec fields.
716 2006-06-02 Richard Sandiford <richard@codesourcery.com>
718 * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
720 2006-06-02 Joseph Myers <joseph@codesourcery.com>
722 * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
723 * sysdeps/mips/fpu/fesetround.c: Likewise.
725 2006-05-10 Richard Sandiford <richard@codesourcery.com>
726 Daniel Jacobowitz <dan@codesourcery.com>
728 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
729 dump sc_cause, sc_status or sc_badvaddr.
730 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite. Update
731 structure definitions after DSP kernel changes.
732 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
733 after the same DSP changes.
735 2006-05-08 Richard Sandiford <richard@codesourcery.com>
737 * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
738 st_atim, st_mtim and st_ctim interface.
739 (struct stat64): Likewise.
740 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
741 Replace st_atime and its padding field with st_atim. Likewise
742 st_mtime/st_mtim and st_ctime/st_ctim.
743 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
745 (__xstat64_conv): Likewise.
747 2006-05-08 Richard Sandiford <richard@codesourcery.com>
749 * sysdeps/mips/ldsodefs.h: New file.
750 * sysdeps/mips/tst-audit.h: New file.
752 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
754 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
755 for consistency with other ports.
756 (MADV_REMOVE): Correct value.
757 (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
758 POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
759 POSIX_MADV_DONTNEED): Define.
761 2006-05-05 Lior Balkohen <balkohen@gmail.com>
763 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
764 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
765 Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
766 and SYNC_FILE_RANGE_WAIT_AFTER.
767 Declare sync_file_range, vmsplice, splice and tee.
769 2006-03-27 Lior Balkohen <balkohen@gmail.com>
771 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
772 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. Add readahead
775 2006-03-27 Daniel Jacobowitz <dan@codesourcery.com>
777 * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
780 2006-03-27 Denis Barbier <barbier@linuxfr.org>
782 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
785 2006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
787 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
790 2006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
792 * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
793 libc_cv_localedir, libdir, arch_minimum_kernel, and
794 libc_cv_gcc_unwind_find_fde.
795 * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
796 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
797 * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
799 2006-03-02 Lior Balkohen <balkohen@gmail.com>
801 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
802 (__pthread_list_t, __pthread_slist_t): New typedefs.
803 (pthread_mutex_t): Replace __next and __prev fields with __list.
804 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
805 FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
806 (lll_futex_wake_unlock): Define.
807 (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
808 lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
809 lll_robust_mutex_unlock): New macros.
810 (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
811 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
813 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
815 2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
817 * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
818 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
820 2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
822 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
823 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
824 (INTERNAL_SYSCALL_NCS): New.
825 (internal_syscall0, internal_syscall1, internal_syscall2,
826 internal_syscall3, internal_syscall4, internal_syscall5,
827 internal_syscall6): Take ncs_init, cs_init, and input arguments.
828 Use them. Correct types for registers.
829 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
830 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
831 (INTERNAL_SYSCALL_NCS): New.
832 (internal_syscall0, internal_syscall1, internal_syscall2,
833 internal_syscall3, internal_syscall4, internal_syscall5,
834 internal_syscall6): Take ncs_init, cs_init, and input arguments.
836 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
837 recvfrom and sendto. Mark lseek, msgrcv, and msgsnd as cancellation
839 * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
840 Use Elf(Addr) for TLS relocation targets.
841 * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
842 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
843 lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
844 futexp to long for n64.
845 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
847 2006-02-20 Roland McGrath <roland@redhat.com>
849 * sysdeps/mips/shlib-versions: New file.
850 * sysdeps/mips/preconfigure: New file.
851 * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.