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