[arm] Fix bug in _nocancel system call stubs.
[glibc-ports.git] / ChangeLog.mips
blob0c2285f1377e932a987f56a6a273435a2354c822
1 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
4         MADV_NOHUGEPAGE): Define.
6 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
8         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
9         PF_CAIF, PF_ALG): Define.
11 2010-12-30  Joseph Myers  <joseph@codesourcery.com>
13         * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if
14         NO_CTORS_DTORS_SECTIONS is defined.
15         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
17 2010-12-21  Joseph Myers  <joseph@codesourcery.com>
19         * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21 2010-12-06  Matt Turner  <mattst88@gmail.com>
23         * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
25 2010-12-06  Joseph Myers  <joseph@codesourcery.com>
27         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
28         Change to 2.4.1.
29         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
31 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
33         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
34         sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list,
35         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries
36         for fanotify_mark.
38 2010-10-11  Joseph Myers  <joseph@codesourcery.com>
40         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
41         libm_hidden_def.
42         * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
44 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
46         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47         (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
49 2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
51         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
52         jump delay slot.
53         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
55 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
57         * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
59 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
61         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
62         struct statfs64): Add f_flags field.
64 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
66         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
67         Define.
69 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
71         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
72         and prlimit64.
73         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
74         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
75         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
76         prlimit64 syscall.
78 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
80         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
81         F_GETPIPE_SZ): Define.
83 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
85         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
86         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
88 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
90         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
92 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
94         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
95         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
96         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
97         Define.
99 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
101         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
102         MSG_WAITFORONE.
104 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
106         * sysdeps/mips/dl-lookup.c: Update from generic version.
108 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
110         [BZ #11291]
111         * sysdeps/mips/bits/atomic.h
112         (__arch_compare_and_exchange_xxx_32_int,
113         __arch_compare_and_exchange_xxx_64_int,
114         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
115         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
116         Specify *mem as asm output as well as input.
118 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
120         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
122 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
124         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
125         _dl_runtime_pltresolve): Calculate offset from start of function
126         to .cpload instead of hardcoding instruction size.
128 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
130         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
131         problem.
133 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
135         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
136         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
138 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
140         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
141         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
142         XPG7.
143         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
144         fcntl.h.
146 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
148         [BZ #11093]
149         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
150         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
152 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
154         * sysdeps/mips/dl-lookup.c: Update from generic version.
156 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
158         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
159         O_DSYNC to match 2.6.33+ kernels.
161 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
163         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
164         declare recvmmsg.
166 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
168         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
169         (posix_fadvise): Remove.
170         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
171         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
172         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
174 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
176         * sysdeps/mips/dl-lookup.c: Update from generic version.
178 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
180         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
181         for timestamps also if __USE_XOPEN2K8.
183 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
185         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
186         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
188 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
190         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
191         names of parameters of sync_file_range.
193 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
195         [BZ #10972]
196         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
197         constants from recent kernels.
199 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
201         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
202         not already defined.
204 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
206         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
207         F_GETOWN_EX): Update values.
209 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
211         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
212         of last two arguments when -D_FILE_OFFSET_BITS=64.
214 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
216         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
217         f_owner_ex.
219 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
221         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
222         and F_GETOWN_EX.
224 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
226         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
227         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
228         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
229         (__SYSCALL_CLOBBERS): Likewise.
230         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
231         (__SYSCALL_CLOBBERS): Likewise.
233 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
235         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
236         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
237         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
238         variable for env.  Use expansion of CHECK_SP macro for check.
239         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
241 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
243         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
244         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
246 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
248         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
249         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
251 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
253         * sysdeps/mips/do-lookup.h: Remove.
254         * sysdeps/mips/dl-lookup.c: Update from generic version, with
255         non-PIC handling integrated.
257 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
259         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
260         and AF_IEEE802154.
262 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
264         * sysdeps/mips/____longjmp_chk.c: New file.
265         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
266         undefine __longjmp.
267         * sysdeps/mips64/__longjmp.c: Likewise.
269 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
271         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
272         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
273         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
274         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
276 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
278         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
279         fallocate64@@GLIBC_2.11.
281 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
283         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
284         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
286 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
288         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
289         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
290         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
291         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
292         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
293         Update comment.
294         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
295         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
296         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers): 
297         Add ucontext_i.sym.
299 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
301         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
302         __ASSUME_PWRITEV): Don't define here.
304 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
306         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
308 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
310         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
311         numbers.
312         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
313         Define.
314         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
315         preadv and pwritev.
317 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
319         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
320         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
322 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
324         [BZ #7074]
325         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
326         Fix the condition used to annotate n32 objects.
328 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
330         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
331         Change parameters and use next_line.
333 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
335         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
336         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
337         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
339 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
341         * sysdeps/mips/bits/link.h: Uglify function parameter names.
342         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
343         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
344         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
345         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
347 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
349         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
350         fallocate{,64}.
352 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
354         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
355         UTIME_OMIT only with __USE_ATFILE.
357 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
359         [BZ #7040]
360         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
361         inotify_rm_watch should have type int.
363 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
365         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
367 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
368             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
370         PR glibc/1048
371         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
372         variable page size for MIPS.
373         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
374         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
375         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
377 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
379         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
380         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
381         -D_GNU_SOURCE.
383 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
385         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
386         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
388 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
390         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
391         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
392         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
393         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
395 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
397         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
398         Make available only for __USE_GNU.
400 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
402         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
403         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
405 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
407         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
408         __THROW vs. __nonnull order for C++.
410 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
412         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
413         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
414         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
416 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
417             Daniel Jacobowitz  <dan@codesourcery.com>
418             Richard Sandiford  <rdsandiford@googlemail.com>
420         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
421         * sysdeps/mips/dl-lookup.c: New.
422         * sysdeps/mips/do-lookup.h: New.
423         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
424         definition.
425         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
426         if needed.
427         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
428         (elf_machine_type_class): Likewise.
429         (ELF_MACHINE_PLT_REL): Define.
430         (elf_machine_fixup_plt): New.
431         (elf_machine_plt_value): New.
432         (elf_machine_reloc): Handle jump slot and copy relocations.
433         (elf_machine_lazy_rel): Point relocation place at PLT if
434         required.
435         (RESOLVE_GOTSYM): Take a relocation type argument.
436         (elf_machine_got_rel): Bind lazy stubs directly to their target if
437         !lazy.  Skip lazy binding for PLT symbols.
438         (elf_machine_runtime_setup): Fill in .got.plt header.
439         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
440         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
441         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
442         (_dl_runtime_pltresolve): New.
443         * sysdeps/mips/bits/linkmap.h: New file.
444         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
445         64-bit versions.
447         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
448         Delete definition.
449         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
450         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
451         (PSEUDO): Use them.  Move outside __PIC__.
452         (PSEUDO_JMP): New.
453         (CENABLE, CDISABLE): Use it.
455 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
457         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
458         to epoll_create1.
460 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
462         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
463         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
464         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
465         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
466         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
467         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
468         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
470 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
472         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
473         volatile.
475 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
477         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
478         type.
480 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
482         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
483         (SOCK_DCCP): Define.
485 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
487         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
488         RUSAGE_THREAD and RUSAGE_LWP.
490 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
492         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
493         shmid_ds.
495 2008-04-21  Khem Raj  <kraj@mvista.com>
497         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
499 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
501         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add 
502         truncate and ftruncate systems calls.
503         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
504         empty file.
505         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
507 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
509         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
510         ARG_MAX if <linux/limits.h> has defined it.
512 2008-03-28  Robin Randhawa  <robin@mips.com>
514         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
515         barriers to enforce strict ordering on weakly ordered systems.
517 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
518             Daniel Jacobowitz  <dan@codesourcery.com>
520         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
521         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
522         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
524 2008-03-09  Andreas Jaeger  <aj@suse.de>
526         [BZ #5753]
527         * sysdeps/mips/ieee754.h: Use protected namespace
528         __BIG_ENDIAN/__LITTLE_ENDIAN.
529         Patch by Aurelien Jarno <aurelien@aurel32.net>.
531 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
533         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
534         Reorganize to match other architectures.  Replace _timer._timer1
535         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
536         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
537         (si_timerid, si_overrun): Define.
538         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
539         (__pthread_attr_s): Remove declaration.
540         (struct sigevent): Remove XXX.  Add _tid.
542 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
544         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
546 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
548         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
549         type and __THROW marker of splice, vmsplice, and tee.
551 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
553         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
554         LLL_PRIVATE argument to lll_futex_wake.
555         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
556         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
557         comment.
558         (PF_IUCV, PF_RXRPC): Define.
559         (PF_MAX): Update.
560         (AF_IUCV, AF_RXRPC): Define.
561         (MSG_CMSG_CLOEXEC): Define.
562         (_EXTERN_INLINE): Define to __extern_inline.
563         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
564         UTIME_OMIT): Define.
565         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
566         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
567         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
568         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
569         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
570         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
571         LLL_LOCK_*.  Include <kernel-features.h>.
572         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
573         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
574         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
575         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
576         lll_futex_wait.
577         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
578         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
579         private arguments.
580         (__lll_robust_trylock): Convert to macro.
581         (__lll_robust_lock_wait): Add private argument.
582         (__lll_lock_wait_private, __lll_lock_wait): Declare.
583         (__lll_lock): Convert to macro.  Take private argument.
584         (__lll_cond_lock): Likewise.
585         (lll_lock, lll_cond_lock): Take private arguments.
586         (__lll_robust_lock): Take private argument.  Convert to macro.
587         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
588         lll_robust_cond_lock): Take private arguments.
589         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
590         arguments.
591         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
592         (lll_timedlock, lll_robust_timedlock): Take private arguments.
593         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
594         private arguments.
595         (lll_unlock, lll_robust_unlock): Take private arguments.
596         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
597         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
598         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
599         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
600         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
601         lll_cond_wake, lll_cond_broadcast): Remove.
602         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
603         to __extern_inline.
605 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
607         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
608         New macros for the (n)64 and n32 ABIs.
609         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
611 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
613         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
614         Define __WORDSIZE_COMPAT32 as 1.
616 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
618         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
619         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
620         PTHREAD_STACK_MIN.
622 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
624         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
626         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
627         Delete.
629 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
631         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
632         (internal_syscall1, internal_syscall2, internal_syscall3,
633         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
635 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
637         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
638         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
639         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
640         THREAD_GSCOPE_WAIT): Define.
641         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
642         (FUTEX_PRIVATE_FLAG): Define.
643         (lll_unlock_wake_cb): Delete prototype.
644         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
645         <endian.h>.
646         (pthread_rwlock_t): Shrink __flags and add __shared.
648 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
650         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
651         (posix_fadvise): Fix high word of len argument.
653 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
655         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
656         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
657         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
658         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
659         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
660         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
662 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
664         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
665         * sysdeps/mips/mips64/n64/Implies: Likewise.
666         * sysdeps/mips/mips64/soft-fp/Makefile: New.
667         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
668         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
669         <fpu_control.h>.  Use hardware exception and rounding mode
670         settings.
672 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
674         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
675         r_info argument to ElfW(Addr).
677 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
679         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
681 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
682             Daniel Jacobowitz  <dan@codesourcery.com>
684         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
685         shmctl, and semctl.
686         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
687         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
688         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
690 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
692         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
693         PTR_DEMANGLE): Define.
694         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
695         PTR_DEMANGLE): Define.
696         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
697         PTR_DEMANGLE): Define.
699 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
701         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
702         (cfi_same_value): Delete definition.
704 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
706         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
707         (elf_machine_reloc): New function, retaining the body of
708         elf_machine_rel.  Take the reloc's r_info field as an argument,
709         not the reloc itself.  Add extra r_addend and inplace_p arguments.
710         When inplace_p is false, use r_addend as the addend, not the contents
711         of the relocation field.  Hoist the conversion of reloc_addr to
712         "ELFW(Addr) *".  Don't try to apply TLS relocations against
713         undefined symbols.  Add R_MIPS_GLOB_DAT support.
714         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
715         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
716         to ElfW(Rela).
718 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
720         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
721         multiple inclusion guard.
722         * sysdeps/mips/elf/ldsodefs.h: Delete file.
724 2007-01-04  Thiemo Seufer  <ths@networkno.de>
726         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
727         to match the kernel.
729 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
731         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
732         (RTLD_SINGLE_THREAD_P): Define.
733         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
735 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
737         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
738         prototype.
740 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
742         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
743         code.
744         (__xstat_conv): Use memset to clear padding arrays.  Check for
745         overflow.
746         (__xstat64_conv): Use memset to clear padding arrays.
747         (__xstat32_conv): New function.
748         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
749         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
751 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
753         * sysdeps/mips/fpu_control.h: If soft-float, don't use
754         floating-point registers.
755         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
756         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
757         Likewise.
759 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
761         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
762         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
764 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
766         * sysdeps/mips/mips64/n32/libm-test-ulps,
767         sysdeps/mips/mips64/n64/libm-test-ulps: New.
769 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
771         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
772         defined, include the named file.
774 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
776         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
777         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
778         Define.
780 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
782         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
783         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
784         types.
786 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
788         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
789         Don't use struct timespec.
790         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
791         __xstat64_conv): Copy individual timespec fields.
793 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
795         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
797 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
799         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
800         * sysdeps/mips/fpu/fesetround.c: Likewise.
802 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
803             Daniel Jacobowitz  <dan@codesourcery.com>
805         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
806         dump sc_cause, sc_status or sc_badvaddr.
807         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
808         structure definitions after DSP kernel changes.
809         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
810         after the same DSP changes.
812 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
814         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
815         st_atim, st_mtim and st_ctim interface.
816         (struct stat64): Likewise.
817         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
818         Replace st_atime and its padding field with st_atim.  Likewise
819         st_mtime/st_mtim and st_ctime/st_ctim.
820         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
821         after above changes.
822         (__xstat64_conv): Likewise.
824 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
826         * sysdeps/mips/ldsodefs.h: New file.
827         * sysdeps/mips/tst-audit.h: New file.
829 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
831         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
832         for consistency with other ports.
833         (MADV_REMOVE): Correct value.
834         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
835         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
836         POSIX_MADV_DONTNEED): Define.
838 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
840         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
841         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
842         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
843         and SYNC_FILE_RANGE_WAIT_AFTER.
844         Declare sync_file_range, vmsplice, splice and tee.
846 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
848         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
849         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
850         prototype.
852 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
854         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
855         Define.
857 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
859         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
860         typo.
862 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
864         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
865         i386/fork.c.
867 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
869         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
870         libc_cv_localedir, libdir, arch_minimum_kernel, and
871         libc_cv_gcc_unwind_find_fde.
872         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
873         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
874         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
876 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
878         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
879         (__pthread_list_t, __pthread_slist_t): New typedefs.
880         (pthread_mutex_t): Replace __next and __prev fields with __list.
881         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
882         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
883         (lll_futex_wake_unlock): Define.
884         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
885         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
886         lll_robust_mutex_unlock): New macros.
887         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
888         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
889         vfork.S.
890         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
892 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
894         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
895         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
897 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
899         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
900         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
901         (INTERNAL_SYSCALL_NCS): New.
902         (internal_syscall0, internal_syscall1, internal_syscall2,
903         internal_syscall3, internal_syscall4, internal_syscall5,
904         internal_syscall6): Take ncs_init, cs_init, and input arguments.
905         Use them.  Correct types for registers.
906         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
907         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
908         (INTERNAL_SYSCALL_NCS): New.
909         (internal_syscall0, internal_syscall1, internal_syscall2,
910         internal_syscall3, internal_syscall4, internal_syscall5,
911         internal_syscall6): Take ncs_init, cs_init, and input arguments.
912         Use them.
913         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
914         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
915         points.
916         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
917         Use Elf(Addr) for TLS relocation targets.
918         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
919         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
920         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
921         futexp to long for n64.
922         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
924 2006-02-20  Roland McGrath  <roland@redhat.com>
926         * sysdeps/mips/shlib-versions: New file.
927         * sysdeps/mips/preconfigure: New file.
928         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.