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