2007-07-13 Carlos O'Donell <carlos@codesourcery.com>
[jlayton/glibc.git] / ChangeLog.mips
1 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
2
3         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
4         Define __WORDSIZE_COMPAT32 as 1.
5
6 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
7
8         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
9         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
10         PTHREAD_STACK_MIN.
11
12 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
13
14         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
15
16         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
17         Delete.
18
19 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
20
21         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
22         (internal_syscall1, internal_syscall2, internal_syscall3,
23         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
24
25 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
26
27         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
28         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
29         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
30         THREAD_GSCOPE_WAIT): Define.
31         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
32         (FUTEX_PRIVATE_FLAG): Define.
33         (lll_unlock_wake_cb): Delete prototype.
34         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
35         <endian.h>.
36         (pthread_rwlock_t): Shrink __flags and add __shared.
37
38 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
39
40         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
41         (posix_fadvise): Fix high word of len argument.
42
43 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
44
45         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
46         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
47         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
48         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
49         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
50         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
51
52 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
53
54         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
55         * sysdeps/mips/mips64/n64/Implies: Likewise.
56         * sysdeps/mips/mips64/soft-fp/Makefile: New.
57         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
58         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
59         <fpu_control.h>.  Use hardware exception and rounding mode
60         settings.
61
62 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
63
64         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
65         r_info argument to ElfW(Addr).
66
67 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
68
69         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
70
71 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
72             Daniel Jacobowitz  <dan@codesourcery.com>
73
74         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
75         shmctl, and semctl.
76         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
77         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
78         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
79
80 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
81
82         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
83         PTR_DEMANGLE): Define.
84         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
85         PTR_DEMANGLE): Define.
86         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
87         PTR_DEMANGLE): Define.
88
89 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
90
91         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
92         (cfi_same_value): Delete definition.
93
94 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
95
96         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
97         (elf_machine_reloc): New function, retaining the body of
98         elf_machine_rel.  Take the reloc's r_info field as an argument,
99         not the reloc itself.  Add extra r_addend and inplace_p arguments.
100         When inplace_p is false, use r_addend as the addend, not the contents
101         of the relocation field.  Hoist the conversion of reloc_addr to
102         "ELFW(Addr) *".  Don't try to apply TLS relocations against
103         undefined symbols.  Add R_MIPS_GLOB_DAT support.
104         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
105         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
106         to ElfW(Rela).
107
108 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
109
110         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
111         multiple inclusion guard.
112         * sysdeps/mips/elf/ldsodefs.h: Delete file.
113
114 2007-01-04  Thiemo Seufer  <ths@networkno.de>
115
116         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
117         to match the kernel.
118
119 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
120
121         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
122         (RTLD_SINGLE_THREAD_P): Define.
123         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
124
125 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
126
127         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
128         prototype.
129
130 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
131
132         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
133         code.
134         (__xstat_conv): Use memset to clear padding arrays.  Check for
135         overflow.
136         (__xstat64_conv): Use memset to clear padding arrays.
137         (__xstat32_conv): New function.
138         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
139         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
140
141 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
142
143         * sysdeps/mips/fpu_control.h: If soft-float, don't use
144         floating-point registers.
145         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
146         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
147         Likewise.
148
149 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
150
151         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
152         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
153
154 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
155
156         * sysdeps/mips/mips64/n32/libm-test-ulps,
157         sysdeps/mips/mips64/n64/libm-test-ulps: New.
158
159 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
160
161         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
162         defined, include the named file.
163
164 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
165
166         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
167         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
168         Define.
169
170 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
171
172         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
173         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
174         types.
175
176 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
177
178         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
179         Don't use struct timespec.
180         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
181         __xstat64_conv): Copy individual timespec fields.
182
183 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
184
185         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
186
187 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
188
189         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
190         * sysdeps/mips/fpu/fesetround.c: Likewise.
191
192 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
193             Daniel Jacobowitz  <dan@codesourcery.com>
194
195         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
196         dump sc_cause, sc_status or sc_badvaddr.
197         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
198         structure definitions after DSP kernel changes.
199         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
200         after the same DSP changes.
201
202 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
203
204         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
205         st_atim, st_mtim and st_ctim interface.
206         (struct stat64): Likewise.
207         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
208         Replace st_atime and its padding field with st_atim.  Likewise
209         st_mtime/st_mtim and st_ctime/st_ctim.
210         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
211         after above changes.
212         (__xstat64_conv): Likewise.
213
214 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
215
216         * sysdeps/mips/ldsodefs.h: New file.
217         * sysdeps/mips/tst-audit.h: New file.
218
219 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
220
221         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
222         for consistency with other ports.
223         (MADV_REMOVE): Correct value.
224         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
225         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
226         POSIX_MADV_DONTNEED): Define.
227
228 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
229
230         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
231         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
232         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
233         and SYNC_FILE_RANGE_WAIT_AFTER.
234         Declare sync_file_range, vmsplice, splice and tee.
235
236 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
237
238         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
239         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
240         prototype.
241
242 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
243
244         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
245         Define.
246
247 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
248
249         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
250         typo.
251
252 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
253
254         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
255         i386/fork.c.
256
257 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
258
259         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
260         libc_cv_localedir, libdir, arch_minimum_kernel, and
261         libc_cv_gcc_unwind_find_fde.
262         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
263         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
264         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
265
266 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
267
268         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
269         (__pthread_list_t, __pthread_slist_t): New typedefs.
270         (pthread_mutex_t): Replace __next and __prev fields with __list.
271         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
272         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
273         (lll_futex_wake_unlock): Define.
274         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
275         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
276         lll_robust_mutex_unlock): New macros.
277         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
278         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
279         vfork.S.
280         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
281
282 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
283
284         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
285         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
286
287 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
288
289         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
290         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
291         (INTERNAL_SYSCALL_NCS): New.
292         (internal_syscall0, internal_syscall1, internal_syscall2,
293         internal_syscall3, internal_syscall4, internal_syscall5,
294         internal_syscall6): Take ncs_init, cs_init, and input arguments.
295         Use them.  Correct types for registers.
296         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
297         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
298         (INTERNAL_SYSCALL_NCS): New.
299         (internal_syscall0, internal_syscall1, internal_syscall2,
300         internal_syscall3, internal_syscall4, internal_syscall5,
301         internal_syscall6): Take ncs_init, cs_init, and input arguments.
302         Use them.
303         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
304         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
305         points.
306         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
307         Use Elf(Addr) for TLS relocation targets.
308         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
309         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
310         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
311         futexp to long for n64.
312         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
313
314 2006-02-20  Roland McGrath  <roland@redhat.com>
315
316         * sysdeps/mips/shlib-versions: New file.
317         * sysdeps/mips/preconfigure: New file.
318         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.