* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Define
[glibc-ports.git] / ChangeLog.mips
blob7aac3a14ffd3bddb8b60946eda1c974b8f26552f
1 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
4         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
5         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
6         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
8 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
10         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
11         Make available only for __USE_GNU.
13 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
15         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
16         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
18 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
20         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
21         __THROW vs. __nonnull order for C++.
23 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
25         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
26         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
27         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
29 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
30             Daniel Jacobowitz  <dan@codesourcery.com>
31             Richard Sandiford  <rdsandiford@googlemail.com>
33         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
34         * sysdeps/mips/dl-lookup.c: New.
35         * sysdeps/mips/do-lookup.h: New.
36         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
37         definition.
38         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
39         if needed.
40         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
41         (elf_machine_type_class): Likewise.
42         (ELF_MACHINE_PLT_REL): Define.
43         (elf_machine_fixup_plt): New.
44         (elf_machine_plt_value): New.
45         (elf_machine_reloc): Handle jump slot and copy relocations.
46         (elf_machine_lazy_rel): Point relocation place at PLT if
47         required.
48         (RESOLVE_GOTSYM): Take a relocation type argument.
49         (elf_machine_got_rel): Bind lazy stubs directly to their target if
50         !lazy.  Skip lazy binding for PLT symbols.
51         (elf_machine_runtime_setup): Fill in .got.plt header.
52         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
53         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
54         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
55         (_dl_runtime_pltresolve): New.
56         * sysdeps/mips/bits/linkmap.h: New file.
57         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
58         64-bit versions.
60         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
61         Delete definition.
62         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
63         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
64         (PSEUDO): Use them.  Move outside __PIC__.
65         (PSEUDO_JMP): New.
66         (CENABLE, CDISABLE): Use it.
68 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
70         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
71         to epoll_create1.
73 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
75         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
76         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
77         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
78         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
79         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
80         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
81         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
83 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
85         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
86         volatile.
88 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
90         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
91         type.
93 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
95         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
96         (SOCK_DCCP): Define.
98 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
100         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
101         RUSAGE_THREAD and RUSAGE_LWP.
103 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
105         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
106         shmid_ds.
108 2008-04-21  Khem Raj  <kraj@mvista.com>
110         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
112 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
114         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add 
115         truncate and ftruncate systems calls.
116         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
117         empty file.
118         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
120 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
122         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
123         ARG_MAX if <linux/limits.h> has defined it.
125 2008-03-28  Robin Randhawa  <robin@mips.com>
127         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
128         barriers to enforce strict ordering on weakly ordered systems.
130 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
131             Daniel Jacobowitz  <dan@codesourcery.com>
133         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
134         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
135         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
137 2008-03-09  Andreas Jaeger  <aj@suse.de>
139         [BZ #5753]
140         * sysdeps/mips/ieee754.h: Use protected namespace
141         __BIG_ENDIAN/__LITTLE_ENDIAN.
142         Patch by Aurelien Jarno <aurelien@aurel32.net>.
144 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
146         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
147         Reorganize to match other architectures.  Replace _timer._timer1
148         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
149         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
150         (si_timerid, si_overrun): Define.
151         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
152         (__pthread_attr_s): Remove declaration.
153         (struct sigevent): Remove XXX.  Add _tid.
155 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
157         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
159 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
161         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
162         type and __THROW marker of splice, vmsplice, and tee.
164 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
166         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
167         LLL_PRIVATE argument to lll_futex_wake.
168         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
169         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
170         comment.
171         (PF_IUCV, PF_RXRPC): Define.
172         (PF_MAX): Update.
173         (AF_IUCV, AF_RXRPC): Define.
174         (MSG_CMSG_CLOEXEC): Define.
175         (_EXTERN_INLINE): Define to __extern_inline.
176         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
177         UTIME_OMIT): Define.
178         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
179         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
180         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
181         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
182         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
183         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
184         LLL_LOCK_*.  Include <kernel-features.h>.
185         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
186         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
187         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
188         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
189         lll_futex_wait.
190         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
191         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
192         private arguments.
193         (__lll_robust_trylock): Convert to macro.
194         (__lll_robust_lock_wait): Add private argument.
195         (__lll_lock_wait_private, __lll_lock_wait): Declare.
196         (__lll_lock): Convert to macro.  Take private argument.
197         (__lll_cond_lock): Likewise.
198         (lll_lock, lll_cond_lock): Take private arguments.
199         (__lll_robust_lock): Take private argument.  Convert to macro.
200         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
201         lll_robust_cond_lock): Take private arguments.
202         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
203         arguments.
204         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
205         (lll_timedlock, lll_robust_timedlock): Take private arguments.
206         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
207         private arguments.
208         (lll_unlock, lll_robust_unlock): Take private arguments.
209         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
210         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
211         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
212         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
213         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
214         lll_cond_wake, lll_cond_broadcast): Remove.
215         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
216         to __extern_inline.
218 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
220         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
221         New macros for the (n)64 and n32 ABIs.
222         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
224 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
226         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
227         Define __WORDSIZE_COMPAT32 as 1.
229 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
231         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
232         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
233         PTHREAD_STACK_MIN.
235 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
237         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
239         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
240         Delete.
242 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
244         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
245         (internal_syscall1, internal_syscall2, internal_syscall3,
246         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
248 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
250         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
251         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
252         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
253         THREAD_GSCOPE_WAIT): Define.
254         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
255         (FUTEX_PRIVATE_FLAG): Define.
256         (lll_unlock_wake_cb): Delete prototype.
257         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
258         <endian.h>.
259         (pthread_rwlock_t): Shrink __flags and add __shared.
261 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
263         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
264         (posix_fadvise): Fix high word of len argument.
266 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
268         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
269         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
270         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
271         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
272         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
273         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
275 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
277         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
278         * sysdeps/mips/mips64/n64/Implies: Likewise.
279         * sysdeps/mips/mips64/soft-fp/Makefile: New.
280         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
281         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
282         <fpu_control.h>.  Use hardware exception and rounding mode
283         settings.
285 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
287         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
288         r_info argument to ElfW(Addr).
290 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
292         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
294 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
295             Daniel Jacobowitz  <dan@codesourcery.com>
297         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
298         shmctl, and semctl.
299         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
300         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
301         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
303 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
305         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
306         PTR_DEMANGLE): Define.
307         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
308         PTR_DEMANGLE): Define.
309         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
310         PTR_DEMANGLE): Define.
312 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
314         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
315         (cfi_same_value): Delete definition.
317 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
319         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
320         (elf_machine_reloc): New function, retaining the body of
321         elf_machine_rel.  Take the reloc's r_info field as an argument,
322         not the reloc itself.  Add extra r_addend and inplace_p arguments.
323         When inplace_p is false, use r_addend as the addend, not the contents
324         of the relocation field.  Hoist the conversion of reloc_addr to
325         "ELFW(Addr) *".  Don't try to apply TLS relocations against
326         undefined symbols.  Add R_MIPS_GLOB_DAT support.
327         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
328         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
329         to ElfW(Rela).
331 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
333         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
334         multiple inclusion guard.
335         * sysdeps/mips/elf/ldsodefs.h: Delete file.
337 2007-01-04  Thiemo Seufer  <ths@networkno.de>
339         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
340         to match the kernel.
342 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
344         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
345         (RTLD_SINGLE_THREAD_P): Define.
346         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
348 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
350         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
351         prototype.
353 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
355         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
356         code.
357         (__xstat_conv): Use memset to clear padding arrays.  Check for
358         overflow.
359         (__xstat64_conv): Use memset to clear padding arrays.
360         (__xstat32_conv): New function.
361         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
362         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
364 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
366         * sysdeps/mips/fpu_control.h: If soft-float, don't use
367         floating-point registers.
368         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
369         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
370         Likewise.
372 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
374         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
375         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
377 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
379         * sysdeps/mips/mips64/n32/libm-test-ulps,
380         sysdeps/mips/mips64/n64/libm-test-ulps: New.
382 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
384         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
385         defined, include the named file.
387 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
389         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
390         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
391         Define.
393 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
395         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
396         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
397         types.
399 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
401         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
402         Don't use struct timespec.
403         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
404         __xstat64_conv): Copy individual timespec fields.
406 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
408         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
410 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
412         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
413         * sysdeps/mips/fpu/fesetround.c: Likewise.
415 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
416             Daniel Jacobowitz  <dan@codesourcery.com>
418         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
419         dump sc_cause, sc_status or sc_badvaddr.
420         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
421         structure definitions after DSP kernel changes.
422         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
423         after the same DSP changes.
425 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
427         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
428         st_atim, st_mtim and st_ctim interface.
429         (struct stat64): Likewise.
430         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
431         Replace st_atime and its padding field with st_atim.  Likewise
432         st_mtime/st_mtim and st_ctime/st_ctim.
433         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
434         after above changes.
435         (__xstat64_conv): Likewise.
437 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
439         * sysdeps/mips/ldsodefs.h: New file.
440         * sysdeps/mips/tst-audit.h: New file.
442 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
444         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
445         for consistency with other ports.
446         (MADV_REMOVE): Correct value.
447         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
448         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
449         POSIX_MADV_DONTNEED): Define.
451 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
453         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
454         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
455         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
456         and SYNC_FILE_RANGE_WAIT_AFTER.
457         Declare sync_file_range, vmsplice, splice and tee.
459 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
461         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
462         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
463         prototype.
465 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
467         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
468         Define.
470 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
472         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
473         typo.
475 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
477         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
478         i386/fork.c.
480 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
482         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
483         libc_cv_localedir, libdir, arch_minimum_kernel, and
484         libc_cv_gcc_unwind_find_fde.
485         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
486         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
487         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
489 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
491         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
492         (__pthread_list_t, __pthread_slist_t): New typedefs.
493         (pthread_mutex_t): Replace __next and __prev fields with __list.
494         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
495         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
496         (lll_futex_wake_unlock): Define.
497         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
498         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
499         lll_robust_mutex_unlock): New macros.
500         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.  
501         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
502         vfork.S.
503         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
505 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
507         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
508         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
510 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
512         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
513         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
514         (INTERNAL_SYSCALL_NCS): New.
515         (internal_syscall0, internal_syscall1, internal_syscall2,
516         internal_syscall3, internal_syscall4, internal_syscall5,
517         internal_syscall6): Take ncs_init, cs_init, and input arguments.
518         Use them.  Correct types for registers.
519         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
520         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
521         (INTERNAL_SYSCALL_NCS): New.
522         (internal_syscall0, internal_syscall1, internal_syscall2,
523         internal_syscall3, internal_syscall4, internal_syscall5,
524         internal_syscall6): Take ncs_init, cs_init, and input arguments.
525         Use them.
526         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
527         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
528         points.
529         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
530         Use Elf(Addr) for TLS relocation targets.
531         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
532         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
533         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
534         futexp to long for n64.
535         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
537 2006-02-20  Roland McGrath  <roland@redhat.com>
539         * sysdeps/mips/shlib-versions: New file.
540         * sysdeps/mips/preconfigure: New file.
541         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.