Signal stack support for MIPS ____longjmp_chk.
[glibc.git] / ChangeLog.mips
blob5ba4297cf76de3613a9b5a703f01f2e24e6044ea
1 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
4         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
5         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
6         variable for env.  Use expansion of CHECK_SP macro for check.
7         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
9 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
11         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
12         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
14 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
16         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
17         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
19 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
21         * sysdeps/mips/do-lookup.h: Remove.
22         * sysdeps/mips/dl-lookup.c: Update from generic version, with
23         non-PIC handling integrated.
25 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
27         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
28         and AF_IEEE802154.
30 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
32         * sysdeps/mips/____longjmp_chk.c: New file.
33         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
34         undefine __longjmp.
35         * sysdeps/mips64/__longjmp.c: Likewise.
37 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
39         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
40         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
41         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
42         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
44 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
46         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
47         fallocate64@@GLIBC_2.11.
49 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
51         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
52         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
54 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
56         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
57         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
58         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
59         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
60         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
61         Update comment.
62         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
63         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
64         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers): 
65         Add ucontext_i.sym.
67 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
69         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
70         __ASSUME_PWRITEV): Don't define here.
72 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
74         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
76 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
78         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
79         numbers.
80         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
81         Define.
82         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
83         preadv and pwritev.
85 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
87         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
88         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
90 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
92         [BZ #7074]
93         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
94         Fix the condition used to annotate n32 objects.
96 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
98         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
99         Change parameters and use next_line.
101 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
103         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
104         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
105         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
107 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
109         * sysdeps/mips/bits/link.h: Uglify function parameter names.
110         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
111         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
112         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
113         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
115 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
117         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
118         fallocate{,64}.
120 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
122         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
123         UTIME_OMIT only with __USE_ATFILE.
125 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
127         [BZ #7040]
128         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
129         inotify_rm_watch should have type int.
131 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
133         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
135 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
136             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
138         PR glibc/1048
139         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
140         variable page size for MIPS.
141         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
142         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
143         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
145 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
147         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
148         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
149         -D_GNU_SOURCE.
151 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
153         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
154         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
156 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
158         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
159         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
160         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
161         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
163 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
165         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
166         Make available only for __USE_GNU.
168 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
170         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
171         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
173 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
175         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
176         __THROW vs. __nonnull order for C++.
178 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
180         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
181         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
182         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
184 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
185             Daniel Jacobowitz  <dan@codesourcery.com>
186             Richard Sandiford  <rdsandiford@googlemail.com>
188         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
189         * sysdeps/mips/dl-lookup.c: New.
190         * sysdeps/mips/do-lookup.h: New.
191         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
192         definition.
193         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
194         if needed.
195         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
196         (elf_machine_type_class): Likewise.
197         (ELF_MACHINE_PLT_REL): Define.
198         (elf_machine_fixup_plt): New.
199         (elf_machine_plt_value): New.
200         (elf_machine_reloc): Handle jump slot and copy relocations.
201         (elf_machine_lazy_rel): Point relocation place at PLT if
202         required.
203         (RESOLVE_GOTSYM): Take a relocation type argument.
204         (elf_machine_got_rel): Bind lazy stubs directly to their target if
205         !lazy.  Skip lazy binding for PLT symbols.
206         (elf_machine_runtime_setup): Fill in .got.plt header.
207         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
208         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
209         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
210         (_dl_runtime_pltresolve): New.
211         * sysdeps/mips/bits/linkmap.h: New file.
212         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
213         64-bit versions.
215         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
216         Delete definition.
217         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
218         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
219         (PSEUDO): Use them.  Move outside __PIC__.
220         (PSEUDO_JMP): New.
221         (CENABLE, CDISABLE): Use it.
223 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
225         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
226         to epoll_create1.
228 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
230         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
231         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
232         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
233         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
234         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
235         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
236         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
238 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
240         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
241         volatile.
243 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
245         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
246         type.
248 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
250         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
251         (SOCK_DCCP): Define.
253 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
255         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
256         RUSAGE_THREAD and RUSAGE_LWP.
258 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
260         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
261         shmid_ds.
263 2008-04-21  Khem Raj  <kraj@mvista.com>
265         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
267 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
269         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add 
270         truncate and ftruncate systems calls.
271         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
272         empty file.
273         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
275 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
277         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
278         ARG_MAX if <linux/limits.h> has defined it.
280 2008-03-28  Robin Randhawa  <robin@mips.com>
282         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
283         barriers to enforce strict ordering on weakly ordered systems.
285 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
286             Daniel Jacobowitz  <dan@codesourcery.com>
288         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
289         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
290         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
292 2008-03-09  Andreas Jaeger  <aj@suse.de>
294         [BZ #5753]
295         * sysdeps/mips/ieee754.h: Use protected namespace
296         __BIG_ENDIAN/__LITTLE_ENDIAN.
297         Patch by Aurelien Jarno <aurelien@aurel32.net>.
299 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
301         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
302         Reorganize to match other architectures.  Replace _timer._timer1
303         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
304         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
305         (si_timerid, si_overrun): Define.
306         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
307         (__pthread_attr_s): Remove declaration.
308         (struct sigevent): Remove XXX.  Add _tid.
310 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
312         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
314 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
316         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
317         type and __THROW marker of splice, vmsplice, and tee.
319 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
321         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
322         LLL_PRIVATE argument to lll_futex_wake.
323         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
324         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
325         comment.
326         (PF_IUCV, PF_RXRPC): Define.
327         (PF_MAX): Update.
328         (AF_IUCV, AF_RXRPC): Define.
329         (MSG_CMSG_CLOEXEC): Define.
330         (_EXTERN_INLINE): Define to __extern_inline.
331         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
332         UTIME_OMIT): Define.
333         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
334         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
335         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
336         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
337         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
338         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
339         LLL_LOCK_*.  Include <kernel-features.h>.
340         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
341         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
342         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
343         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
344         lll_futex_wait.
345         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
346         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
347         private arguments.
348         (__lll_robust_trylock): Convert to macro.
349         (__lll_robust_lock_wait): Add private argument.
350         (__lll_lock_wait_private, __lll_lock_wait): Declare.
351         (__lll_lock): Convert to macro.  Take private argument.
352         (__lll_cond_lock): Likewise.
353         (lll_lock, lll_cond_lock): Take private arguments.
354         (__lll_robust_lock): Take private argument.  Convert to macro.
355         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
356         lll_robust_cond_lock): Take private arguments.
357         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
358         arguments.
359         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
360         (lll_timedlock, lll_robust_timedlock): Take private arguments.
361         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
362         private arguments.
363         (lll_unlock, lll_robust_unlock): Take private arguments.
364         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
365         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
366         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
367         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
368         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
369         lll_cond_wake, lll_cond_broadcast): Remove.
370         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
371         to __extern_inline.
373 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
375         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
376         New macros for the (n)64 and n32 ABIs.
377         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
379 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
381         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
382         Define __WORDSIZE_COMPAT32 as 1.
384 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
386         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
387         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
388         PTHREAD_STACK_MIN.
390 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
392         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
394         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
395         Delete.
397 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
399         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
400         (internal_syscall1, internal_syscall2, internal_syscall3,
401         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
403 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
405         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
406         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
407         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
408         THREAD_GSCOPE_WAIT): Define.
409         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
410         (FUTEX_PRIVATE_FLAG): Define.
411         (lll_unlock_wake_cb): Delete prototype.
412         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
413         <endian.h>.
414         (pthread_rwlock_t): Shrink __flags and add __shared.
416 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
418         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
419         (posix_fadvise): Fix high word of len argument.
421 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
423         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
424         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
425         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
426         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
427         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
428         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
430 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
432         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
433         * sysdeps/mips/mips64/n64/Implies: Likewise.
434         * sysdeps/mips/mips64/soft-fp/Makefile: New.
435         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
436         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
437         <fpu_control.h>.  Use hardware exception and rounding mode
438         settings.
440 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
442         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
443         r_info argument to ElfW(Addr).
445 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
447         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
449 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
450             Daniel Jacobowitz  <dan@codesourcery.com>
452         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
453         shmctl, and semctl.
454         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
455         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
456         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
458 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
460         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
461         PTR_DEMANGLE): Define.
462         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
463         PTR_DEMANGLE): Define.
464         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
465         PTR_DEMANGLE): Define.
467 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
469         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
470         (cfi_same_value): Delete definition.
472 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
474         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
475         (elf_machine_reloc): New function, retaining the body of
476         elf_machine_rel.  Take the reloc's r_info field as an argument,
477         not the reloc itself.  Add extra r_addend and inplace_p arguments.
478         When inplace_p is false, use r_addend as the addend, not the contents
479         of the relocation field.  Hoist the conversion of reloc_addr to
480         "ELFW(Addr) *".  Don't try to apply TLS relocations against
481         undefined symbols.  Add R_MIPS_GLOB_DAT support.
482         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
483         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
484         to ElfW(Rela).
486 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
488         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
489         multiple inclusion guard.
490         * sysdeps/mips/elf/ldsodefs.h: Delete file.
492 2007-01-04  Thiemo Seufer  <ths@networkno.de>
494         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
495         to match the kernel.
497 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
499         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
500         (RTLD_SINGLE_THREAD_P): Define.
501         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
503 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
505         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
506         prototype.
508 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
510         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
511         code.
512         (__xstat_conv): Use memset to clear padding arrays.  Check for
513         overflow.
514         (__xstat64_conv): Use memset to clear padding arrays.
515         (__xstat32_conv): New function.
516         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
517         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
519 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
521         * sysdeps/mips/fpu_control.h: If soft-float, don't use
522         floating-point registers.
523         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
524         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
525         Likewise.
527 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
529         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
530         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
532 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
534         * sysdeps/mips/mips64/n32/libm-test-ulps,
535         sysdeps/mips/mips64/n64/libm-test-ulps: New.
537 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
539         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
540         defined, include the named file.
542 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
544         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
545         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
546         Define.
548 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
550         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
551         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
552         types.
554 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
556         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
557         Don't use struct timespec.
558         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
559         __xstat64_conv): Copy individual timespec fields.
561 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
563         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
565 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
567         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
568         * sysdeps/mips/fpu/fesetround.c: Likewise.
570 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
571             Daniel Jacobowitz  <dan@codesourcery.com>
573         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
574         dump sc_cause, sc_status or sc_badvaddr.
575         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
576         structure definitions after DSP kernel changes.
577         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
578         after the same DSP changes.
580 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
582         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
583         st_atim, st_mtim and st_ctim interface.
584         (struct stat64): Likewise.
585         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
586         Replace st_atime and its padding field with st_atim.  Likewise
587         st_mtime/st_mtim and st_ctime/st_ctim.
588         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
589         after above changes.
590         (__xstat64_conv): Likewise.
592 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
594         * sysdeps/mips/ldsodefs.h: New file.
595         * sysdeps/mips/tst-audit.h: New file.
597 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
599         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
600         for consistency with other ports.
601         (MADV_REMOVE): Correct value.
602         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
603         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
604         POSIX_MADV_DONTNEED): Define.
606 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
608         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
609         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
610         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
611         and SYNC_FILE_RANGE_WAIT_AFTER.
612         Declare sync_file_range, vmsplice, splice and tee.
614 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
616         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
617         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
618         prototype.
620 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
622         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
623         Define.
625 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
627         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
628         typo.
630 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
632         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
633         i386/fork.c.
635 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
637         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
638         libc_cv_localedir, libdir, arch_minimum_kernel, and
639         libc_cv_gcc_unwind_find_fde.
640         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
641         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
642         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
644 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
646         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
647         (__pthread_list_t, __pthread_slist_t): New typedefs.
648         (pthread_mutex_t): Replace __next and __prev fields with __list.
649         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
650         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
651         (lll_futex_wake_unlock): Define.
652         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
653         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
654         lll_robust_mutex_unlock): New macros.
655         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
656         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
657         vfork.S.
658         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
660 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
662         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
663         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
665 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
667         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
668         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
669         (INTERNAL_SYSCALL_NCS): New.
670         (internal_syscall0, internal_syscall1, internal_syscall2,
671         internal_syscall3, internal_syscall4, internal_syscall5,
672         internal_syscall6): Take ncs_init, cs_init, and input arguments.
673         Use them.  Correct types for registers.
674         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
675         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
676         (INTERNAL_SYSCALL_NCS): New.
677         (internal_syscall0, internal_syscall1, internal_syscall2,
678         internal_syscall3, internal_syscall4, internal_syscall5,
679         internal_syscall6): Take ncs_init, cs_init, and input arguments.
680         Use them.
681         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
682         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
683         points.
684         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
685         Use Elf(Addr) for TLS relocation targets.
686         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
687         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
688         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
689         futexp to long for n64.
690         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
692 2006-02-20  Roland McGrath  <roland@redhat.com>
694         * sysdeps/mips/shlib-versions: New file.
695         * sysdeps/mips/preconfigure: New file.
696         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.