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