m68k: Add prlimit64, fanotify_init, fanotify_mask syscalls
[glibc.git] / ChangeLog.mips
blob3d0b975b72720ee5fb25038af5b25af7aa25e586
1 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4         (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
6 2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
8         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
9         jump delay slot.
10         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
12 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
14         * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
16 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
18         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
19         struct statfs64): Add f_flags field.
21 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
23         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
24         Define.
26 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
28         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
29         and prlimit64.
30         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
31         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
32         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
33         prlimit64 syscall.
35 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
37         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
38         F_GETPIPE_SZ): Define.
40 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
42         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
43         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
45 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
47         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
49 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
51         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
52         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
53         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
54         Define.
56 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
58         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
59         MSG_WAITFORONE.
61 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
63         * sysdeps/mips/dl-lookup.c: Update from generic version.
65 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
67         [BZ #11291]
68         * sysdeps/mips/bits/atomic.h
69         (__arch_compare_and_exchange_xxx_32_int,
70         __arch_compare_and_exchange_xxx_64_int,
71         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
72         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
73         Specify *mem as asm output as well as input.
75 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
77         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
79 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
81         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
82         _dl_runtime_pltresolve): Calculate offset from start of function
83         to .cpload instead of hardcoding instruction size.
85 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
87         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
88         problem.
90 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
92         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
93         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
95 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
97         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
98         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
99         XPG7.
100         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
101         fcntl.h.
103 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
105         [BZ #11093]
106         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
107         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
109 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
111         * sysdeps/mips/dl-lookup.c: Update from generic version.
113 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
115         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
116         O_DSYNC to match 2.6.33+ kernels.
118 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
120         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
121         declare recvmmsg.
123 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
125         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
126         (posix_fadvise): Remove.
127         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
128         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
129         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
131 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
133         * sysdeps/mips/dl-lookup.c: Update from generic version.
135 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
137         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
138         for timestamps also if __USE_XOPEN2K8.
140 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
142         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
143         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
145 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
147         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
148         names of parameters of sync_file_range.
150 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
152         [BZ #10972]
153         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
154         constants from recent kernels.
156 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
158         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
159         not already defined.
161 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
163         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
164         F_GETOWN_EX): Update values.
166 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
168         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
169         of last two arguments when -D_FILE_OFFSET_BITS=64.
171 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
173         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
174         f_owner_ex.
176 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
178         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
179         and F_GETOWN_EX.
181 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
183         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
184         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
185         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
186         (__SYSCALL_CLOBBERS): Likewise.
187         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
188         (__SYSCALL_CLOBBERS): Likewise.
190 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
192         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
193         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
194         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
195         variable for env.  Use expansion of CHECK_SP macro for check.
196         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
198 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
200         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
201         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
203 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
205         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
206         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
208 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
210         * sysdeps/mips/do-lookup.h: Remove.
211         * sysdeps/mips/dl-lookup.c: Update from generic version, with
212         non-PIC handling integrated.
214 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
216         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
217         and AF_IEEE802154.
219 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
221         * sysdeps/mips/____longjmp_chk.c: New file.
222         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
223         undefine __longjmp.
224         * sysdeps/mips64/__longjmp.c: Likewise.
226 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
228         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
229         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
230         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
231         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
233 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
235         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
236         fallocate64@@GLIBC_2.11.
238 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
240         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
241         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
243 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
245         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
246         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
247         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
248         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
249         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
250         Update comment.
251         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
252         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
253         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers): 
254         Add ucontext_i.sym.
256 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
258         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
259         __ASSUME_PWRITEV): Don't define here.
261 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
263         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
265 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
267         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
268         numbers.
269         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
270         Define.
271         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
272         preadv and pwritev.
274 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
276         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
277         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
279 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
281         [BZ #7074]
282         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
283         Fix the condition used to annotate n32 objects.
285 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
287         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
288         Change parameters and use next_line.
290 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
292         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
293         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
294         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
296 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
298         * sysdeps/mips/bits/link.h: Uglify function parameter names.
299         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
300         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
301         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
302         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
304 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
306         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
307         fallocate{,64}.
309 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
311         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
312         UTIME_OMIT only with __USE_ATFILE.
314 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
316         [BZ #7040]
317         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
318         inotify_rm_watch should have type int.
320 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
322         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
324 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
325             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
327         PR glibc/1048
328         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
329         variable page size for MIPS.
330         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
331         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
332         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
334 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
336         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
337         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
338         -D_GNU_SOURCE.
340 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
342         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
343         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
345 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
347         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
348         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
349         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
350         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
352 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
354         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
355         Make available only for __USE_GNU.
357 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
359         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
360         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
362 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
364         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
365         __THROW vs. __nonnull order for C++.
367 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
369         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
370         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
371         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
373 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
374             Daniel Jacobowitz  <dan@codesourcery.com>
375             Richard Sandiford  <rdsandiford@googlemail.com>
377         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
378         * sysdeps/mips/dl-lookup.c: New.
379         * sysdeps/mips/do-lookup.h: New.
380         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
381         definition.
382         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
383         if needed.
384         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
385         (elf_machine_type_class): Likewise.
386         (ELF_MACHINE_PLT_REL): Define.
387         (elf_machine_fixup_plt): New.
388         (elf_machine_plt_value): New.
389         (elf_machine_reloc): Handle jump slot and copy relocations.
390         (elf_machine_lazy_rel): Point relocation place at PLT if
391         required.
392         (RESOLVE_GOTSYM): Take a relocation type argument.
393         (elf_machine_got_rel): Bind lazy stubs directly to their target if
394         !lazy.  Skip lazy binding for PLT symbols.
395         (elf_machine_runtime_setup): Fill in .got.plt header.
396         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
397         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
398         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
399         (_dl_runtime_pltresolve): New.
400         * sysdeps/mips/bits/linkmap.h: New file.
401         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
402         64-bit versions.
404         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
405         Delete definition.
406         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
407         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
408         (PSEUDO): Use them.  Move outside __PIC__.
409         (PSEUDO_JMP): New.
410         (CENABLE, CDISABLE): Use it.
412 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
414         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
415         to epoll_create1.
417 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
419         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
420         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
421         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
422         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
423         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
424         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
425         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
427 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
429         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
430         volatile.
432 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
434         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
435         type.
437 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
439         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
440         (SOCK_DCCP): Define.
442 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
444         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
445         RUSAGE_THREAD and RUSAGE_LWP.
447 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
449         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
450         shmid_ds.
452 2008-04-21  Khem Raj  <kraj@mvista.com>
454         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
456 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
458         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add 
459         truncate and ftruncate systems calls.
460         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
461         empty file.
462         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
464 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
466         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
467         ARG_MAX if <linux/limits.h> has defined it.
469 2008-03-28  Robin Randhawa  <robin@mips.com>
471         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
472         barriers to enforce strict ordering on weakly ordered systems.
474 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
475             Daniel Jacobowitz  <dan@codesourcery.com>
477         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
478         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
479         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
481 2008-03-09  Andreas Jaeger  <aj@suse.de>
483         [BZ #5753]
484         * sysdeps/mips/ieee754.h: Use protected namespace
485         __BIG_ENDIAN/__LITTLE_ENDIAN.
486         Patch by Aurelien Jarno <aurelien@aurel32.net>.
488 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
490         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
491         Reorganize to match other architectures.  Replace _timer._timer1
492         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
493         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
494         (si_timerid, si_overrun): Define.
495         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
496         (__pthread_attr_s): Remove declaration.
497         (struct sigevent): Remove XXX.  Add _tid.
499 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
501         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
503 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
505         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
506         type and __THROW marker of splice, vmsplice, and tee.
508 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
510         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
511         LLL_PRIVATE argument to lll_futex_wake.
512         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
513         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
514         comment.
515         (PF_IUCV, PF_RXRPC): Define.
516         (PF_MAX): Update.
517         (AF_IUCV, AF_RXRPC): Define.
518         (MSG_CMSG_CLOEXEC): Define.
519         (_EXTERN_INLINE): Define to __extern_inline.
520         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
521         UTIME_OMIT): Define.
522         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
523         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
524         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
525         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
526         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
527         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
528         LLL_LOCK_*.  Include <kernel-features.h>.
529         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
530         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
531         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
532         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
533         lll_futex_wait.
534         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
535         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
536         private arguments.
537         (__lll_robust_trylock): Convert to macro.
538         (__lll_robust_lock_wait): Add private argument.
539         (__lll_lock_wait_private, __lll_lock_wait): Declare.
540         (__lll_lock): Convert to macro.  Take private argument.
541         (__lll_cond_lock): Likewise.
542         (lll_lock, lll_cond_lock): Take private arguments.
543         (__lll_robust_lock): Take private argument.  Convert to macro.
544         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
545         lll_robust_cond_lock): Take private arguments.
546         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
547         arguments.
548         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
549         (lll_timedlock, lll_robust_timedlock): Take private arguments.
550         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
551         private arguments.
552         (lll_unlock, lll_robust_unlock): Take private arguments.
553         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
554         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
555         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
556         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
557         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
558         lll_cond_wake, lll_cond_broadcast): Remove.
559         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
560         to __extern_inline.
562 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
564         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
565         New macros for the (n)64 and n32 ABIs.
566         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
568 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
570         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
571         Define __WORDSIZE_COMPAT32 as 1.
573 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
575         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
576         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
577         PTHREAD_STACK_MIN.
579 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
581         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
583         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
584         Delete.
586 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
588         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
589         (internal_syscall1, internal_syscall2, internal_syscall3,
590         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
592 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
594         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
595         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
596         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
597         THREAD_GSCOPE_WAIT): Define.
598         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
599         (FUTEX_PRIVATE_FLAG): Define.
600         (lll_unlock_wake_cb): Delete prototype.
601         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
602         <endian.h>.
603         (pthread_rwlock_t): Shrink __flags and add __shared.
605 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
607         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
608         (posix_fadvise): Fix high word of len argument.
610 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
612         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
613         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
614         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
615         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
616         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
617         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
619 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
621         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
622         * sysdeps/mips/mips64/n64/Implies: Likewise.
623         * sysdeps/mips/mips64/soft-fp/Makefile: New.
624         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
625         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
626         <fpu_control.h>.  Use hardware exception and rounding mode
627         settings.
629 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
631         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
632         r_info argument to ElfW(Addr).
634 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
636         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
638 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
639             Daniel Jacobowitz  <dan@codesourcery.com>
641         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
642         shmctl, and semctl.
643         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
644         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
645         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
647 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
649         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
650         PTR_DEMANGLE): Define.
651         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
652         PTR_DEMANGLE): Define.
653         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
654         PTR_DEMANGLE): Define.
656 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
658         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
659         (cfi_same_value): Delete definition.
661 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
663         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
664         (elf_machine_reloc): New function, retaining the body of
665         elf_machine_rel.  Take the reloc's r_info field as an argument,
666         not the reloc itself.  Add extra r_addend and inplace_p arguments.
667         When inplace_p is false, use r_addend as the addend, not the contents
668         of the relocation field.  Hoist the conversion of reloc_addr to
669         "ELFW(Addr) *".  Don't try to apply TLS relocations against
670         undefined symbols.  Add R_MIPS_GLOB_DAT support.
671         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
672         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
673         to ElfW(Rela).
675 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
677         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
678         multiple inclusion guard.
679         * sysdeps/mips/elf/ldsodefs.h: Delete file.
681 2007-01-04  Thiemo Seufer  <ths@networkno.de>
683         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
684         to match the kernel.
686 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
688         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
689         (RTLD_SINGLE_THREAD_P): Define.
690         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
692 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
694         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
695         prototype.
697 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
699         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
700         code.
701         (__xstat_conv): Use memset to clear padding arrays.  Check for
702         overflow.
703         (__xstat64_conv): Use memset to clear padding arrays.
704         (__xstat32_conv): New function.
705         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
706         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
708 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
710         * sysdeps/mips/fpu_control.h: If soft-float, don't use
711         floating-point registers.
712         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
713         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
714         Likewise.
716 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
718         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
719         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
721 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
723         * sysdeps/mips/mips64/n32/libm-test-ulps,
724         sysdeps/mips/mips64/n64/libm-test-ulps: New.
726 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
728         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
729         defined, include the named file.
731 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
733         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
734         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
735         Define.
737 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
739         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
740         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
741         types.
743 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
745         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
746         Don't use struct timespec.
747         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
748         __xstat64_conv): Copy individual timespec fields.
750 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
752         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
754 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
756         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
757         * sysdeps/mips/fpu/fesetround.c: Likewise.
759 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
760             Daniel Jacobowitz  <dan@codesourcery.com>
762         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
763         dump sc_cause, sc_status or sc_badvaddr.
764         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
765         structure definitions after DSP kernel changes.
766         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
767         after the same DSP changes.
769 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
771         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
772         st_atim, st_mtim and st_ctim interface.
773         (struct stat64): Likewise.
774         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
775         Replace st_atime and its padding field with st_atim.  Likewise
776         st_mtime/st_mtim and st_ctime/st_ctim.
777         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
778         after above changes.
779         (__xstat64_conv): Likewise.
781 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
783         * sysdeps/mips/ldsodefs.h: New file.
784         * sysdeps/mips/tst-audit.h: New file.
786 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
788         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
789         for consistency with other ports.
790         (MADV_REMOVE): Correct value.
791         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
792         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
793         POSIX_MADV_DONTNEED): Define.
795 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
797         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
798         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
799         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
800         and SYNC_FILE_RANGE_WAIT_AFTER.
801         Declare sync_file_range, vmsplice, splice and tee.
803 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
805         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
806         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
807         prototype.
809 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
811         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
812         Define.
814 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
816         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
817         typo.
819 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
821         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
822         i386/fork.c.
824 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
826         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
827         libc_cv_localedir, libdir, arch_minimum_kernel, and
828         libc_cv_gcc_unwind_find_fde.
829         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
830         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
831         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
833 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
835         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
836         (__pthread_list_t, __pthread_slist_t): New typedefs.
837         (pthread_mutex_t): Replace __next and __prev fields with __list.
838         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
839         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
840         (lll_futex_wake_unlock): Define.
841         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
842         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
843         lll_robust_mutex_unlock): New macros.
844         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
845         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
846         vfork.S.
847         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
849 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
851         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
852         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
854 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
856         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
857         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
858         (INTERNAL_SYSCALL_NCS): New.
859         (internal_syscall0, internal_syscall1, internal_syscall2,
860         internal_syscall3, internal_syscall4, internal_syscall5,
861         internal_syscall6): Take ncs_init, cs_init, and input arguments.
862         Use them.  Correct types for registers.
863         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
864         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
865         (INTERNAL_SYSCALL_NCS): New.
866         (internal_syscall0, internal_syscall1, internal_syscall2,
867         internal_syscall3, internal_syscall4, internal_syscall5,
868         internal_syscall6): Take ncs_init, cs_init, and input arguments.
869         Use them.
870         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
871         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
872         points.
873         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
874         Use Elf(Addr) for TLS relocation targets.
875         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
876         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
877         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
878         futexp to long for n64.
879         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
881 2006-02-20  Roland McGrath  <roland@redhat.com>
883         * sysdeps/mips/shlib-versions: New file.
884         * sysdeps/mips/preconfigure: New file.
885         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.