Fix SOCK_CLOEXEC for accept4
[glibc.git] / ChangeLog.mips
blob6d47986f68939e3b081f11fd718a15d1be7e4850
1 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
4         _dl_runtime_pltresolve): Calculate offset from start of function
5         to .cpload instead of hardcoding instruction size.
7 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
9         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
10         problem.
12 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
14         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
15         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
17 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
19         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
20         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
21         XPG7.
22         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
23         fcntl.h.
25 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
27         [BZ #11093]
28         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
29         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
31 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
33         * sysdeps/mips/dl-lookup.c: Update from generic version.
35 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
37         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
38         O_DSYNC to match 2.6.33+ kernels.
40 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
42         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
43         declare recvmmsg.
45 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
47         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
48         (posix_fadvise): Remove.
49         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
50         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
51         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
53 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
55         * sysdeps/mips/dl-lookup.c: Update from generic version.
57 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
59         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
60         for timestamps also if __USE_XOPEN2K8.
62 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
64         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
65         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
67 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
69         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
70         names of parameters of sync_file_range.
72 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
74         [BZ #10972]
75         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
76         constants from recent kernels.
78 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
80         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
81         not already defined.
83 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
85         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
86         F_GETOWN_EX): Update values.
88 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
90         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
91         of last two arguments when -D_FILE_OFFSET_BITS=64.
93 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
95         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
96         f_owner_ex.
98 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
100         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
101         and F_GETOWN_EX.
103 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
105         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
106         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
107         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
108         (__SYSCALL_CLOBBERS): Likewise.
109         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
110         (__SYSCALL_CLOBBERS): Likewise.
112 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
114         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
115         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
116         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
117         variable for env.  Use expansion of CHECK_SP macro for check.
118         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
120 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
122         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
123         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
125 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
127         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
128         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
130 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
132         * sysdeps/mips/do-lookup.h: Remove.
133         * sysdeps/mips/dl-lookup.c: Update from generic version, with
134         non-PIC handling integrated.
136 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
138         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
139         and AF_IEEE802154.
141 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
143         * sysdeps/mips/____longjmp_chk.c: New file.
144         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
145         undefine __longjmp.
146         * sysdeps/mips64/__longjmp.c: Likewise.
148 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
150         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
151         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
152         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
153         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
155 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
157         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
158         fallocate64@@GLIBC_2.11.
160 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
162         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
163         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
165 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
167         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
168         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
169         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
170         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
171         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
172         Update comment.
173         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
174         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
175         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers): 
176         Add ucontext_i.sym.
178 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
180         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
181         __ASSUME_PWRITEV): Don't define here.
183 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
185         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
187 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
189         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
190         numbers.
191         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
192         Define.
193         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
194         preadv and pwritev.
196 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
198         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
199         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
201 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
203         [BZ #7074]
204         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
205         Fix the condition used to annotate n32 objects.
207 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
209         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
210         Change parameters and use next_line.
212 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
214         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
215         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
216         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
218 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
220         * sysdeps/mips/bits/link.h: Uglify function parameter names.
221         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
222         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
223         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
224         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
226 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
228         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
229         fallocate{,64}.
231 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
233         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
234         UTIME_OMIT only with __USE_ATFILE.
236 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
238         [BZ #7040]
239         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
240         inotify_rm_watch should have type int.
242 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
244         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
246 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
247             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
249         PR glibc/1048
250         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
251         variable page size for MIPS.
252         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
253         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
254         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
256 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
258         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
259         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
260         -D_GNU_SOURCE.
262 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
264         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
265         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
267 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
269         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
270         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
271         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
272         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
274 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
276         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
277         Make available only for __USE_GNU.
279 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
281         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
282         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
284 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
286         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
287         __THROW vs. __nonnull order for C++.
289 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
291         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
292         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
293         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
295 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
296             Daniel Jacobowitz  <dan@codesourcery.com>
297             Richard Sandiford  <rdsandiford@googlemail.com>
299         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
300         * sysdeps/mips/dl-lookup.c: New.
301         * sysdeps/mips/do-lookup.h: New.
302         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
303         definition.
304         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
305         if needed.
306         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
307         (elf_machine_type_class): Likewise.
308         (ELF_MACHINE_PLT_REL): Define.
309         (elf_machine_fixup_plt): New.
310         (elf_machine_plt_value): New.
311         (elf_machine_reloc): Handle jump slot and copy relocations.
312         (elf_machine_lazy_rel): Point relocation place at PLT if
313         required.
314         (RESOLVE_GOTSYM): Take a relocation type argument.
315         (elf_machine_got_rel): Bind lazy stubs directly to their target if
316         !lazy.  Skip lazy binding for PLT symbols.
317         (elf_machine_runtime_setup): Fill in .got.plt header.
318         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
319         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
320         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
321         (_dl_runtime_pltresolve): New.
322         * sysdeps/mips/bits/linkmap.h: New file.
323         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
324         64-bit versions.
326         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
327         Delete definition.
328         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
329         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
330         (PSEUDO): Use them.  Move outside __PIC__.
331         (PSEUDO_JMP): New.
332         (CENABLE, CDISABLE): Use it.
334 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
336         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
337         to epoll_create1.
339 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
341         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
342         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
343         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
344         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
345         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
346         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
347         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
349 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
351         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
352         volatile.
354 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
356         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
357         type.
359 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
361         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
362         (SOCK_DCCP): Define.
364 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
366         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
367         RUSAGE_THREAD and RUSAGE_LWP.
369 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
371         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
372         shmid_ds.
374 2008-04-21  Khem Raj  <kraj@mvista.com>
376         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
378 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
380         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add 
381         truncate and ftruncate systems calls.
382         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
383         empty file.
384         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
386 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
388         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
389         ARG_MAX if <linux/limits.h> has defined it.
391 2008-03-28  Robin Randhawa  <robin@mips.com>
393         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
394         barriers to enforce strict ordering on weakly ordered systems.
396 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
397             Daniel Jacobowitz  <dan@codesourcery.com>
399         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
400         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
401         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
403 2008-03-09  Andreas Jaeger  <aj@suse.de>
405         [BZ #5753]
406         * sysdeps/mips/ieee754.h: Use protected namespace
407         __BIG_ENDIAN/__LITTLE_ENDIAN.
408         Patch by Aurelien Jarno <aurelien@aurel32.net>.
410 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
412         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
413         Reorganize to match other architectures.  Replace _timer._timer1
414         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
415         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
416         (si_timerid, si_overrun): Define.
417         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
418         (__pthread_attr_s): Remove declaration.
419         (struct sigevent): Remove XXX.  Add _tid.
421 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
423         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
425 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
427         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
428         type and __THROW marker of splice, vmsplice, and tee.
430 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
432         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
433         LLL_PRIVATE argument to lll_futex_wake.
434         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
435         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
436         comment.
437         (PF_IUCV, PF_RXRPC): Define.
438         (PF_MAX): Update.
439         (AF_IUCV, AF_RXRPC): Define.
440         (MSG_CMSG_CLOEXEC): Define.
441         (_EXTERN_INLINE): Define to __extern_inline.
442         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
443         UTIME_OMIT): Define.
444         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
445         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
446         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
447         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
448         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
449         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
450         LLL_LOCK_*.  Include <kernel-features.h>.
451         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
452         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
453         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
454         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
455         lll_futex_wait.
456         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
457         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
458         private arguments.
459         (__lll_robust_trylock): Convert to macro.
460         (__lll_robust_lock_wait): Add private argument.
461         (__lll_lock_wait_private, __lll_lock_wait): Declare.
462         (__lll_lock): Convert to macro.  Take private argument.
463         (__lll_cond_lock): Likewise.
464         (lll_lock, lll_cond_lock): Take private arguments.
465         (__lll_robust_lock): Take private argument.  Convert to macro.
466         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
467         lll_robust_cond_lock): Take private arguments.
468         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
469         arguments.
470         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
471         (lll_timedlock, lll_robust_timedlock): Take private arguments.
472         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
473         private arguments.
474         (lll_unlock, lll_robust_unlock): Take private arguments.
475         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
476         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
477         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
478         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
479         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
480         lll_cond_wake, lll_cond_broadcast): Remove.
481         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
482         to __extern_inline.
484 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
486         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
487         New macros for the (n)64 and n32 ABIs.
488         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
490 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
492         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
493         Define __WORDSIZE_COMPAT32 as 1.
495 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
497         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
498         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
499         PTHREAD_STACK_MIN.
501 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
503         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
505         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
506         Delete.
508 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
510         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
511         (internal_syscall1, internal_syscall2, internal_syscall3,
512         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
514 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
516         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
517         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
518         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
519         THREAD_GSCOPE_WAIT): Define.
520         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
521         (FUTEX_PRIVATE_FLAG): Define.
522         (lll_unlock_wake_cb): Delete prototype.
523         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
524         <endian.h>.
525         (pthread_rwlock_t): Shrink __flags and add __shared.
527 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
529         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
530         (posix_fadvise): Fix high word of len argument.
532 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
534         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
535         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
536         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
537         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
538         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
539         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
541 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
543         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
544         * sysdeps/mips/mips64/n64/Implies: Likewise.
545         * sysdeps/mips/mips64/soft-fp/Makefile: New.
546         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
547         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
548         <fpu_control.h>.  Use hardware exception and rounding mode
549         settings.
551 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
553         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
554         r_info argument to ElfW(Addr).
556 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
558         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
560 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
561             Daniel Jacobowitz  <dan@codesourcery.com>
563         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
564         shmctl, and semctl.
565         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
566         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
567         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
569 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
571         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
572         PTR_DEMANGLE): Define.
573         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
574         PTR_DEMANGLE): Define.
575         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
576         PTR_DEMANGLE): Define.
578 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
580         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
581         (cfi_same_value): Delete definition.
583 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
585         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
586         (elf_machine_reloc): New function, retaining the body of
587         elf_machine_rel.  Take the reloc's r_info field as an argument,
588         not the reloc itself.  Add extra r_addend and inplace_p arguments.
589         When inplace_p is false, use r_addend as the addend, not the contents
590         of the relocation field.  Hoist the conversion of reloc_addr to
591         "ELFW(Addr) *".  Don't try to apply TLS relocations against
592         undefined symbols.  Add R_MIPS_GLOB_DAT support.
593         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
594         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
595         to ElfW(Rela).
597 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
599         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
600         multiple inclusion guard.
601         * sysdeps/mips/elf/ldsodefs.h: Delete file.
603 2007-01-04  Thiemo Seufer  <ths@networkno.de>
605         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
606         to match the kernel.
608 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
610         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
611         (RTLD_SINGLE_THREAD_P): Define.
612         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
614 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
616         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
617         prototype.
619 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
621         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
622         code.
623         (__xstat_conv): Use memset to clear padding arrays.  Check for
624         overflow.
625         (__xstat64_conv): Use memset to clear padding arrays.
626         (__xstat32_conv): New function.
627         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
628         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
630 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
632         * sysdeps/mips/fpu_control.h: If soft-float, don't use
633         floating-point registers.
634         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
635         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
636         Likewise.
638 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
640         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
641         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
643 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
645         * sysdeps/mips/mips64/n32/libm-test-ulps,
646         sysdeps/mips/mips64/n64/libm-test-ulps: New.
648 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
650         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
651         defined, include the named file.
653 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
655         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
656         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
657         Define.
659 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
661         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
662         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
663         types.
665 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
667         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
668         Don't use struct timespec.
669         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
670         __xstat64_conv): Copy individual timespec fields.
672 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
674         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
676 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
678         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
679         * sysdeps/mips/fpu/fesetround.c: Likewise.
681 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
682             Daniel Jacobowitz  <dan@codesourcery.com>
684         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
685         dump sc_cause, sc_status or sc_badvaddr.
686         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
687         structure definitions after DSP kernel changes.
688         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
689         after the same DSP changes.
691 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
693         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
694         st_atim, st_mtim and st_ctim interface.
695         (struct stat64): Likewise.
696         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
697         Replace st_atime and its padding field with st_atim.  Likewise
698         st_mtime/st_mtim and st_ctime/st_ctim.
699         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
700         after above changes.
701         (__xstat64_conv): Likewise.
703 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
705         * sysdeps/mips/ldsodefs.h: New file.
706         * sysdeps/mips/tst-audit.h: New file.
708 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
710         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
711         for consistency with other ports.
712         (MADV_REMOVE): Correct value.
713         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
714         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
715         POSIX_MADV_DONTNEED): Define.
717 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
719         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
720         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
721         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
722         and SYNC_FILE_RANGE_WAIT_AFTER.
723         Declare sync_file_range, vmsplice, splice and tee.
725 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
727         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
728         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
729         prototype.
731 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
733         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
734         Define.
736 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
738         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
739         typo.
741 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
743         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
744         i386/fork.c.
746 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
748         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
749         libc_cv_localedir, libdir, arch_minimum_kernel, and
750         libc_cv_gcc_unwind_find_fde.
751         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
752         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
753         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
755 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
757         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
758         (__pthread_list_t, __pthread_slist_t): New typedefs.
759         (pthread_mutex_t): Replace __next and __prev fields with __list.
760         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
761         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
762         (lll_futex_wake_unlock): Define.
763         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
764         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
765         lll_robust_mutex_unlock): New macros.
766         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
767         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
768         vfork.S.
769         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
771 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
773         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
774         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
776 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
778         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
779         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
780         (INTERNAL_SYSCALL_NCS): New.
781         (internal_syscall0, internal_syscall1, internal_syscall2,
782         internal_syscall3, internal_syscall4, internal_syscall5,
783         internal_syscall6): Take ncs_init, cs_init, and input arguments.
784         Use them.  Correct types for registers.
785         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
786         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
787         (INTERNAL_SYSCALL_NCS): New.
788         (internal_syscall0, internal_syscall1, internal_syscall2,
789         internal_syscall3, internal_syscall4, internal_syscall5,
790         internal_syscall6): Take ncs_init, cs_init, and input arguments.
791         Use them.
792         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
793         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
794         points.
795         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
796         Use Elf(Addr) for TLS relocation targets.
797         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
798         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
799         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
800         futexp to long for n64.
801         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
803 2006-02-20  Roland McGrath  <roland@redhat.com>
805         * sysdeps/mips/shlib-versions: New file.
806         * sysdeps/mips/preconfigure: New file.
807         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.