Fix MIPS bits/stat.h double inclusion problem.
[glibc-ports.git] / ChangeLog.mips
blob5795926d3596ea3502f154806ce5537c93357534
1 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
4         problem.
6 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
8         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
9         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
11 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
13         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
14         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
15         XPG7.
16         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
17         fcntl.h.
19 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
21         [BZ #11093]
22         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
23         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
25 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
27         * sysdeps/mips/dl-lookup.c: Update from generic version.
29 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
31         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
32         O_DSYNC to match 2.6.33+ kernels.
34 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
36         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
37         declare recvmmsg.
39 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
41         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
42         (posix_fadvise): Remove.
43         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
44         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
45         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
47 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
49         * sysdeps/mips/dl-lookup.c: Update from generic version.
51 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
53         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
54         for timestamps also if __USE_XOPEN2K8.
56 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
58         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
59         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
61 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
63         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
64         names of parameters of sync_file_range.
66 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
68         [BZ #10972]
69         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
70         constants from recent kernels.
72 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
74         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
75         not already defined.
77 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
79         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
80         F_GETOWN_EX): Update values.
82 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
84         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
85         of last two arguments when -D_FILE_OFFSET_BITS=64.
87 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
89         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
90         f_owner_ex.
92 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
94         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
95         and F_GETOWN_EX.
97 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
99         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
100         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
101         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
102         (__SYSCALL_CLOBBERS): Likewise.
103         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
104         (__SYSCALL_CLOBBERS): Likewise.
106 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
108         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
109         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
110         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
111         variable for env.  Use expansion of CHECK_SP macro for check.
112         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
114 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
116         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
117         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
119 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
121         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
122         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
124 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
126         * sysdeps/mips/do-lookup.h: Remove.
127         * sysdeps/mips/dl-lookup.c: Update from generic version, with
128         non-PIC handling integrated.
130 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
132         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
133         and AF_IEEE802154.
135 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
137         * sysdeps/mips/____longjmp_chk.c: New file.
138         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
139         undefine __longjmp.
140         * sysdeps/mips64/__longjmp.c: Likewise.
142 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
144         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
145         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
146         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
147         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
149 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
151         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
152         fallocate64@@GLIBC_2.11.
154 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
156         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
157         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
159 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
161         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
162         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
163         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
164         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
165         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
166         Update comment.
167         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
168         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
169         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers): 
170         Add ucontext_i.sym.
172 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
174         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
175         __ASSUME_PWRITEV): Don't define here.
177 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
179         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
181 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
183         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
184         numbers.
185         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
186         Define.
187         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
188         preadv and pwritev.
190 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
192         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
193         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
195 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
197         [BZ #7074]
198         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
199         Fix the condition used to annotate n32 objects.
201 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
203         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
204         Change parameters and use next_line.
206 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
208         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
209         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
210         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
212 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
214         * sysdeps/mips/bits/link.h: Uglify function parameter names.
215         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
216         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
217         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
218         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
220 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
222         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
223         fallocate{,64}.
225 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
227         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
228         UTIME_OMIT only with __USE_ATFILE.
230 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
232         [BZ #7040]
233         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
234         inotify_rm_watch should have type int.
236 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
238         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
240 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
241             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
243         PR glibc/1048
244         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
245         variable page size for MIPS.
246         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
247         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
248         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
250 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
252         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
253         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
254         -D_GNU_SOURCE.
256 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
258         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
259         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
261 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
263         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
264         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
265         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
266         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
268 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
270         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
271         Make available only for __USE_GNU.
273 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
275         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
276         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
278 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
280         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
281         __THROW vs. __nonnull order for C++.
283 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
285         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
286         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
287         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
289 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
290             Daniel Jacobowitz  <dan@codesourcery.com>
291             Richard Sandiford  <rdsandiford@googlemail.com>
293         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
294         * sysdeps/mips/dl-lookup.c: New.
295         * sysdeps/mips/do-lookup.h: New.
296         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
297         definition.
298         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
299         if needed.
300         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
301         (elf_machine_type_class): Likewise.
302         (ELF_MACHINE_PLT_REL): Define.
303         (elf_machine_fixup_plt): New.
304         (elf_machine_plt_value): New.
305         (elf_machine_reloc): Handle jump slot and copy relocations.
306         (elf_machine_lazy_rel): Point relocation place at PLT if
307         required.
308         (RESOLVE_GOTSYM): Take a relocation type argument.
309         (elf_machine_got_rel): Bind lazy stubs directly to their target if
310         !lazy.  Skip lazy binding for PLT symbols.
311         (elf_machine_runtime_setup): Fill in .got.plt header.
312         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
313         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
314         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
315         (_dl_runtime_pltresolve): New.
316         * sysdeps/mips/bits/linkmap.h: New file.
317         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
318         64-bit versions.
320         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
321         Delete definition.
322         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
323         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
324         (PSEUDO): Use them.  Move outside __PIC__.
325         (PSEUDO_JMP): New.
326         (CENABLE, CDISABLE): Use it.
328 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
330         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
331         to epoll_create1.
333 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
335         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
336         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
337         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
338         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
339         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
340         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
341         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
343 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
345         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
346         volatile.
348 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
350         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
351         type.
353 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
355         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
356         (SOCK_DCCP): Define.
358 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
360         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
361         RUSAGE_THREAD and RUSAGE_LWP.
363 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
365         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
366         shmid_ds.
368 2008-04-21  Khem Raj  <kraj@mvista.com>
370         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
372 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
374         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add 
375         truncate and ftruncate systems calls.
376         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
377         empty file.
378         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
380 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
382         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
383         ARG_MAX if <linux/limits.h> has defined it.
385 2008-03-28  Robin Randhawa  <robin@mips.com>
387         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
388         barriers to enforce strict ordering on weakly ordered systems.
390 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
391             Daniel Jacobowitz  <dan@codesourcery.com>
393         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
394         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
395         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
397 2008-03-09  Andreas Jaeger  <aj@suse.de>
399         [BZ #5753]
400         * sysdeps/mips/ieee754.h: Use protected namespace
401         __BIG_ENDIAN/__LITTLE_ENDIAN.
402         Patch by Aurelien Jarno <aurelien@aurel32.net>.
404 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
406         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
407         Reorganize to match other architectures.  Replace _timer._timer1
408         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
409         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
410         (si_timerid, si_overrun): Define.
411         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
412         (__pthread_attr_s): Remove declaration.
413         (struct sigevent): Remove XXX.  Add _tid.
415 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
417         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
419 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
421         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
422         type and __THROW marker of splice, vmsplice, and tee.
424 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
426         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
427         LLL_PRIVATE argument to lll_futex_wake.
428         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
429         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
430         comment.
431         (PF_IUCV, PF_RXRPC): Define.
432         (PF_MAX): Update.
433         (AF_IUCV, AF_RXRPC): Define.
434         (MSG_CMSG_CLOEXEC): Define.
435         (_EXTERN_INLINE): Define to __extern_inline.
436         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
437         UTIME_OMIT): Define.
438         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
439         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
440         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
441         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
442         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
443         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
444         LLL_LOCK_*.  Include <kernel-features.h>.
445         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
446         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
447         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
448         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
449         lll_futex_wait.
450         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
451         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
452         private arguments.
453         (__lll_robust_trylock): Convert to macro.
454         (__lll_robust_lock_wait): Add private argument.
455         (__lll_lock_wait_private, __lll_lock_wait): Declare.
456         (__lll_lock): Convert to macro.  Take private argument.
457         (__lll_cond_lock): Likewise.
458         (lll_lock, lll_cond_lock): Take private arguments.
459         (__lll_robust_lock): Take private argument.  Convert to macro.
460         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
461         lll_robust_cond_lock): Take private arguments.
462         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
463         arguments.
464         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
465         (lll_timedlock, lll_robust_timedlock): Take private arguments.
466         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
467         private arguments.
468         (lll_unlock, lll_robust_unlock): Take private arguments.
469         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
470         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
471         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
472         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
473         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
474         lll_cond_wake, lll_cond_broadcast): Remove.
475         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
476         to __extern_inline.
478 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
480         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
481         New macros for the (n)64 and n32 ABIs.
482         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
484 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
486         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
487         Define __WORDSIZE_COMPAT32 as 1.
489 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
491         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
492         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
493         PTHREAD_STACK_MIN.
495 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
497         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
499         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
500         Delete.
502 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
504         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
505         (internal_syscall1, internal_syscall2, internal_syscall3,
506         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
508 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
510         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
511         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
512         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
513         THREAD_GSCOPE_WAIT): Define.
514         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
515         (FUTEX_PRIVATE_FLAG): Define.
516         (lll_unlock_wake_cb): Delete prototype.
517         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
518         <endian.h>.
519         (pthread_rwlock_t): Shrink __flags and add __shared.
521 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
523         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
524         (posix_fadvise): Fix high word of len argument.
526 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
528         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
529         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
530         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
531         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
532         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
533         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
535 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
537         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
538         * sysdeps/mips/mips64/n64/Implies: Likewise.
539         * sysdeps/mips/mips64/soft-fp/Makefile: New.
540         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
541         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
542         <fpu_control.h>.  Use hardware exception and rounding mode
543         settings.
545 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
547         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
548         r_info argument to ElfW(Addr).
550 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
552         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
554 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
555             Daniel Jacobowitz  <dan@codesourcery.com>
557         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
558         shmctl, and semctl.
559         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
560         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
561         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
563 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
565         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
566         PTR_DEMANGLE): Define.
567         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
568         PTR_DEMANGLE): Define.
569         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
570         PTR_DEMANGLE): Define.
572 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
574         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
575         (cfi_same_value): Delete definition.
577 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
579         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
580         (elf_machine_reloc): New function, retaining the body of
581         elf_machine_rel.  Take the reloc's r_info field as an argument,
582         not the reloc itself.  Add extra r_addend and inplace_p arguments.
583         When inplace_p is false, use r_addend as the addend, not the contents
584         of the relocation field.  Hoist the conversion of reloc_addr to
585         "ELFW(Addr) *".  Don't try to apply TLS relocations against
586         undefined symbols.  Add R_MIPS_GLOB_DAT support.
587         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
588         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
589         to ElfW(Rela).
591 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
593         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
594         multiple inclusion guard.
595         * sysdeps/mips/elf/ldsodefs.h: Delete file.
597 2007-01-04  Thiemo Seufer  <ths@networkno.de>
599         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
600         to match the kernel.
602 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
604         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
605         (RTLD_SINGLE_THREAD_P): Define.
606         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
608 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
610         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
611         prototype.
613 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
615         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
616         code.
617         (__xstat_conv): Use memset to clear padding arrays.  Check for
618         overflow.
619         (__xstat64_conv): Use memset to clear padding arrays.
620         (__xstat32_conv): New function.
621         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
622         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
624 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
626         * sysdeps/mips/fpu_control.h: If soft-float, don't use
627         floating-point registers.
628         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
629         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
630         Likewise.
632 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
634         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
635         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
637 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
639         * sysdeps/mips/mips64/n32/libm-test-ulps,
640         sysdeps/mips/mips64/n64/libm-test-ulps: New.
642 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
644         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
645         defined, include the named file.
647 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
649         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
650         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
651         Define.
653 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
655         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
656         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
657         types.
659 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
661         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
662         Don't use struct timespec.
663         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
664         __xstat64_conv): Copy individual timespec fields.
666 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
668         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
670 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
672         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
673         * sysdeps/mips/fpu/fesetround.c: Likewise.
675 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
676             Daniel Jacobowitz  <dan@codesourcery.com>
678         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
679         dump sc_cause, sc_status or sc_badvaddr.
680         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
681         structure definitions after DSP kernel changes.
682         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
683         after the same DSP changes.
685 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
687         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
688         st_atim, st_mtim and st_ctim interface.
689         (struct stat64): Likewise.
690         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
691         Replace st_atime and its padding field with st_atim.  Likewise
692         st_mtime/st_mtim and st_ctime/st_ctim.
693         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
694         after above changes.
695         (__xstat64_conv): Likewise.
697 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
699         * sysdeps/mips/ldsodefs.h: New file.
700         * sysdeps/mips/tst-audit.h: New file.
702 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
704         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
705         for consistency with other ports.
706         (MADV_REMOVE): Correct value.
707         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
708         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
709         POSIX_MADV_DONTNEED): Define.
711 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
713         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
714         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
715         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
716         and SYNC_FILE_RANGE_WAIT_AFTER.
717         Declare sync_file_range, vmsplice, splice and tee.
719 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
721         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
722         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
723         prototype.
725 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
727         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
728         Define.
730 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
732         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
733         typo.
735 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
737         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
738         i386/fork.c.
740 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
742         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
743         libc_cv_localedir, libdir, arch_minimum_kernel, and
744         libc_cv_gcc_unwind_find_fde.
745         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
746         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
747         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
749 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
751         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
752         (__pthread_list_t, __pthread_slist_t): New typedefs.
753         (pthread_mutex_t): Replace __next and __prev fields with __list.
754         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
755         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
756         (lll_futex_wake_unlock): Define.
757         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
758         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
759         lll_robust_mutex_unlock): New macros.
760         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
761         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
762         vfork.S.
763         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
765 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
767         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
768         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
770 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
772         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
773         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
774         (INTERNAL_SYSCALL_NCS): New.
775         (internal_syscall0, internal_syscall1, internal_syscall2,
776         internal_syscall3, internal_syscall4, internal_syscall5,
777         internal_syscall6): Take ncs_init, cs_init, and input arguments.
778         Use them.  Correct types for registers.
779         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
780         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
781         (INTERNAL_SYSCALL_NCS): New.
782         (internal_syscall0, internal_syscall1, internal_syscall2,
783         internal_syscall3, internal_syscall4, internal_syscall5,
784         internal_syscall6): Take ncs_init, cs_init, and input arguments.
785         Use them.
786         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
787         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
788         points.
789         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
790         Use Elf(Addr) for TLS relocation targets.
791         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
792         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
793         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
794         futexp to long for n64.
795         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
797 2006-02-20  Roland McGrath  <roland@redhat.com>
799         * sysdeps/mips/shlib-versions: New file.
800         * sysdeps/mips/preconfigure: New file.
801         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.