1 2008-08-19 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
6 2008-07-18 Joseph Myers <joseph@codesourcery.com>
8 * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
11 2008-05-21 Joseph Myers <joseph@codesourcery.com>
13 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
16 2008-05-01 Joseph Myers <joseph@codesourcery.com>
18 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
19 RUSAGE_THREAD and RUSAGE_LWP.
21 2008-04-21 Daniel Jacobowitz <dan@codesourcery.com>
23 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
26 2008-04-21 Khem Raj <kraj@mvista.com>
28 * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
30 2008-04-02 Aurelien Jarno <aurelien@aurel32.net>
32 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
33 truncate and ftruncate systems calls.
34 * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
36 * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
38 2008-03-28 Joseph Myers <joseph@codesourcery.com>
40 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
41 ARG_MAX if <linux/limits.h> has defined it.
43 2008-03-28 Robin Randhawa <robin@mips.com>
45 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
46 barriers to enforce strict ordering on weakly ordered systems.
48 2008-03-26 David Stephenson <david.stephenson@sicortex.com>
49 Daniel Jacobowitz <dan@codesourcery.com>
51 * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
52 * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
53 * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55 2008-03-09 Andreas Jaeger <aj@suse.de>
58 * sysdeps/mips/ieee754.h: Use protected namespace
59 __BIG_ENDIAN/__LITTLE_ENDIAN.
60 Patch by Aurelien Jarno <aurelien@aurel32.net>.
62 2008-03-04 Daniel Jacobowitz <dan@codesourcery.com>
64 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
65 Reorganize to match other architectures. Replace _timer._timer1
66 and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
67 _timer.si_sigval. Correct the type of _sigpoll.si_band.
68 (si_timerid, si_overrun): Define.
69 (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
70 (__pthread_attr_s): Remove declaration.
71 (struct sigevent): Remove XXX. Add _tid.
73 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
75 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
77 2007-09-25 Joseph Myers <joseph@codesourcery.com>
79 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
80 type and __THROW marker of splice, vmsplice, and tee.
82 2007-09-12 Joseph Myers <joseph@codesourcery.com>
84 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
85 LLL_PRIVATE argument to lll_futex_wake.
86 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
87 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
89 (PF_IUCV, PF_RXRPC): Define.
91 (AF_IUCV, AF_RXRPC): Define.
92 (MSG_CMSG_CLOEXEC): Define.
93 (_EXTERN_INLINE): Define to __extern_inline.
94 * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
96 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
97 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
98 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
99 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
100 lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
101 resp. lll_robust_*. Renamed all LLL_MUTEX_LOCK_* macros to
102 LLL_LOCK_*. Include <kernel-features.h>.
103 (LLL_LOCK_INITIALIZER): Remove duplicate definition.
104 (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
105 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
106 (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
108 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
109 lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
111 (__lll_robust_trylock): Convert to macro.
112 (__lll_robust_lock_wait): Add private argument.
113 (__lll_lock_wait_private, __lll_lock_wait): Declare.
114 (__lll_lock): Convert to macro. Take private argument.
115 (__lll_cond_lock): Likewise.
116 (lll_lock, lll_cond_lock): Take private arguments.
117 (__lll_robust_lock): Take private argument. Convert to macro.
118 (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
119 lll_robust_cond_lock): Take private arguments.
120 (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
122 (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
123 (lll_timedlock, lll_robust_timedlock): Take private arguments.
124 (__lll_unlock, __lll_robust_unlock): Convert to macros. Take
126 (lll_unlock, lll_robust_unlock): Take private arguments.
127 (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
128 lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
129 (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
130 (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
131 __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
132 lll_cond_wake, lll_cond_broadcast): Remove.
133 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
136 2007-08-06 Maciej W. Rozycki <macro@linux-mips.org>
138 * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
139 New macros for the (n)64 and n32 ABIs.
140 (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
142 2007-07-13 Carlos O'Donell <carlos@codesourcery.com>
144 * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
145 Define __WORDSIZE_COMPAT32 as 1.
147 2007-07-13 Joseph Myers <joseph@codesourcery.com>
149 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
150 libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h. Increase
153 2007-07-10 Daniel Jacobowitz <dan@codesourcery.com>
155 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
157 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
160 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com>
162 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
163 (internal_syscall1, internal_syscall2, internal_syscall3,
164 internal_syscall4, internal_syscall5, internal_syscall6): Use it.
166 2007-06-06 Daniel Jacobowitz <dan@codesourcery.com>
168 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
169 THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
170 (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
171 THREAD_GSCOPE_WAIT): Define.
172 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
173 (FUTEX_PRIVATE_FLAG): Define.
174 (lll_unlock_wake_cb): Delete prototype.
175 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
177 (pthread_rwlock_t): Shrink __flags and add __shared.
179 2007-05-24 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
181 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
182 (posix_fadvise): Fix high word of len argument.
184 2007-05-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
186 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
187 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
188 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
189 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
190 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
191 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
193 2007-05-23 Joseph Myers <joseph@codesourcery.com>
195 * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
196 * sysdeps/mips/mips64/n64/Implies: Likewise.
197 * sysdeps/mips/mips64/soft-fp/Makefile: New.
198 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
199 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
200 <fpu_control.h>. Use hardware exception and rounding mode
203 2007-05-23 Richard Sandiford <rsandifo@nildram.co.uk>
205 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
206 r_info argument to ElfW(Addr).
208 2007-02-01 Joseph Myers <joseph@codesourcery.com>
210 * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
212 2007-01-25 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
213 Daniel Jacobowitz <dan@codesourcery.com>
215 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
217 * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
218 sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
219 sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
221 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
223 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
224 PTR_DEMANGLE): Define.
225 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
226 PTR_DEMANGLE): Define.
227 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
228 PTR_DEMANGLE): Define.
230 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
232 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
233 (cfi_same_value): Delete definition.
235 2007-01-08 Richard Sandiford <richard@codesourcery.com>
237 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
238 (elf_machine_reloc): New function, retaining the body of
239 elf_machine_rel. Take the reloc's r_info field as an argument,
240 not the reloc itself. Add extra r_addend and inplace_p arguments.
241 When inplace_p is false, use r_addend as the addend, not the contents
242 of the relocation field. Hoist the conversion of reloc_addr to
243 "ELFW(Addr) *". Don't try to apply TLS relocations against
244 undefined symbols. Add R_MIPS_GLOB_DAT support.
245 (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
246 (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
249 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
251 * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h. Correct
252 multiple inclusion guard.
253 * sysdeps/mips/elf/ldsodefs.h: Delete file.
255 2007-01-04 Thiemo Seufer <ths@networkno.de>
257 * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
260 2006-10-31 Daniel Jacobowitz <dan@codesourcery.com>
262 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
263 (RTLD_SINGLE_THREAD_P): Define.
264 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
266 2006-10-31 Joseph Myers <joseph@codesourcery.com>
268 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
271 2006-09-22 Richard Sandiford <richard@codesourcery.com>
273 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
275 (__xstat_conv): Use memset to clear padding arrays. Check for
277 (__xstat64_conv): Use memset to clear padding arrays.
278 (__xstat32_conv): New function.
279 * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
280 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
282 2006-09-21 Joseph Myers <joseph@codesourcery.com>
284 * sysdeps/mips/fpu_control.h: If soft-float, don't use
285 floating-point registers.
286 * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
287 sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
290 2006-08-04 Joseph Myers <joseph@codesourcery.com>
292 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
293 FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
295 2006-07-24 Joseph Myers <joseph@codesourcery.com>
297 * sysdeps/mips/mips64/n32/libm-test-ulps,
298 sysdeps/mips/mips64/n64/libm-test-ulps: New.
300 2006-07-24 Joseph Myers <joseph@codesourcery.com>
302 * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
303 defined, include the named file.
305 2006-06-08 Daniel Jacobowitz <dan@codesourcery.com>
307 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
308 (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
311 2006-06-02 Joseph Myers <joseph@codesourcery.com>
313 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
314 RLIM64_INFINITY): Define appropriately for N64. Use unsigned
317 2006-06-02 Joseph Myers <joseph@codesourcery.com>
319 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
320 Don't use struct timespec.
321 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
322 __xstat64_conv): Copy individual timespec fields.
324 2006-06-02 Richard Sandiford <richard@codesourcery.com>
326 * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
328 2006-06-02 Joseph Myers <joseph@codesourcery.com>
330 * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
331 * sysdeps/mips/fpu/fesetround.c: Likewise.
333 2006-05-10 Richard Sandiford <richard@codesourcery.com>
334 Daniel Jacobowitz <dan@codesourcery.com>
336 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
337 dump sc_cause, sc_status or sc_badvaddr.
338 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite. Update
339 structure definitions after DSP kernel changes.
340 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
341 after the same DSP changes.
343 2006-05-08 Richard Sandiford <richard@codesourcery.com>
345 * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
346 st_atim, st_mtim and st_ctim interface.
347 (struct stat64): Likewise.
348 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
349 Replace st_atime and its padding field with st_atim. Likewise
350 st_mtime/st_mtim and st_ctime/st_ctim.
351 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
353 (__xstat64_conv): Likewise.
355 2006-05-08 Richard Sandiford <richard@codesourcery.com>
357 * sysdeps/mips/ldsodefs.h: New file.
358 * sysdeps/mips/tst-audit.h: New file.
360 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
362 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
363 for consistency with other ports.
364 (MADV_REMOVE): Correct value.
365 (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
366 POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
367 POSIX_MADV_DONTNEED): Define.
369 2006-05-05 Lior Balkohen <balkohen@gmail.com>
371 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
372 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
373 Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
374 and SYNC_FILE_RANGE_WAIT_AFTER.
375 Declare sync_file_range, vmsplice, splice and tee.
377 2006-03-27 Lior Balkohen <balkohen@gmail.com>
379 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
380 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. Add readahead
383 2006-03-27 Daniel Jacobowitz <dan@codesourcery.com>
385 * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
388 2006-03-27 Denis Barbier <barbier@linuxfr.org>
390 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
393 2006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
395 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
398 2006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
400 * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
401 libc_cv_localedir, libdir, arch_minimum_kernel, and
402 libc_cv_gcc_unwind_find_fde.
403 * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
404 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
405 * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
407 2006-03-02 Lior Balkohen <balkohen@gmail.com>
409 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
410 (__pthread_list_t, __pthread_slist_t): New typedefs.
411 (pthread_mutex_t): Replace __next and __prev fields with __list.
412 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
413 FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
414 (lll_futex_wake_unlock): Define.
415 (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
416 lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
417 lll_robust_mutex_unlock): New macros.
418 (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
419 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
421 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
423 2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
425 * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
426 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
428 2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
430 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
431 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
432 (INTERNAL_SYSCALL_NCS): New.
433 (internal_syscall0, internal_syscall1, internal_syscall2,
434 internal_syscall3, internal_syscall4, internal_syscall5,
435 internal_syscall6): Take ncs_init, cs_init, and input arguments.
436 Use them. Correct types for registers.
437 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
438 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
439 (INTERNAL_SYSCALL_NCS): New.
440 (internal_syscall0, internal_syscall1, internal_syscall2,
441 internal_syscall3, internal_syscall4, internal_syscall5,
442 internal_syscall6): Take ncs_init, cs_init, and input arguments.
444 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
445 recvfrom and sendto. Mark lseek, msgrcv, and msgsnd as cancellation
447 * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
448 Use Elf(Addr) for TLS relocation targets.
449 * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
450 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
451 lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
452 futexp to long for n64.
453 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
455 2006-02-20 Roland McGrath <roland@redhat.com>
457 * sysdeps/mips/shlib-versions: New file.
458 * sysdeps/mips/preconfigure: New file.
459 * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.