* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
[glibc-ports.git] / ChangeLog.mips
blobb4253d8275af1c2ca3fccb8b2a1700649de9911b
1 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
4         shmid_ds.
6 2008-04-21  Khem Raj  <kraj@mvista.com>
8         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
10 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
12         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add 
13         truncate and ftruncate systems calls.
14         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
15         empty file.
16         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
18 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
20         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
21         ARG_MAX if <linux/limits.h> has defined it.
23 2008-03-28  Robin Randhawa  <robin@mips.com>
25         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
26         barriers to enforce strict ordering on weakly ordered systems.
28 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
29             Daniel Jacobowitz  <dan@codesourcery.com>
31         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
32         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
33         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35 2008-03-09  Andreas Jaeger  <aj@suse.de>
37         [BZ #5753]
38         * sysdeps/mips/ieee754.h: Use protected namespace
39         __BIG_ENDIAN/__LITTLE_ENDIAN.
40         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
44         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
45         Reorganize to match other architectures.  Replace _timer._timer1
46         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
47         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
48         (si_timerid, si_overrun): Define.
49         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
50         (__pthread_attr_s): Remove declaration.
51         (struct sigevent): Remove XXX.  Add _tid.
53 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
55         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
57 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
59         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
60         type and __THROW marker of splice, vmsplice, and tee.
62 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
64         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
65         LLL_PRIVATE argument to lll_futex_wake.
66         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
67         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
68         comment.
69         (PF_IUCV, PF_RXRPC): Define.
70         (PF_MAX): Update.
71         (AF_IUCV, AF_RXRPC): Define.
72         (MSG_CMSG_CLOEXEC): Define.
73         (_EXTERN_INLINE): Define to __extern_inline.
74         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
75         UTIME_OMIT): Define.
76         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
77         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
78         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
79         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
80         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
81         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
82         LLL_LOCK_*.  Include <kernel-features.h>.
83         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
84         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
85         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
86         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
87         lll_futex_wait.
88         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
89         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
90         private arguments.
91         (__lll_robust_trylock): Convert to macro.
92         (__lll_robust_lock_wait): Add private argument.
93         (__lll_lock_wait_private, __lll_lock_wait): Declare.
94         (__lll_lock): Convert to macro.  Take private argument.
95         (__lll_cond_lock): Likewise.
96         (lll_lock, lll_cond_lock): Take private arguments.
97         (__lll_robust_lock): Take private argument.  Convert to macro.
98         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
99         lll_robust_cond_lock): Take private arguments.
100         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
101         arguments.
102         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
103         (lll_timedlock, lll_robust_timedlock): Take private arguments.
104         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
105         private arguments.
106         (lll_unlock, lll_robust_unlock): Take private arguments.
107         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
108         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
109         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
110         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
111         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
112         lll_cond_wake, lll_cond_broadcast): Remove.
113         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
114         to __extern_inline.
116 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
118         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
119         New macros for the (n)64 and n32 ABIs.
120         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
122 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
124         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
125         Define __WORDSIZE_COMPAT32 as 1.
127 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
129         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
130         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
131         PTHREAD_STACK_MIN.
133 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
135         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
137         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
138         Delete.
140 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
142         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
143         (internal_syscall1, internal_syscall2, internal_syscall3,
144         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
146 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
148         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
149         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
150         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
151         THREAD_GSCOPE_WAIT): Define.
152         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
153         (FUTEX_PRIVATE_FLAG): Define.
154         (lll_unlock_wake_cb): Delete prototype.
155         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
156         <endian.h>.
157         (pthread_rwlock_t): Shrink __flags and add __shared.
159 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
161         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
162         (posix_fadvise): Fix high word of len argument.
164 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
166         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
167         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
168         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
169         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
170         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
171         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
173 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
175         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
176         * sysdeps/mips/mips64/n64/Implies: Likewise.
177         * sysdeps/mips/mips64/soft-fp/Makefile: New.
178         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
179         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
180         <fpu_control.h>.  Use hardware exception and rounding mode
181         settings.
183 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
185         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
186         r_info argument to ElfW(Addr).
188 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
190         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
192 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
193             Daniel Jacobowitz  <dan@codesourcery.com>
195         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
196         shmctl, and semctl.
197         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
198         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
199         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
201 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
203         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
204         PTR_DEMANGLE): Define.
205         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
206         PTR_DEMANGLE): Define.
207         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
208         PTR_DEMANGLE): Define.
210 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
212         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
213         (cfi_same_value): Delete definition.
215 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
217         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
218         (elf_machine_reloc): New function, retaining the body of
219         elf_machine_rel.  Take the reloc's r_info field as an argument,
220         not the reloc itself.  Add extra r_addend and inplace_p arguments.
221         When inplace_p is false, use r_addend as the addend, not the contents
222         of the relocation field.  Hoist the conversion of reloc_addr to
223         "ELFW(Addr) *".  Don't try to apply TLS relocations against
224         undefined symbols.  Add R_MIPS_GLOB_DAT support.
225         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
226         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
227         to ElfW(Rela).
229 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
231         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
232         multiple inclusion guard.
233         * sysdeps/mips/elf/ldsodefs.h: Delete file.
235 2007-01-04  Thiemo Seufer  <ths@networkno.de>
237         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
238         to match the kernel.
240 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
242         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
243         (RTLD_SINGLE_THREAD_P): Define.
244         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
246 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
248         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
249         prototype.
251 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
253         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
254         code.
255         (__xstat_conv): Use memset to clear padding arrays.  Check for
256         overflow.
257         (__xstat64_conv): Use memset to clear padding arrays.
258         (__xstat32_conv): New function.
259         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
260         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
262 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
264         * sysdeps/mips/fpu_control.h: If soft-float, don't use
265         floating-point registers.
266         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
267         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
268         Likewise.
270 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
272         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
273         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
275 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
277         * sysdeps/mips/mips64/n32/libm-test-ulps,
278         sysdeps/mips/mips64/n64/libm-test-ulps: New.
280 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
282         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
283         defined, include the named file.
285 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
287         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
288         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
289         Define.
291 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
293         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
294         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
295         types.
297 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
299         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
300         Don't use struct timespec.
301         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
302         __xstat64_conv): Copy individual timespec fields.
304 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
306         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
308 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
310         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
311         * sysdeps/mips/fpu/fesetround.c: Likewise.
313 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
314             Daniel Jacobowitz  <dan@codesourcery.com>
316         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
317         dump sc_cause, sc_status or sc_badvaddr.
318         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
319         structure definitions after DSP kernel changes.
320         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
321         after the same DSP changes.
323 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
325         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
326         st_atim, st_mtim and st_ctim interface.
327         (struct stat64): Likewise.
328         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
329         Replace st_atime and its padding field with st_atim.  Likewise
330         st_mtime/st_mtim and st_ctime/st_ctim.
331         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
332         after above changes.
333         (__xstat64_conv): Likewise.
335 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
337         * sysdeps/mips/ldsodefs.h: New file.
338         * sysdeps/mips/tst-audit.h: New file.
340 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
342         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
343         for consistency with other ports.
344         (MADV_REMOVE): Correct value.
345         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
346         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
347         POSIX_MADV_DONTNEED): Define.
349 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
351         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
352         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
353         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
354         and SYNC_FILE_RANGE_WAIT_AFTER.
355         Declare sync_file_range, vmsplice, splice and tee.
357 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
359         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
360         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
361         prototype.
363 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
365         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
366         Define.
368 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
370         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
371         typo.
373 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
375         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
376         i386/fork.c.
378 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
380         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
381         libc_cv_localedir, libdir, arch_minimum_kernel, and
382         libc_cv_gcc_unwind_find_fde.
383         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
384         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
385         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
387 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
389         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
390         (__pthread_list_t, __pthread_slist_t): New typedefs.
391         (pthread_mutex_t): Replace __next and __prev fields with __list.
392         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
393         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
394         (lll_futex_wake_unlock): Define.
395         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
396         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
397         lll_robust_mutex_unlock): New macros.
398         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
399         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
400         vfork.S.
401         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
403 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
405         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
406         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
408 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
410         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
411         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
412         (INTERNAL_SYSCALL_NCS): New.
413         (internal_syscall0, internal_syscall1, internal_syscall2,
414         internal_syscall3, internal_syscall4, internal_syscall5,
415         internal_syscall6): Take ncs_init, cs_init, and input arguments.
416         Use them.  Correct types for registers.
417         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
418         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
419         (INTERNAL_SYSCALL_NCS): New.
420         (internal_syscall0, internal_syscall1, internal_syscall2,
421         internal_syscall3, internal_syscall4, internal_syscall5,
422         internal_syscall6): Take ncs_init, cs_init, and input arguments.
423         Use them.
424         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
425         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
426         points.
427         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
428         Use Elf(Addr) for TLS relocation targets.
429         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
430         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
431         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
432         futexp to long for n64.
433         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
435 2006-02-20  Roland McGrath  <roland@redhat.com>
437         * sysdeps/mips/shlib-versions: New file.
438         * sysdeps/mips/preconfigure: New file.
439         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.