Define F_DUPFD_CLOEXEC.
[glibc-ports.git] / ChangeLog.mips
blobffbc3441f74ede07c1177af5d6f45890f73fa1f5
1 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
5 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
7         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
8         type and __THROW marker of splice, vmsplice, and tee.
10 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
12         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
13         LLL_PRIVATE argument to lll_futex_wake.
14         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
15         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
16         comment.
17         (PF_IUCV, PF_RXRPC): Define.
18         (PF_MAX): Update.
19         (AF_IUCV, AF_RXRPC): Define.
20         (MSG_CMSG_CLOEXEC): Define.
21         (_EXTERN_INLINE): Define to __extern_inline.
22         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
23         UTIME_OMIT): Define.
24         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
25         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
26         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
27         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
28         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
29         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
30         LLL_LOCK_*.  Include <kernel-features.h>.
31         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
32         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
33         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
34         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
35         lll_futex_wait.
36         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
37         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
38         private arguments.
39         (__lll_robust_trylock): Convert to macro.
40         (__lll_robust_lock_wait): Add private argument.
41         (__lll_lock_wait_private, __lll_lock_wait): Declare.
42         (__lll_lock): Convert to macro.  Take private argument.
43         (__lll_cond_lock): Likewise.
44         (lll_lock, lll_cond_lock): Take private arguments.
45         (__lll_robust_lock): Take private argument.  Convert to macro.
46         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
47         lll_robust_cond_lock): Take private arguments.
48         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
49         arguments.
50         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
51         (lll_timedlock, lll_robust_timedlock): Take private arguments.
52         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
53         private arguments.
54         (lll_unlock, lll_robust_unlock): Take private arguments.
55         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
56         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
57         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
58         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
59         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
60         lll_cond_wake, lll_cond_broadcast): Remove.
61         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
62         to __extern_inline.
64 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
66         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
67         New macros for the (n)64 and n32 ABIs.
68         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
70 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
72         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
73         Define __WORDSIZE_COMPAT32 as 1.
75 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
77         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
78         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
79         PTHREAD_STACK_MIN.
81 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
83         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
85         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
86         Delete.
88 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
90         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
91         (internal_syscall1, internal_syscall2, internal_syscall3,
92         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
94 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
96         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
97         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
98         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
99         THREAD_GSCOPE_WAIT): Define.
100         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
101         (FUTEX_PRIVATE_FLAG): Define.
102         (lll_unlock_wake_cb): Delete prototype.
103         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
104         <endian.h>.
105         (pthread_rwlock_t): Shrink __flags and add __shared.
107 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
109         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
110         (posix_fadvise): Fix high word of len argument.
112 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
114         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
115         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
116         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
117         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
118         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
119         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
121 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
123         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
124         * sysdeps/mips/mips64/n64/Implies: Likewise.
125         * sysdeps/mips/mips64/soft-fp/Makefile: New.
126         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
127         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
128         <fpu_control.h>.  Use hardware exception and rounding mode
129         settings.
131 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
133         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
134         r_info argument to ElfW(Addr).
136 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
138         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
140 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
141             Daniel Jacobowitz  <dan@codesourcery.com>
143         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
144         shmctl, and semctl.
145         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
146         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
147         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
149 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
151         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
152         PTR_DEMANGLE): Define.
153         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
154         PTR_DEMANGLE): Define.
155         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
156         PTR_DEMANGLE): Define.
158 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
160         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
161         (cfi_same_value): Delete definition.
163 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
165         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
166         (elf_machine_reloc): New function, retaining the body of
167         elf_machine_rel.  Take the reloc's r_info field as an argument,
168         not the reloc itself.  Add extra r_addend and inplace_p arguments.
169         When inplace_p is false, use r_addend as the addend, not the contents
170         of the relocation field.  Hoist the conversion of reloc_addr to
171         "ELFW(Addr) *".  Don't try to apply TLS relocations against
172         undefined symbols.  Add R_MIPS_GLOB_DAT support.
173         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
174         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
175         to ElfW(Rela).
177 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
179         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
180         multiple inclusion guard.
181         * sysdeps/mips/elf/ldsodefs.h: Delete file.
183 2007-01-04  Thiemo Seufer  <ths@networkno.de>
185         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
186         to match the kernel.
188 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
190         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
191         (RTLD_SINGLE_THREAD_P): Define.
192         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
194 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
196         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
197         prototype.
199 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
201         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
202         code.
203         (__xstat_conv): Use memset to clear padding arrays.  Check for
204         overflow.
205         (__xstat64_conv): Use memset to clear padding arrays.
206         (__xstat32_conv): New function.
207         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
208         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
210 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
212         * sysdeps/mips/fpu_control.h: If soft-float, don't use
213         floating-point registers.
214         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
215         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
216         Likewise.
218 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
220         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
221         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
223 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
225         * sysdeps/mips/mips64/n32/libm-test-ulps,
226         sysdeps/mips/mips64/n64/libm-test-ulps: New.
228 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
230         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
231         defined, include the named file.
233 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
235         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
236         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
237         Define.
239 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
241         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
242         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
243         types.
245 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
247         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
248         Don't use struct timespec.
249         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
250         __xstat64_conv): Copy individual timespec fields.
252 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
254         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
256 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
258         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
259         * sysdeps/mips/fpu/fesetround.c: Likewise.
261 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
262             Daniel Jacobowitz  <dan@codesourcery.com>
264         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
265         dump sc_cause, sc_status or sc_badvaddr.
266         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
267         structure definitions after DSP kernel changes.
268         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
269         after the same DSP changes.
271 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
273         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
274         st_atim, st_mtim and st_ctim interface.
275         (struct stat64): Likewise.
276         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
277         Replace st_atime and its padding field with st_atim.  Likewise
278         st_mtime/st_mtim and st_ctime/st_ctim.
279         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
280         after above changes.
281         (__xstat64_conv): Likewise.
283 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
285         * sysdeps/mips/ldsodefs.h: New file.
286         * sysdeps/mips/tst-audit.h: New file.
288 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
290         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
291         for consistency with other ports.
292         (MADV_REMOVE): Correct value.
293         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
294         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
295         POSIX_MADV_DONTNEED): Define.
297 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
299         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
300         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
301         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
302         and SYNC_FILE_RANGE_WAIT_AFTER.
303         Declare sync_file_range, vmsplice, splice and tee.
305 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
307         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
308         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
309         prototype.
311 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
313         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
314         Define.
316 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
318         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
319         typo.
321 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
323         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
324         i386/fork.c.
326 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
328         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
329         libc_cv_localedir, libdir, arch_minimum_kernel, and
330         libc_cv_gcc_unwind_find_fde.
331         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
332         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
333         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
335 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
337         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
338         (__pthread_list_t, __pthread_slist_t): New typedefs.
339         (pthread_mutex_t): Replace __next and __prev fields with __list.
340         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
341         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
342         (lll_futex_wake_unlock): Define.
343         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
344         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
345         lll_robust_mutex_unlock): New macros.
346         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
347         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
348         vfork.S.
349         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
351 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
353         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
354         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
356 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
358         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
359         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
360         (INTERNAL_SYSCALL_NCS): New.
361         (internal_syscall0, internal_syscall1, internal_syscall2,
362         internal_syscall3, internal_syscall4, internal_syscall5,
363         internal_syscall6): Take ncs_init, cs_init, and input arguments.
364         Use them.  Correct types for registers.
365         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
366         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
367         (INTERNAL_SYSCALL_NCS): New.
368         (internal_syscall0, internal_syscall1, internal_syscall2,
369         internal_syscall3, internal_syscall4, internal_syscall5,
370         internal_syscall6): Take ncs_init, cs_init, and input arguments.
371         Use them.
372         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
373         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
374         points.
375         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
376         Use Elf(Addr) for TLS relocation targets.
377         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
378         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
379         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
380         futexp to long for n64.
381         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
383 2006-02-20  Roland McGrath  <roland@redhat.com>
385         * sysdeps/mips/shlib-versions: New file.
386         * sysdeps/mips/preconfigure: New file.
387         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.