1 2010-03-30 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
6 2010-03-24 Joseph Myers <joseph@codesourcery.com>
8 * sysdeps/mips/dl-lookup.c: Update from generic version.
10 2010-03-23 Mischa Jonker <mischa.jonker@viragelogic.com>
13 * sysdeps/mips/bits/atomic.h
14 (__arch_compare_and_exchange_xxx_32_int,
15 __arch_compare_and_exchange_xxx_64_int,
16 __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
17 __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
18 Specify *mem as asm output as well as input.
20 2010-02-10 Joseph Myers <joseph@codesourcery.com>
22 * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
24 2010-01-28 Joseph Myers <joseph@codesourcery.com>
26 * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
27 _dl_runtime_pltresolve): Calculate offset from start of function
28 to .cpload instead of hardcoding instruction size.
30 2010-01-11 Joseph Myers <joseph@codesourcery.com>
32 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
35 2010-01-11 Joseph Myers <joseph@codesourcery.com>
37 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
38 SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
40 2010-01-10 Joseph Myers <joseph@codesourcery.com>
42 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
43 O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
45 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
48 2009-12-16 Joseph Myers <joseph@codesourcery.com>
51 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
52 POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
54 2009-12-16 Joseph Myers <joseph@codesourcery.com>
56 * sysdeps/mips/dl-lookup.c: Update from generic version.
58 2009-12-15 Joseph Myers <joseph@codesourcery.com>
60 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
61 O_DSYNC to match 2.6.33+ kernels.
63 2009-12-09 Joseph Myers <joseph@codesourcery.com>
65 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
68 2009-12-01 Joseph Myers <joseph@codesourcery.com>
70 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
71 (posix_fadvise): Remove.
72 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
73 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
74 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
76 2009-12-01 Joseph Myers <joseph@codesourcery.com>
78 * sysdeps/mips/dl-lookup.c: Update from generic version.
80 2009-11-23 Joseph Myers <joseph@codesourcery.com>
82 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
83 for timestamps also if __USE_XOPEN2K8.
85 2009-11-19 Joseph Myers <joseph@codesourcery.com>
87 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
88 F_OWNER_PGRP and mark F_OWNER_GID obsolete.
90 2009-11-18 Joseph Myers <joseph@codesourcery.com>
92 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
93 names of parameters of sync_file_range.
95 2009-11-17 Joseph Myers <joseph@codesourcery.com>
98 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
99 constants from recent kernels.
101 2009-11-17 Joseph Myers <joseph@codesourcery.com>
103 * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
106 2009-11-14 Joseph Myers <joseph@codesourcery.com>
108 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
109 F_GETOWN_EX): Update values.
111 2009-11-06 Joseph Myers <joseph@codesourcery.com>
113 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
114 of last two arguments when -D_FILE_OFFSET_BITS=64.
116 2009-10-29 Joseph Myers <joseph@codesourcery.com>
118 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
121 2009-10-03 Joseph Myers <joseph@codesourcery.com>
123 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
126 2009-09-25 Daniel Jacobowitz <dan@codesourcery.com>
128 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
129 (__SYSCALL_CLOBBERS): Add "hi" and "lo".
130 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
131 (__SYSCALL_CLOBBERS): Likewise.
132 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
133 (__SYSCALL_CLOBBERS): Likewise.
135 2009-08-05 Joseph Myers <joseph@codesourcery.com>
137 * sysdeps/mips/____longjmp_chk.c: Remove. Replaced by....
138 * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This. New file.
139 * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
140 variable for env. Use expansion of CHECK_SP macro for check.
141 * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
143 2009-08-03 Joseph Myers <joseph@codesourcery.com>
145 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
146 sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
148 2009-07-20 Aurelien Jarno <aurelien@aurel32.net>
150 * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
151 __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
153 2009-07-17 Joseph Myers <joseph@codesourcery.com>
155 * sysdeps/mips/do-lookup.h: Remove.
156 * sysdeps/mips/dl-lookup.c: Update from generic version, with
157 non-PIC handling integrated.
159 2009-06-18 Joseph Myers <joseph@codesourcery.com>
161 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
164 2009-05-16 Joseph Myers <joseph@codesourcery.com>
166 * sysdeps/mips/____longjmp_chk.c: New file.
167 * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it. Don't
169 * sysdeps/mips64/__longjmp.c: Likewise.
171 2009-05-16 Joseph Myers <joseph@codesourcery.com>
173 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
174 sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
175 sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
176 sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
178 2009-05-16 Joseph Myers <joseph@codesourcery.com>
180 * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
181 fallocate64@@GLIBC_2.11.
183 2009-05-14 Joseph Myers <joseph@codesourcery.com>
185 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
186 sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
188 2009-04-18 Maciej W. Rozycki <macro@codesourcery.com>
190 * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
191 * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
192 * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
193 * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
194 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
196 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
197 * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
198 * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
201 2009-04-18 Joseph Myers <joseph@codesourcery.com>
203 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
204 __ASSUME_PWRITEV): Don't define here.
206 2009-04-15 Maciej W. Rozycki <macro@codesourcery.com>
208 * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
210 2009-04-09 Joseph Myers <joseph@codesourcery.com>
212 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
214 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
216 * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
219 2009-03-18 Maciej W. Rozycki <macro@codesourcery.com>
221 * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
222 Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
224 2009-03-18 Zhang Le <r0bertz@gentoo.org>
227 * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
228 Fix the condition used to annotate n32 objects.
230 2009-03-17 Joseph Myers <joseph@codesourcery.com>
232 * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
233 Change parameters and use next_line.
235 2009-03-17 Joseph Myers <joseph@codesourcery.com>
237 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
238 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
239 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
241 2009-03-15 Joseph Myers <joseph@codesourcery.com>
243 * sysdeps/mips/bits/link.h: Uglify function parameter names.
244 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
245 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
246 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
247 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
249 2009-03-03 Joseph Myers <joseph@codesourcery.com>
251 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
254 2009-02-26 Joseph Myers <joseph@codesourcery.com>
256 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
257 UTIME_OMIT only with __USE_ATFILE.
259 2009-02-13 Joseph Myers <joseph@codesourcery.com>
262 * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
263 inotify_rm_watch should have type int.
265 2009-02-02 Joseph Myers <joseph@codesourcery.com>
267 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
269 2009-01-27 Maciej W. Rozycki <macro@linux-mips.org>
270 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
273 * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
274 variable page size for MIPS.
275 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
276 * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
277 * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
279 2009-01-12 Joseph Myers <joseph@codesourcery.com>
281 * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
282 __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
285 2009-01-12 Joseph Myers <joseph@codesourcery.com>
287 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
288 FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
290 2008-12-19 Joseph Myers <joseph@codesourcery.com>
292 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
293 sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
294 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
295 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
297 2008-12-09 Joseph Myers <joseph@codesourcery.com>
299 * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
300 Make available only for __USE_GNU.
302 2008-12-03 Joseph Myers <joseph@codesourcery.com>
304 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
305 FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
307 2008-11-25 Joseph Myers <joseph@codesourcery.com>
309 * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
310 __THROW vs. __nonnull order for C++.
312 2008-10-15 Daniel Jacobowitz <dan@codesourcery.com>
314 * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
315 * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
316 R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
318 2008-10-01 Mark Shinwell <shinwell@codesourcery.com>
319 Daniel Jacobowitz <dan@codesourcery.com>
320 Richard Sandiford <rdsandiford@googlemail.com>
322 * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
323 * sysdeps/mips/dl-lookup.c: New.
324 * sysdeps/mips/do-lookup.h: New.
325 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
327 (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
329 (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
330 (elf_machine_type_class): Likewise.
331 (ELF_MACHINE_PLT_REL): Define.
332 (elf_machine_fixup_plt): New.
333 (elf_machine_plt_value): New.
334 (elf_machine_reloc): Handle jump slot and copy relocations.
335 (elf_machine_lazy_rel): Point relocation place at PLT if
337 (RESOLVE_GOTSYM): Take a relocation type argument.
338 (elf_machine_got_rel): Bind lazy stubs directly to their target if
339 !lazy. Skip lazy binding for PLT symbols.
340 (elf_machine_runtime_setup): Fill in .got.plt header.
341 * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
342 (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
343 ELF_DL_PLT_RESTORE_ARG_REGS): Define.
344 (_dl_runtime_pltresolve): New.
345 * sysdeps/mips/bits/linkmap.h: New file.
346 * sysdeps/mips/tls-macros.h: Load $gp as required. Merge 32-bit and
349 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
351 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
352 PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
353 (PSEUDO): Use them. Move outside __PIC__.
355 (CENABLE, CDISABLE): Use it.
357 2008-08-19 Joseph Myers <joseph@codesourcery.com>
359 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
362 2008-08-19 Joseph Myers <joseph@codesourcery.com>
364 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
365 SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
366 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
367 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
368 * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
369 * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
370 * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
372 2008-08-19 Joseph Myers <joseph@codesourcery.com>
374 * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
377 2008-07-18 Joseph Myers <joseph@codesourcery.com>
379 * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
382 2008-05-21 Joseph Myers <joseph@codesourcery.com>
384 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
387 2008-05-01 Joseph Myers <joseph@codesourcery.com>
389 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
390 RUSAGE_THREAD and RUSAGE_LWP.
392 2008-04-21 Daniel Jacobowitz <dan@codesourcery.com>
394 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
397 2008-04-21 Khem Raj <kraj@mvista.com>
399 * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
401 2008-04-02 Aurelien Jarno <aurelien@aurel32.net>
403 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
404 truncate and ftruncate systems calls.
405 * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
407 * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
409 2008-03-28 Joseph Myers <joseph@codesourcery.com>
411 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
412 ARG_MAX if <linux/limits.h> has defined it.
414 2008-03-28 Robin Randhawa <robin@mips.com>
416 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
417 barriers to enforce strict ordering on weakly ordered systems.
419 2008-03-26 David Stephenson <david.stephenson@sicortex.com>
420 Daniel Jacobowitz <dan@codesourcery.com>
422 * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
423 * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
424 * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
426 2008-03-09 Andreas Jaeger <aj@suse.de>
429 * sysdeps/mips/ieee754.h: Use protected namespace
430 __BIG_ENDIAN/__LITTLE_ENDIAN.
431 Patch by Aurelien Jarno <aurelien@aurel32.net>.
433 2008-03-04 Daniel Jacobowitz <dan@codesourcery.com>
435 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
436 Reorganize to match other architectures. Replace _timer._timer1
437 and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
438 _timer.si_sigval. Correct the type of _sigpoll.si_band.
439 (si_timerid, si_overrun): Define.
440 (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
441 (__pthread_attr_s): Remove declaration.
442 (struct sigevent): Remove XXX. Add _tid.
444 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
446 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
448 2007-09-25 Joseph Myers <joseph@codesourcery.com>
450 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
451 type and __THROW marker of splice, vmsplice, and tee.
453 2007-09-12 Joseph Myers <joseph@codesourcery.com>
455 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
456 LLL_PRIVATE argument to lll_futex_wake.
457 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
458 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
460 (PF_IUCV, PF_RXRPC): Define.
462 (AF_IUCV, AF_RXRPC): Define.
463 (MSG_CMSG_CLOEXEC): Define.
464 (_EXTERN_INLINE): Define to __extern_inline.
465 * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
467 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
468 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
469 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
470 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
471 lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
472 resp. lll_robust_*. Renamed all LLL_MUTEX_LOCK_* macros to
473 LLL_LOCK_*. Include <kernel-features.h>.
474 (LLL_LOCK_INITIALIZER): Remove duplicate definition.
475 (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
476 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
477 (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
479 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
480 lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
482 (__lll_robust_trylock): Convert to macro.
483 (__lll_robust_lock_wait): Add private argument.
484 (__lll_lock_wait_private, __lll_lock_wait): Declare.
485 (__lll_lock): Convert to macro. Take private argument.
486 (__lll_cond_lock): Likewise.
487 (lll_lock, lll_cond_lock): Take private arguments.
488 (__lll_robust_lock): Take private argument. Convert to macro.
489 (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
490 lll_robust_cond_lock): Take private arguments.
491 (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
493 (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
494 (lll_timedlock, lll_robust_timedlock): Take private arguments.
495 (__lll_unlock, __lll_robust_unlock): Convert to macros. Take
497 (lll_unlock, lll_robust_unlock): Take private arguments.
498 (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
499 lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
500 (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
501 (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
502 __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
503 lll_cond_wake, lll_cond_broadcast): Remove.
504 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
507 2007-08-06 Maciej W. Rozycki <macro@linux-mips.org>
509 * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
510 New macros for the (n)64 and n32 ABIs.
511 (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
513 2007-07-13 Carlos O'Donell <carlos@codesourcery.com>
515 * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
516 Define __WORDSIZE_COMPAT32 as 1.
518 2007-07-13 Joseph Myers <joseph@codesourcery.com>
520 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
521 libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h. Increase
524 2007-07-10 Daniel Jacobowitz <dan@codesourcery.com>
526 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
528 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
531 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com>
533 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
534 (internal_syscall1, internal_syscall2, internal_syscall3,
535 internal_syscall4, internal_syscall5, internal_syscall6): Use it.
537 2007-06-06 Daniel Jacobowitz <dan@codesourcery.com>
539 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
540 THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
541 (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
542 THREAD_GSCOPE_WAIT): Define.
543 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
544 (FUTEX_PRIVATE_FLAG): Define.
545 (lll_unlock_wake_cb): Delete prototype.
546 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
548 (pthread_rwlock_t): Shrink __flags and add __shared.
550 2007-05-24 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
552 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
553 (posix_fadvise): Fix high word of len argument.
555 2007-05-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
557 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
558 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
559 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
560 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
561 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
562 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
564 2007-05-23 Joseph Myers <joseph@codesourcery.com>
566 * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
567 * sysdeps/mips/mips64/n64/Implies: Likewise.
568 * sysdeps/mips/mips64/soft-fp/Makefile: New.
569 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
570 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
571 <fpu_control.h>. Use hardware exception and rounding mode
574 2007-05-23 Richard Sandiford <rsandifo@nildram.co.uk>
576 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
577 r_info argument to ElfW(Addr).
579 2007-02-01 Joseph Myers <joseph@codesourcery.com>
581 * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
583 2007-01-25 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
584 Daniel Jacobowitz <dan@codesourcery.com>
586 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
588 * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
589 sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
590 sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
592 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
594 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
595 PTR_DEMANGLE): Define.
596 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
597 PTR_DEMANGLE): Define.
598 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
599 PTR_DEMANGLE): Define.
601 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
603 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
604 (cfi_same_value): Delete definition.
606 2007-01-08 Richard Sandiford <richard@codesourcery.com>
608 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
609 (elf_machine_reloc): New function, retaining the body of
610 elf_machine_rel. Take the reloc's r_info field as an argument,
611 not the reloc itself. Add extra r_addend and inplace_p arguments.
612 When inplace_p is false, use r_addend as the addend, not the contents
613 of the relocation field. Hoist the conversion of reloc_addr to
614 "ELFW(Addr) *". Don't try to apply TLS relocations against
615 undefined symbols. Add R_MIPS_GLOB_DAT support.
616 (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
617 (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
620 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
622 * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h. Correct
623 multiple inclusion guard.
624 * sysdeps/mips/elf/ldsodefs.h: Delete file.
626 2007-01-04 Thiemo Seufer <ths@networkno.de>
628 * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
631 2006-10-31 Daniel Jacobowitz <dan@codesourcery.com>
633 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
634 (RTLD_SINGLE_THREAD_P): Define.
635 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
637 2006-10-31 Joseph Myers <joseph@codesourcery.com>
639 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
642 2006-09-22 Richard Sandiford <richard@codesourcery.com>
644 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
646 (__xstat_conv): Use memset to clear padding arrays. Check for
648 (__xstat64_conv): Use memset to clear padding arrays.
649 (__xstat32_conv): New function.
650 * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
651 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
653 2006-09-21 Joseph Myers <joseph@codesourcery.com>
655 * sysdeps/mips/fpu_control.h: If soft-float, don't use
656 floating-point registers.
657 * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
658 sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
661 2006-08-04 Joseph Myers <joseph@codesourcery.com>
663 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
664 FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
666 2006-07-24 Joseph Myers <joseph@codesourcery.com>
668 * sysdeps/mips/mips64/n32/libm-test-ulps,
669 sysdeps/mips/mips64/n64/libm-test-ulps: New.
671 2006-07-24 Joseph Myers <joseph@codesourcery.com>
673 * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
674 defined, include the named file.
676 2006-06-08 Daniel Jacobowitz <dan@codesourcery.com>
678 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
679 (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
682 2006-06-02 Joseph Myers <joseph@codesourcery.com>
684 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
685 RLIM64_INFINITY): Define appropriately for N64. Use unsigned
688 2006-06-02 Joseph Myers <joseph@codesourcery.com>
690 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
691 Don't use struct timespec.
692 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
693 __xstat64_conv): Copy individual timespec fields.
695 2006-06-02 Richard Sandiford <richard@codesourcery.com>
697 * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
699 2006-06-02 Joseph Myers <joseph@codesourcery.com>
701 * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
702 * sysdeps/mips/fpu/fesetround.c: Likewise.
704 2006-05-10 Richard Sandiford <richard@codesourcery.com>
705 Daniel Jacobowitz <dan@codesourcery.com>
707 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
708 dump sc_cause, sc_status or sc_badvaddr.
709 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite. Update
710 structure definitions after DSP kernel changes.
711 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
712 after the same DSP changes.
714 2006-05-08 Richard Sandiford <richard@codesourcery.com>
716 * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
717 st_atim, st_mtim and st_ctim interface.
718 (struct stat64): Likewise.
719 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
720 Replace st_atime and its padding field with st_atim. Likewise
721 st_mtime/st_mtim and st_ctime/st_ctim.
722 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
724 (__xstat64_conv): Likewise.
726 2006-05-08 Richard Sandiford <richard@codesourcery.com>
728 * sysdeps/mips/ldsodefs.h: New file.
729 * sysdeps/mips/tst-audit.h: New file.
731 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
733 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
734 for consistency with other ports.
735 (MADV_REMOVE): Correct value.
736 (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
737 POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
738 POSIX_MADV_DONTNEED): Define.
740 2006-05-05 Lior Balkohen <balkohen@gmail.com>
742 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
743 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
744 Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
745 and SYNC_FILE_RANGE_WAIT_AFTER.
746 Declare sync_file_range, vmsplice, splice and tee.
748 2006-03-27 Lior Balkohen <balkohen@gmail.com>
750 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
751 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. Add readahead
754 2006-03-27 Daniel Jacobowitz <dan@codesourcery.com>
756 * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
759 2006-03-27 Denis Barbier <barbier@linuxfr.org>
761 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
764 2006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
766 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
769 2006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
771 * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
772 libc_cv_localedir, libdir, arch_minimum_kernel, and
773 libc_cv_gcc_unwind_find_fde.
774 * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
775 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
776 * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
778 2006-03-02 Lior Balkohen <balkohen@gmail.com>
780 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
781 (__pthread_list_t, __pthread_slist_t): New typedefs.
782 (pthread_mutex_t): Replace __next and __prev fields with __list.
783 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
784 FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
785 (lll_futex_wake_unlock): Define.
786 (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
787 lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
788 lll_robust_mutex_unlock): New macros.
789 (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
790 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
792 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
794 2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
796 * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
797 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
799 2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
801 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
802 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
803 (INTERNAL_SYSCALL_NCS): New.
804 (internal_syscall0, internal_syscall1, internal_syscall2,
805 internal_syscall3, internal_syscall4, internal_syscall5,
806 internal_syscall6): Take ncs_init, cs_init, and input arguments.
807 Use them. Correct types for registers.
808 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
809 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
810 (INTERNAL_SYSCALL_NCS): New.
811 (internal_syscall0, internal_syscall1, internal_syscall2,
812 internal_syscall3, internal_syscall4, internal_syscall5,
813 internal_syscall6): Take ncs_init, cs_init, and input arguments.
815 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
816 recvfrom and sendto. Mark lseek, msgrcv, and msgsnd as cancellation
818 * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
819 Use Elf(Addr) for TLS relocation targets.
820 * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
821 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
822 lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
823 futexp to long for n64.
824 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
826 2006-02-20 Roland McGrath <roland@redhat.com>
828 * sysdeps/mips/shlib-versions: New file.
829 * sysdeps/mips/preconfigure: New file.
830 * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.