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