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