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