Add f_flags to struct statfs for MIPS.
[glibc-ports.git] / ChangeLog.mips
blob2dbed6f8bcdd1d935817ab061dc066ec137e4535
1 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
4         struct statfs64): Add f_flags field.
6 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
8         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
9         Define.
11 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
13         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
14         and prlimit64.
15         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
16         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
17         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
18         prlimit64 syscall.
20 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
22         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
23         F_GETPIPE_SZ): Define.
25 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
27         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
28         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
30 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
32         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
34 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
36         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
37         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
38         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
39         Define.
41 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
43         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
44         MSG_WAITFORONE.
46 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
48         * sysdeps/mips/dl-lookup.c: Update from generic version.
50 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
52         [BZ #11291]
53         * sysdeps/mips/bits/atomic.h
54         (__arch_compare_and_exchange_xxx_32_int,
55         __arch_compare_and_exchange_xxx_64_int,
56         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
57         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
58         Specify *mem as asm output as well as input.
60 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
62         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
64 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
66         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
67         _dl_runtime_pltresolve): Calculate offset from start of function
68         to .cpload instead of hardcoding instruction size.
70 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
72         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
73         problem.
75 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
77         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
78         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
80 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
82         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
83         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
84         XPG7.
85         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
86         fcntl.h.
88 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
90         [BZ #11093]
91         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
92         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
94 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
96         * sysdeps/mips/dl-lookup.c: Update from generic version.
98 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
100         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
101         O_DSYNC to match 2.6.33+ kernels.
103 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
105         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
106         declare recvmmsg.
108 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
110         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
111         (posix_fadvise): Remove.
112         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
113         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
114         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
116 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
118         * sysdeps/mips/dl-lookup.c: Update from generic version.
120 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
122         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
123         for timestamps also if __USE_XOPEN2K8.
125 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
127         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
128         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
130 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
132         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
133         names of parameters of sync_file_range.
135 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
137         [BZ #10972]
138         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
139         constants from recent kernels.
141 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
143         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
144         not already defined.
146 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
148         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
149         F_GETOWN_EX): Update values.
151 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
153         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
154         of last two arguments when -D_FILE_OFFSET_BITS=64.
156 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
158         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
159         f_owner_ex.
161 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
163         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
164         and F_GETOWN_EX.
166 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
168         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
169         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
170         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
171         (__SYSCALL_CLOBBERS): Likewise.
172         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
173         (__SYSCALL_CLOBBERS): Likewise.
175 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
177         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
178         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
179         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
180         variable for env.  Use expansion of CHECK_SP macro for check.
181         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
183 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
185         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
186         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
188 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
190         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
191         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
193 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
195         * sysdeps/mips/do-lookup.h: Remove.
196         * sysdeps/mips/dl-lookup.c: Update from generic version, with
197         non-PIC handling integrated.
199 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
201         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
202         and AF_IEEE802154.
204 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
206         * sysdeps/mips/____longjmp_chk.c: New file.
207         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
208         undefine __longjmp.
209         * sysdeps/mips64/__longjmp.c: Likewise.
211 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
213         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
214         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
215         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
216         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
218 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
220         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
221         fallocate64@@GLIBC_2.11.
223 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
225         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
226         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
228 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
230         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
231         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
232         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
233         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
234         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
235         Update comment.
236         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
237         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
238         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers): 
239         Add ucontext_i.sym.
241 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
243         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
244         __ASSUME_PWRITEV): Don't define here.
246 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
248         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
250 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
252         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
253         numbers.
254         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
255         Define.
256         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
257         preadv and pwritev.
259 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
261         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
262         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
264 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
266         [BZ #7074]
267         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
268         Fix the condition used to annotate n32 objects.
270 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
272         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
273         Change parameters and use next_line.
275 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
277         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
278         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
279         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
281 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
283         * sysdeps/mips/bits/link.h: Uglify function parameter names.
284         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
285         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
286         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
287         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
289 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
291         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
292         fallocate{,64}.
294 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
296         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
297         UTIME_OMIT only with __USE_ATFILE.
299 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
301         [BZ #7040]
302         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
303         inotify_rm_watch should have type int.
305 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
307         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
309 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
310             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
312         PR glibc/1048
313         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
314         variable page size for MIPS.
315         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
316         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
317         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
319 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
321         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
322         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
323         -D_GNU_SOURCE.
325 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
327         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
328         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
330 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
332         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
333         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
334         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
335         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
337 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
339         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
340         Make available only for __USE_GNU.
342 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
344         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
345         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
347 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
349         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
350         __THROW vs. __nonnull order for C++.
352 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
354         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
355         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
356         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
358 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
359             Daniel Jacobowitz  <dan@codesourcery.com>
360             Richard Sandiford  <rdsandiford@googlemail.com>
362         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
363         * sysdeps/mips/dl-lookup.c: New.
364         * sysdeps/mips/do-lookup.h: New.
365         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
366         definition.
367         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
368         if needed.
369         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
370         (elf_machine_type_class): Likewise.
371         (ELF_MACHINE_PLT_REL): Define.
372         (elf_machine_fixup_plt): New.
373         (elf_machine_plt_value): New.
374         (elf_machine_reloc): Handle jump slot and copy relocations.
375         (elf_machine_lazy_rel): Point relocation place at PLT if
376         required.
377         (RESOLVE_GOTSYM): Take a relocation type argument.
378         (elf_machine_got_rel): Bind lazy stubs directly to their target if
379         !lazy.  Skip lazy binding for PLT symbols.
380         (elf_machine_runtime_setup): Fill in .got.plt header.
381         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
382         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
383         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
384         (_dl_runtime_pltresolve): New.
385         * sysdeps/mips/bits/linkmap.h: New file.
386         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
387         64-bit versions.
389         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
390         Delete definition.
391         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
392         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
393         (PSEUDO): Use them.  Move outside __PIC__.
394         (PSEUDO_JMP): New.
395         (CENABLE, CDISABLE): Use it.
397 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
399         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
400         to epoll_create1.
402 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
404         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
405         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
406         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
407         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
408         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
409         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
410         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
412 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
414         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
415         volatile.
417 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
419         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
420         type.
422 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
424         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
425         (SOCK_DCCP): Define.
427 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
429         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
430         RUSAGE_THREAD and RUSAGE_LWP.
432 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
434         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
435         shmid_ds.
437 2008-04-21  Khem Raj  <kraj@mvista.com>
439         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
441 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
443         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add 
444         truncate and ftruncate systems calls.
445         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
446         empty file.
447         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
449 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
451         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
452         ARG_MAX if <linux/limits.h> has defined it.
454 2008-03-28  Robin Randhawa  <robin@mips.com>
456         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
457         barriers to enforce strict ordering on weakly ordered systems.
459 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
460             Daniel Jacobowitz  <dan@codesourcery.com>
462         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
463         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
464         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
466 2008-03-09  Andreas Jaeger  <aj@suse.de>
468         [BZ #5753]
469         * sysdeps/mips/ieee754.h: Use protected namespace
470         __BIG_ENDIAN/__LITTLE_ENDIAN.
471         Patch by Aurelien Jarno <aurelien@aurel32.net>.
473 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
475         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
476         Reorganize to match other architectures.  Replace _timer._timer1
477         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
478         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
479         (si_timerid, si_overrun): Define.
480         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
481         (__pthread_attr_s): Remove declaration.
482         (struct sigevent): Remove XXX.  Add _tid.
484 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
486         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
488 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
490         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
491         type and __THROW marker of splice, vmsplice, and tee.
493 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
495         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
496         LLL_PRIVATE argument to lll_futex_wake.
497         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
498         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
499         comment.
500         (PF_IUCV, PF_RXRPC): Define.
501         (PF_MAX): Update.
502         (AF_IUCV, AF_RXRPC): Define.
503         (MSG_CMSG_CLOEXEC): Define.
504         (_EXTERN_INLINE): Define to __extern_inline.
505         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
506         UTIME_OMIT): Define.
507         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
508         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
509         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
510         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
511         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
512         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
513         LLL_LOCK_*.  Include <kernel-features.h>.
514         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
515         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
516         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
517         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
518         lll_futex_wait.
519         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
520         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
521         private arguments.
522         (__lll_robust_trylock): Convert to macro.
523         (__lll_robust_lock_wait): Add private argument.
524         (__lll_lock_wait_private, __lll_lock_wait): Declare.
525         (__lll_lock): Convert to macro.  Take private argument.
526         (__lll_cond_lock): Likewise.
527         (lll_lock, lll_cond_lock): Take private arguments.
528         (__lll_robust_lock): Take private argument.  Convert to macro.
529         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
530         lll_robust_cond_lock): Take private arguments.
531         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
532         arguments.
533         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
534         (lll_timedlock, lll_robust_timedlock): Take private arguments.
535         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
536         private arguments.
537         (lll_unlock, lll_robust_unlock): Take private arguments.
538         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
539         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
540         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
541         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
542         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
543         lll_cond_wake, lll_cond_broadcast): Remove.
544         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
545         to __extern_inline.
547 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
549         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
550         New macros for the (n)64 and n32 ABIs.
551         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
553 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
555         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
556         Define __WORDSIZE_COMPAT32 as 1.
558 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
560         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
561         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
562         PTHREAD_STACK_MIN.
564 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
566         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
568         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
569         Delete.
571 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
573         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
574         (internal_syscall1, internal_syscall2, internal_syscall3,
575         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
577 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
579         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
580         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
581         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
582         THREAD_GSCOPE_WAIT): Define.
583         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
584         (FUTEX_PRIVATE_FLAG): Define.
585         (lll_unlock_wake_cb): Delete prototype.
586         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
587         <endian.h>.
588         (pthread_rwlock_t): Shrink __flags and add __shared.
590 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
592         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
593         (posix_fadvise): Fix high word of len argument.
595 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
597         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
598         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
599         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
600         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
601         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
602         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
604 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
606         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
607         * sysdeps/mips/mips64/n64/Implies: Likewise.
608         * sysdeps/mips/mips64/soft-fp/Makefile: New.
609         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
610         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
611         <fpu_control.h>.  Use hardware exception and rounding mode
612         settings.
614 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
616         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
617         r_info argument to ElfW(Addr).
619 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
621         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
623 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
624             Daniel Jacobowitz  <dan@codesourcery.com>
626         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
627         shmctl, and semctl.
628         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
629         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
630         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
632 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
634         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
635         PTR_DEMANGLE): Define.
636         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
637         PTR_DEMANGLE): Define.
638         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
639         PTR_DEMANGLE): Define.
641 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
643         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
644         (cfi_same_value): Delete definition.
646 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
648         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
649         (elf_machine_reloc): New function, retaining the body of
650         elf_machine_rel.  Take the reloc's r_info field as an argument,
651         not the reloc itself.  Add extra r_addend and inplace_p arguments.
652         When inplace_p is false, use r_addend as the addend, not the contents
653         of the relocation field.  Hoist the conversion of reloc_addr to
654         "ELFW(Addr) *".  Don't try to apply TLS relocations against
655         undefined symbols.  Add R_MIPS_GLOB_DAT support.
656         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
657         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
658         to ElfW(Rela).
660 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
662         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
663         multiple inclusion guard.
664         * sysdeps/mips/elf/ldsodefs.h: Delete file.
666 2007-01-04  Thiemo Seufer  <ths@networkno.de>
668         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
669         to match the kernel.
671 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
673         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
674         (RTLD_SINGLE_THREAD_P): Define.
675         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
677 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
679         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
680         prototype.
682 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
684         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
685         code.
686         (__xstat_conv): Use memset to clear padding arrays.  Check for
687         overflow.
688         (__xstat64_conv): Use memset to clear padding arrays.
689         (__xstat32_conv): New function.
690         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
691         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
693 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
695         * sysdeps/mips/fpu_control.h: If soft-float, don't use
696         floating-point registers.
697         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
698         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
699         Likewise.
701 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
703         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
704         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
706 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
708         * sysdeps/mips/mips64/n32/libm-test-ulps,
709         sysdeps/mips/mips64/n64/libm-test-ulps: New.
711 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
713         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
714         defined, include the named file.
716 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
718         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
719         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
720         Define.
722 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
724         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
725         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
726         types.
728 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
730         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
731         Don't use struct timespec.
732         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
733         __xstat64_conv): Copy individual timespec fields.
735 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
737         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
739 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
741         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
742         * sysdeps/mips/fpu/fesetround.c: Likewise.
744 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
745             Daniel Jacobowitz  <dan@codesourcery.com>
747         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
748         dump sc_cause, sc_status or sc_badvaddr.
749         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
750         structure definitions after DSP kernel changes.
751         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
752         after the same DSP changes.
754 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
756         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
757         st_atim, st_mtim and st_ctim interface.
758         (struct stat64): Likewise.
759         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
760         Replace st_atime and its padding field with st_atim.  Likewise
761         st_mtime/st_mtim and st_ctime/st_ctim.
762         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
763         after above changes.
764         (__xstat64_conv): Likewise.
766 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
768         * sysdeps/mips/ldsodefs.h: New file.
769         * sysdeps/mips/tst-audit.h: New file.
771 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
773         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
774         for consistency with other ports.
775         (MADV_REMOVE): Correct value.
776         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
777         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
778         POSIX_MADV_DONTNEED): Define.
780 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
782         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
783         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
784         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
785         and SYNC_FILE_RANGE_WAIT_AFTER.
786         Declare sync_file_range, vmsplice, splice and tee.
788 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
790         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
791         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
792         prototype.
794 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
796         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
797         Define.
799 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
801         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
802         typo.
804 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
806         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
807         i386/fork.c.
809 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
811         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
812         libc_cv_localedir, libdir, arch_minimum_kernel, and
813         libc_cv_gcc_unwind_find_fde.
814         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
815         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
816         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
818 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
820         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
821         (__pthread_list_t, __pthread_slist_t): New typedefs.
822         (pthread_mutex_t): Replace __next and __prev fields with __list.
823         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
824         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
825         (lll_futex_wake_unlock): Define.
826         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
827         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
828         lll_robust_mutex_unlock): New macros.
829         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
830         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
831         vfork.S.
832         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
834 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
836         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
837         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
839 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
841         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
842         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
843         (INTERNAL_SYSCALL_NCS): New.
844         (internal_syscall0, internal_syscall1, internal_syscall2,
845         internal_syscall3, internal_syscall4, internal_syscall5,
846         internal_syscall6): Take ncs_init, cs_init, and input arguments.
847         Use them.  Correct types for registers.
848         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
849         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
850         (INTERNAL_SYSCALL_NCS): New.
851         (internal_syscall0, internal_syscall1, internal_syscall2,
852         internal_syscall3, internal_syscall4, internal_syscall5,
853         internal_syscall6): Take ncs_init, cs_init, and input arguments.
854         Use them.
855         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
856         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
857         points.
858         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
859         Use Elf(Addr) for TLS relocation targets.
860         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
861         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
862         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
863         futexp to long for n64.
864         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
866 2006-02-20  Roland McGrath  <roland@redhat.com>
868         * sysdeps/mips/shlib-versions: New file.
869         * sysdeps/mips/preconfigure: New file.
870         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.