alpha: rewrite memchr.
[glibc.git] / ChangeLog.mips
blob2ea65732c9b8997630823c87fd7605fbea1717af
1 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
5 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
7         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
8         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
9         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
10         Define.
12 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
14         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
15         MSG_WAITFORONE.
17 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
19         * sysdeps/mips/dl-lookup.c: Update from generic version.
21 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
23         [BZ #11291]
24         * sysdeps/mips/bits/atomic.h
25         (__arch_compare_and_exchange_xxx_32_int,
26         __arch_compare_and_exchange_xxx_64_int,
27         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
28         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
29         Specify *mem as asm output as well as input.
31 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
33         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
35 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
37         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
38         _dl_runtime_pltresolve): Calculate offset from start of function
39         to .cpload instead of hardcoding instruction size.
41 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
43         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
44         problem.
46 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
48         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
49         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
51 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
53         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
54         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
55         XPG7.
56         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
57         fcntl.h.
59 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
61         [BZ #11093]
62         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
63         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
65 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
67         * sysdeps/mips/dl-lookup.c: Update from generic version.
69 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
71         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
72         O_DSYNC to match 2.6.33+ kernels.
74 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
76         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
77         declare recvmmsg.
79 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
81         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
82         (posix_fadvise): Remove.
83         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
84         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
85         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
87 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
89         * sysdeps/mips/dl-lookup.c: Update from generic version.
91 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
93         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
94         for timestamps also if __USE_XOPEN2K8.
96 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
98         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
99         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
101 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
103         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
104         names of parameters of sync_file_range.
106 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
108         [BZ #10972]
109         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
110         constants from recent kernels.
112 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
114         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
115         not already defined.
117 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
119         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
120         F_GETOWN_EX): Update values.
122 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
124         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
125         of last two arguments when -D_FILE_OFFSET_BITS=64.
127 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
129         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
130         f_owner_ex.
132 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
134         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
135         and F_GETOWN_EX.
137 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
139         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
140         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
141         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
142         (__SYSCALL_CLOBBERS): Likewise.
143         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
144         (__SYSCALL_CLOBBERS): Likewise.
146 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
148         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
149         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
150         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
151         variable for env.  Use expansion of CHECK_SP macro for check.
152         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
154 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
156         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
157         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
159 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
161         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
162         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
164 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
166         * sysdeps/mips/do-lookup.h: Remove.
167         * sysdeps/mips/dl-lookup.c: Update from generic version, with
168         non-PIC handling integrated.
170 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
172         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
173         and AF_IEEE802154.
175 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
177         * sysdeps/mips/____longjmp_chk.c: New file.
178         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
179         undefine __longjmp.
180         * sysdeps/mips64/__longjmp.c: Likewise.
182 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
184         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
185         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
186         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
187         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
189 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
191         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
192         fallocate64@@GLIBC_2.11.
194 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
196         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
197         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
199 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
201         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
202         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
203         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
204         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
205         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
206         Update comment.
207         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
208         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
209         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers): 
210         Add ucontext_i.sym.
212 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
214         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
215         __ASSUME_PWRITEV): Don't define here.
217 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
219         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
221 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
223         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
224         numbers.
225         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
226         Define.
227         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
228         preadv and pwritev.
230 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
232         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
233         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
235 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
237         [BZ #7074]
238         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
239         Fix the condition used to annotate n32 objects.
241 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
243         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
244         Change parameters and use next_line.
246 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
248         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
249         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
250         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
252 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
254         * sysdeps/mips/bits/link.h: Uglify function parameter names.
255         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
256         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
257         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
258         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
260 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
262         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
263         fallocate{,64}.
265 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
267         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
268         UTIME_OMIT only with __USE_ATFILE.
270 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
272         [BZ #7040]
273         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
274         inotify_rm_watch should have type int.
276 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
278         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
280 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
281             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
283         PR glibc/1048
284         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
285         variable page size for MIPS.
286         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
287         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
288         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
290 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
292         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
293         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
294         -D_GNU_SOURCE.
296 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
298         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
299         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
301 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
303         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
304         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
305         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
306         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
308 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
310         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
311         Make available only for __USE_GNU.
313 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
315         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
316         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
318 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
320         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
321         __THROW vs. __nonnull order for C++.
323 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
325         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
326         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
327         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
329 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
330             Daniel Jacobowitz  <dan@codesourcery.com>
331             Richard Sandiford  <rdsandiford@googlemail.com>
333         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
334         * sysdeps/mips/dl-lookup.c: New.
335         * sysdeps/mips/do-lookup.h: New.
336         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
337         definition.
338         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
339         if needed.
340         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
341         (elf_machine_type_class): Likewise.
342         (ELF_MACHINE_PLT_REL): Define.
343         (elf_machine_fixup_plt): New.
344         (elf_machine_plt_value): New.
345         (elf_machine_reloc): Handle jump slot and copy relocations.
346         (elf_machine_lazy_rel): Point relocation place at PLT if
347         required.
348         (RESOLVE_GOTSYM): Take a relocation type argument.
349         (elf_machine_got_rel): Bind lazy stubs directly to their target if
350         !lazy.  Skip lazy binding for PLT symbols.
351         (elf_machine_runtime_setup): Fill in .got.plt header.
352         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
353         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
354         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
355         (_dl_runtime_pltresolve): New.
356         * sysdeps/mips/bits/linkmap.h: New file.
357         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
358         64-bit versions.
360         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
361         Delete definition.
362         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
363         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
364         (PSEUDO): Use them.  Move outside __PIC__.
365         (PSEUDO_JMP): New.
366         (CENABLE, CDISABLE): Use it.
368 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
370         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
371         to epoll_create1.
373 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
375         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
376         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
377         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
378         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
379         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
380         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
381         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
383 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
385         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
386         volatile.
388 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
390         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
391         type.
393 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
395         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
396         (SOCK_DCCP): Define.
398 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
400         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
401         RUSAGE_THREAD and RUSAGE_LWP.
403 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
405         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
406         shmid_ds.
408 2008-04-21  Khem Raj  <kraj@mvista.com>
410         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
412 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
414         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add 
415         truncate and ftruncate systems calls.
416         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
417         empty file.
418         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
420 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
422         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
423         ARG_MAX if <linux/limits.h> has defined it.
425 2008-03-28  Robin Randhawa  <robin@mips.com>
427         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
428         barriers to enforce strict ordering on weakly ordered systems.
430 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
431             Daniel Jacobowitz  <dan@codesourcery.com>
433         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
434         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
435         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
437 2008-03-09  Andreas Jaeger  <aj@suse.de>
439         [BZ #5753]
440         * sysdeps/mips/ieee754.h: Use protected namespace
441         __BIG_ENDIAN/__LITTLE_ENDIAN.
442         Patch by Aurelien Jarno <aurelien@aurel32.net>.
444 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
446         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
447         Reorganize to match other architectures.  Replace _timer._timer1
448         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
449         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
450         (si_timerid, si_overrun): Define.
451         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
452         (__pthread_attr_s): Remove declaration.
453         (struct sigevent): Remove XXX.  Add _tid.
455 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
457         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
459 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
461         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
462         type and __THROW marker of splice, vmsplice, and tee.
464 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
466         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
467         LLL_PRIVATE argument to lll_futex_wake.
468         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
469         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
470         comment.
471         (PF_IUCV, PF_RXRPC): Define.
472         (PF_MAX): Update.
473         (AF_IUCV, AF_RXRPC): Define.
474         (MSG_CMSG_CLOEXEC): Define.
475         (_EXTERN_INLINE): Define to __extern_inline.
476         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
477         UTIME_OMIT): Define.
478         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
479         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
480         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
481         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
482         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
483         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
484         LLL_LOCK_*.  Include <kernel-features.h>.
485         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
486         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
487         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
488         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
489         lll_futex_wait.
490         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
491         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
492         private arguments.
493         (__lll_robust_trylock): Convert to macro.
494         (__lll_robust_lock_wait): Add private argument.
495         (__lll_lock_wait_private, __lll_lock_wait): Declare.
496         (__lll_lock): Convert to macro.  Take private argument.
497         (__lll_cond_lock): Likewise.
498         (lll_lock, lll_cond_lock): Take private arguments.
499         (__lll_robust_lock): Take private argument.  Convert to macro.
500         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
501         lll_robust_cond_lock): Take private arguments.
502         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
503         arguments.
504         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
505         (lll_timedlock, lll_robust_timedlock): Take private arguments.
506         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
507         private arguments.
508         (lll_unlock, lll_robust_unlock): Take private arguments.
509         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
510         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
511         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
512         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
513         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
514         lll_cond_wake, lll_cond_broadcast): Remove.
515         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
516         to __extern_inline.
518 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
520         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
521         New macros for the (n)64 and n32 ABIs.
522         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
524 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
526         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
527         Define __WORDSIZE_COMPAT32 as 1.
529 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
531         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
532         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
533         PTHREAD_STACK_MIN.
535 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
537         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
539         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
540         Delete.
542 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
544         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
545         (internal_syscall1, internal_syscall2, internal_syscall3,
546         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
548 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
550         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
551         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
552         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
553         THREAD_GSCOPE_WAIT): Define.
554         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
555         (FUTEX_PRIVATE_FLAG): Define.
556         (lll_unlock_wake_cb): Delete prototype.
557         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
558         <endian.h>.
559         (pthread_rwlock_t): Shrink __flags and add __shared.
561 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
563         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
564         (posix_fadvise): Fix high word of len argument.
566 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
568         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
569         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
570         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
571         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
572         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
573         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
575 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
577         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
578         * sysdeps/mips/mips64/n64/Implies: Likewise.
579         * sysdeps/mips/mips64/soft-fp/Makefile: New.
580         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
581         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
582         <fpu_control.h>.  Use hardware exception and rounding mode
583         settings.
585 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
587         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
588         r_info argument to ElfW(Addr).
590 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
592         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
594 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
595             Daniel Jacobowitz  <dan@codesourcery.com>
597         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
598         shmctl, and semctl.
599         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
600         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
601         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
603 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
605         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
606         PTR_DEMANGLE): Define.
607         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
608         PTR_DEMANGLE): Define.
609         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
610         PTR_DEMANGLE): Define.
612 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
614         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
615         (cfi_same_value): Delete definition.
617 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
619         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
620         (elf_machine_reloc): New function, retaining the body of
621         elf_machine_rel.  Take the reloc's r_info field as an argument,
622         not the reloc itself.  Add extra r_addend and inplace_p arguments.
623         When inplace_p is false, use r_addend as the addend, not the contents
624         of the relocation field.  Hoist the conversion of reloc_addr to
625         "ELFW(Addr) *".  Don't try to apply TLS relocations against
626         undefined symbols.  Add R_MIPS_GLOB_DAT support.
627         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
628         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
629         to ElfW(Rela).
631 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
633         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
634         multiple inclusion guard.
635         * sysdeps/mips/elf/ldsodefs.h: Delete file.
637 2007-01-04  Thiemo Seufer  <ths@networkno.de>
639         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
640         to match the kernel.
642 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
644         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
645         (RTLD_SINGLE_THREAD_P): Define.
646         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
648 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
650         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
651         prototype.
653 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
655         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
656         code.
657         (__xstat_conv): Use memset to clear padding arrays.  Check for
658         overflow.
659         (__xstat64_conv): Use memset to clear padding arrays.
660         (__xstat32_conv): New function.
661         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
662         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
664 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
666         * sysdeps/mips/fpu_control.h: If soft-float, don't use
667         floating-point registers.
668         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
669         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
670         Likewise.
672 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
674         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
675         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
677 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
679         * sysdeps/mips/mips64/n32/libm-test-ulps,
680         sysdeps/mips/mips64/n64/libm-test-ulps: New.
682 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
684         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
685         defined, include the named file.
687 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
689         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
690         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
691         Define.
693 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
695         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
696         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
697         types.
699 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
701         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
702         Don't use struct timespec.
703         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
704         __xstat64_conv): Copy individual timespec fields.
706 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
708         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
710 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
712         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
713         * sysdeps/mips/fpu/fesetround.c: Likewise.
715 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
716             Daniel Jacobowitz  <dan@codesourcery.com>
718         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
719         dump sc_cause, sc_status or sc_badvaddr.
720         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
721         structure definitions after DSP kernel changes.
722         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
723         after the same DSP changes.
725 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
727         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
728         st_atim, st_mtim and st_ctim interface.
729         (struct stat64): Likewise.
730         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
731         Replace st_atime and its padding field with st_atim.  Likewise
732         st_mtime/st_mtim and st_ctime/st_ctim.
733         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
734         after above changes.
735         (__xstat64_conv): Likewise.
737 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
739         * sysdeps/mips/ldsodefs.h: New file.
740         * sysdeps/mips/tst-audit.h: New file.
742 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
744         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
745         for consistency with other ports.
746         (MADV_REMOVE): Correct value.
747         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
748         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
749         POSIX_MADV_DONTNEED): Define.
751 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
753         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
754         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
755         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
756         and SYNC_FILE_RANGE_WAIT_AFTER.
757         Declare sync_file_range, vmsplice, splice and tee.
759 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
761         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
762         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
763         prototype.
765 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
767         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
768         Define.
770 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
772         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
773         typo.
775 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
777         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
778         i386/fork.c.
780 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
782         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
783         libc_cv_localedir, libdir, arch_minimum_kernel, and
784         libc_cv_gcc_unwind_find_fde.
785         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
786         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
787         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
789 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
791         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
792         (__pthread_list_t, __pthread_slist_t): New typedefs.
793         (pthread_mutex_t): Replace __next and __prev fields with __list.
794         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
795         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
796         (lll_futex_wake_unlock): Define.
797         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
798         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
799         lll_robust_mutex_unlock): New macros.
800         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
801         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
802         vfork.S.
803         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
805 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
807         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
808         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
810 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
812         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
813         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
814         (INTERNAL_SYSCALL_NCS): New.
815         (internal_syscall0, internal_syscall1, internal_syscall2,
816         internal_syscall3, internal_syscall4, internal_syscall5,
817         internal_syscall6): Take ncs_init, cs_init, and input arguments.
818         Use them.  Correct types for registers.
819         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
820         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
821         (INTERNAL_SYSCALL_NCS): New.
822         (internal_syscall0, internal_syscall1, internal_syscall2,
823         internal_syscall3, internal_syscall4, internal_syscall5,
824         internal_syscall6): Take ncs_init, cs_init, and input arguments.
825         Use them.
826         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
827         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
828         points.
829         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
830         Use Elf(Addr) for TLS relocation targets.
831         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
832         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
833         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
834         futexp to long for n64.
835         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
837 2006-02-20  Roland McGrath  <roland@redhat.com>
839         * sysdeps/mips/shlib-versions: New file.
840         * sysdeps/mips/preconfigure: New file.
841         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.