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