* sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
[glibc-ports.git] / ChangeLog.mips
blobe8a7a11d802930af50b73eaf4dc5a135acd18902
1 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
4         __ASSUME_PWRITEV): Don't define here.
6 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
8         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
10 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
12         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
13         numbers.
14         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
15         Define.
16         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
17         preadv and pwritev.
19 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
21         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
22         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
24 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
26         [BZ #7074]
27         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
28         Fix the condition used to annotate n32 objects.
30 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
32         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
33         Change parameters and use next_line.
35 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
37         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
38         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
39         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
41 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
43         * sysdeps/mips/bits/link.h: Uglify function parameter names.
44         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
45         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
46         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
47         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
49 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
51         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
52         fallocate{,64}.
54 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
56         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
57         UTIME_OMIT only with __USE_ATFILE.
59 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
61         [BZ #7040]
62         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
63         inotify_rm_watch should have type int.
65 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
67         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
69 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
70             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
72         PR glibc/1048
73         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
74         variable page size for MIPS.
75         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
76         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
77         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
79 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
81         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
82         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
83         -D_GNU_SOURCE.
85 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
87         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
88         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
90 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
92         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
93         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
94         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
95         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
97 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
99         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
100         Make available only for __USE_GNU.
102 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
104         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
105         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
107 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
109         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
110         __THROW vs. __nonnull order for C++.
112 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
114         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
115         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
116         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
118 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
119             Daniel Jacobowitz  <dan@codesourcery.com>
120             Richard Sandiford  <rdsandiford@googlemail.com>
122         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
123         * sysdeps/mips/dl-lookup.c: New.
124         * sysdeps/mips/do-lookup.h: New.
125         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
126         definition.
127         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
128         if needed.
129         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
130         (elf_machine_type_class): Likewise.
131         (ELF_MACHINE_PLT_REL): Define.
132         (elf_machine_fixup_plt): New.
133         (elf_machine_plt_value): New.
134         (elf_machine_reloc): Handle jump slot and copy relocations.
135         (elf_machine_lazy_rel): Point relocation place at PLT if
136         required.
137         (RESOLVE_GOTSYM): Take a relocation type argument.
138         (elf_machine_got_rel): Bind lazy stubs directly to their target if
139         !lazy.  Skip lazy binding for PLT symbols.
140         (elf_machine_runtime_setup): Fill in .got.plt header.
141         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
142         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
143         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
144         (_dl_runtime_pltresolve): New.
145         * sysdeps/mips/bits/linkmap.h: New file.
146         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
147         64-bit versions.
149         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
150         Delete definition.
151         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
152         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
153         (PSEUDO): Use them.  Move outside __PIC__.
154         (PSEUDO_JMP): New.
155         (CENABLE, CDISABLE): Use it.
157 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
159         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
160         to epoll_create1.
162 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
164         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
165         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
166         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
167         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
168         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
169         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
170         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
172 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
174         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
175         volatile.
177 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
179         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
180         type.
182 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
184         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
185         (SOCK_DCCP): Define.
187 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
189         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
190         RUSAGE_THREAD and RUSAGE_LWP.
192 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
194         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
195         shmid_ds.
197 2008-04-21  Khem Raj  <kraj@mvista.com>
199         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
201 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
203         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add 
204         truncate and ftruncate systems calls.
205         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
206         empty file.
207         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
209 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
211         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
212         ARG_MAX if <linux/limits.h> has defined it.
214 2008-03-28  Robin Randhawa  <robin@mips.com>
216         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
217         barriers to enforce strict ordering on weakly ordered systems.
219 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
220             Daniel Jacobowitz  <dan@codesourcery.com>
222         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
223         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
224         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
226 2008-03-09  Andreas Jaeger  <aj@suse.de>
228         [BZ #5753]
229         * sysdeps/mips/ieee754.h: Use protected namespace
230         __BIG_ENDIAN/__LITTLE_ENDIAN.
231         Patch by Aurelien Jarno <aurelien@aurel32.net>.
233 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
235         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
236         Reorganize to match other architectures.  Replace _timer._timer1
237         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
238         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
239         (si_timerid, si_overrun): Define.
240         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
241         (__pthread_attr_s): Remove declaration.
242         (struct sigevent): Remove XXX.  Add _tid.
244 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
246         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
248 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
250         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
251         type and __THROW marker of splice, vmsplice, and tee.
253 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
255         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
256         LLL_PRIVATE argument to lll_futex_wake.
257         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
258         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
259         comment.
260         (PF_IUCV, PF_RXRPC): Define.
261         (PF_MAX): Update.
262         (AF_IUCV, AF_RXRPC): Define.
263         (MSG_CMSG_CLOEXEC): Define.
264         (_EXTERN_INLINE): Define to __extern_inline.
265         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
266         UTIME_OMIT): Define.
267         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
268         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
269         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
270         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
271         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
272         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
273         LLL_LOCK_*.  Include <kernel-features.h>.
274         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
275         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
276         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
277         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
278         lll_futex_wait.
279         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
280         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
281         private arguments.
282         (__lll_robust_trylock): Convert to macro.
283         (__lll_robust_lock_wait): Add private argument.
284         (__lll_lock_wait_private, __lll_lock_wait): Declare.
285         (__lll_lock): Convert to macro.  Take private argument.
286         (__lll_cond_lock): Likewise.
287         (lll_lock, lll_cond_lock): Take private arguments.
288         (__lll_robust_lock): Take private argument.  Convert to macro.
289         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
290         lll_robust_cond_lock): Take private arguments.
291         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
292         arguments.
293         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
294         (lll_timedlock, lll_robust_timedlock): Take private arguments.
295         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
296         private arguments.
297         (lll_unlock, lll_robust_unlock): Take private arguments.
298         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
299         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
300         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
301         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
302         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
303         lll_cond_wake, lll_cond_broadcast): Remove.
304         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
305         to __extern_inline.
307 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
309         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
310         New macros for the (n)64 and n32 ABIs.
311         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
313 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
315         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
316         Define __WORDSIZE_COMPAT32 as 1.
318 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
320         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
321         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
322         PTHREAD_STACK_MIN.
324 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
326         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
328         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
329         Delete.
331 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
333         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
334         (internal_syscall1, internal_syscall2, internal_syscall3,
335         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
337 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
339         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
340         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
341         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
342         THREAD_GSCOPE_WAIT): Define.
343         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
344         (FUTEX_PRIVATE_FLAG): Define.
345         (lll_unlock_wake_cb): Delete prototype.
346         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
347         <endian.h>.
348         (pthread_rwlock_t): Shrink __flags and add __shared.
350 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
352         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
353         (posix_fadvise): Fix high word of len argument.
355 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
357         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
358         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
359         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
360         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
361         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
362         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
364 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
366         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
367         * sysdeps/mips/mips64/n64/Implies: Likewise.
368         * sysdeps/mips/mips64/soft-fp/Makefile: New.
369         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
370         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
371         <fpu_control.h>.  Use hardware exception and rounding mode
372         settings.
374 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
376         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
377         r_info argument to ElfW(Addr).
379 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
381         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
383 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
384             Daniel Jacobowitz  <dan@codesourcery.com>
386         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
387         shmctl, and semctl.
388         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
389         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
390         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
392 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
394         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
395         PTR_DEMANGLE): Define.
396         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
397         PTR_DEMANGLE): Define.
398         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
399         PTR_DEMANGLE): Define.
401 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
403         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
404         (cfi_same_value): Delete definition.
406 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
408         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
409         (elf_machine_reloc): New function, retaining the body of
410         elf_machine_rel.  Take the reloc's r_info field as an argument,
411         not the reloc itself.  Add extra r_addend and inplace_p arguments.
412         When inplace_p is false, use r_addend as the addend, not the contents
413         of the relocation field.  Hoist the conversion of reloc_addr to
414         "ELFW(Addr) *".  Don't try to apply TLS relocations against
415         undefined symbols.  Add R_MIPS_GLOB_DAT support.
416         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
417         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
418         to ElfW(Rela).
420 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
422         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
423         multiple inclusion guard.
424         * sysdeps/mips/elf/ldsodefs.h: Delete file.
426 2007-01-04  Thiemo Seufer  <ths@networkno.de>
428         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
429         to match the kernel.
431 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
433         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
434         (RTLD_SINGLE_THREAD_P): Define.
435         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
437 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
439         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
440         prototype.
442 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
444         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
445         code.
446         (__xstat_conv): Use memset to clear padding arrays.  Check for
447         overflow.
448         (__xstat64_conv): Use memset to clear padding arrays.
449         (__xstat32_conv): New function.
450         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
451         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
453 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
455         * sysdeps/mips/fpu_control.h: If soft-float, don't use
456         floating-point registers.
457         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
458         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
459         Likewise.
461 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
463         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
464         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
466 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
468         * sysdeps/mips/mips64/n32/libm-test-ulps,
469         sysdeps/mips/mips64/n64/libm-test-ulps: New.
471 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
473         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
474         defined, include the named file.
476 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
478         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
479         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
480         Define.
482 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
484         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
485         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
486         types.
488 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
490         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
491         Don't use struct timespec.
492         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
493         __xstat64_conv): Copy individual timespec fields.
495 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
497         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
499 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
501         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
502         * sysdeps/mips/fpu/fesetround.c: Likewise.
504 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
505             Daniel Jacobowitz  <dan@codesourcery.com>
507         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
508         dump sc_cause, sc_status or sc_badvaddr.
509         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
510         structure definitions after DSP kernel changes.
511         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
512         after the same DSP changes.
514 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
516         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
517         st_atim, st_mtim and st_ctim interface.
518         (struct stat64): Likewise.
519         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
520         Replace st_atime and its padding field with st_atim.  Likewise
521         st_mtime/st_mtim and st_ctime/st_ctim.
522         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
523         after above changes.
524         (__xstat64_conv): Likewise.
526 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
528         * sysdeps/mips/ldsodefs.h: New file.
529         * sysdeps/mips/tst-audit.h: New file.
531 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
533         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
534         for consistency with other ports.
535         (MADV_REMOVE): Correct value.
536         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
537         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
538         POSIX_MADV_DONTNEED): Define.
540 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
542         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
543         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
544         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
545         and SYNC_FILE_RANGE_WAIT_AFTER.
546         Declare sync_file_range, vmsplice, splice and tee.
548 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
550         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
551         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
552         prototype.
554 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
556         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
557         Define.
559 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
561         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
562         typo.
564 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
566         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
567         i386/fork.c.
569 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
571         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
572         libc_cv_localedir, libdir, arch_minimum_kernel, and
573         libc_cv_gcc_unwind_find_fde.
574         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
575         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
576         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
578 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
580         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
581         (__pthread_list_t, __pthread_slist_t): New typedefs.
582         (pthread_mutex_t): Replace __next and __prev fields with __list.
583         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
584         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
585         (lll_futex_wake_unlock): Define.
586         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
587         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
588         lll_robust_mutex_unlock): New macros.
589         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
590         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
591         vfork.S.
592         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
594 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
596         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
597         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
599 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
601         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
602         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
603         (INTERNAL_SYSCALL_NCS): New.
604         (internal_syscall0, internal_syscall1, internal_syscall2,
605         internal_syscall3, internal_syscall4, internal_syscall5,
606         internal_syscall6): Take ncs_init, cs_init, and input arguments.
607         Use them.  Correct types for registers.
608         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
609         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
610         (INTERNAL_SYSCALL_NCS): New.
611         (internal_syscall0, internal_syscall1, internal_syscall2,
612         internal_syscall3, internal_syscall4, internal_syscall5,
613         internal_syscall6): Take ncs_init, cs_init, and input arguments.
614         Use them.
615         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
616         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
617         points.
618         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
619         Use Elf(Addr) for TLS relocation targets.
620         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
621         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
622         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
623         futexp to long for n64.
624         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
626 2006-02-20  Roland McGrath  <roland@redhat.com>
628         * sysdeps/mips/shlib-versions: New file.
629         * sysdeps/mips/preconfigure: New file.
630         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.