Joseph Myers
93311332ba
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
...
fallocate{,64}.
2009-03-03 23:19:19 +00:00
Joseph Myers
2e3804efbf
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
...
UTIME_OMIT only with __USE_ATFILE.
2009-02-26 23:25:24 +00:00
Joseph Myers
8085bd60e2
* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
2009-02-02 15:36:15 +00:00
Joseph Myers
e27433a869
* sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
...
__rusage_who): Avoid comma after RUSAGE_CHILDREN if not
-D_GNU_SOURCE.
2009-01-12 16:45:43 +00:00
Joseph Myers
64762db413
* sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
...
Make available only for __USE_GNU.
2008-12-09 23:53:33 +00:00
Joseph Myers
72e2fdef91
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
...
SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
* sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
2008-08-19 16:12:35 +00:00
Daniel Jacobowitz
83d53ff1aa
2008-05-21 Joseph Myers <joseph@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
(SOCK_DCCP): Define.
2008-05-21 17:50:58 +00:00
Daniel Jacobowitz
098cab74db
2008-05-01 Joseph Myers <joseph@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
RUSAGE_THREAD and RUSAGE_LWP.
2008-05-01 12:34:13 +00:00
Daniel Jacobowitz
89e412f535
* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
...
shmid_ds.
* sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
shmid_ds.
2008-04-21 15:45:00 +00:00
Daniel Jacobowitz
7812cbad41
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
...
Reorganize to match other architectures. Replace _timer._timer1
and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
_timer.si_sigval. Correct the type of _sigpoll.si_band.
(si_timerid, si_overrun): Define.
(__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
(__pthread_attr_s): Remove declaration.
(struct sigevent): Remove XXX. Add _tid.
2008-03-04 19:39:30 +00:00
Daniel Jacobowitz
7e0bd9eb99
Define F_DUPFD_CLOEXEC.
2007-10-22 13:11:49 +00:00
Daniel Jacobowitz
017cc6330d
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Correct return value
...
type and __THROW marker of splice, vmsplice, and tee.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
type and __THROW marker of splice, vmsplice, and tee.
2007-09-25 12:04:54 +00:00
Daniel Jacobowitz
8c2766740d
* sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
...
LLL_PRIVATE argument to lll_futex_wake.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
* sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
comment.
(PF_IUCV, PF_RXRPC): Define.
(PF_MAX): Update.
(AF_IUCV, AF_RXRPC): Define.
(MSG_CMSG_CLOEXEC): Define.
(_EXTERN_INLINE): Define to __extern_inline.
* sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
UTIME_OMIT): Define.
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
resp. lll_robust_*. Renamed all LLL_MUTEX_LOCK_* macros to
LLL_LOCK_*. Include <kernel-features.h>.
(LLL_LOCK_INITIALIZER): Remove duplicate definition.
(LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
* sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
(clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
lll_futex_wait.
(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
private arguments.
(__lll_robust_trylock): Convert to macro.
(__lll_robust_lock_wait): Add private argument.
(__lll_lock_wait_private, __lll_lock_wait): Declare.
(__lll_lock): Convert to macro. Take private argument.
(__lll_cond_lock): Likewise.
(lll_lock, lll_cond_lock): Take private arguments.
(__lll_robust_lock): Take private argument. Convert to macro.
(lll_robust_lock, __lll_cond_lock, lll_cond_lock,
lll_robust_cond_lock): Take private arguments.
(__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
arguments.
(__lll_timedlock, __lll_robust_timedlock): Take private arguments.
(lll_timedlock, lll_robust_timedlock): Take private arguments.
(__lll_unlock, __lll_robust_unlock): Convert to macros. Take
private arguments.
(lll_unlock, lll_robust_unlock): Take private arguments.
(__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
(lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
(__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
__lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
lll_cond_wake, lll_cond_broadcast): Remove.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
to __extern_inline.
2007-09-12 12:57:41 +00:00
Daniel Jacobowitz
8323b1abc6
* sysdeps/arm/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Use
...
lll_private_futex_wake.
* sysdeps/unix/sysv/linux/arm/check_pf.c: Update from generic version.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-forcedunwind.c
(pthread_cancel_init): Add noinline and barriers.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c
(__lll_timedlock_wait): Update call to lll_futex_timed_wait.
(__lll_timedwait_tid): Likewise.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h (LLL_PRIVATE,
LLL_SHARED): Define.
(lll_futex_wait): Use lll_futex_timed_wait.
(lll_futex_timed_wait, lll_futex_wake, lll_futex_wake_unlock): Take a
PRIVATE argument.
(lll_private_futex_wait, lll_private_futex_timed_wait,
lll_private_futex_wake): New.
(lll_robust_mutex_dead, __lll_mutex_lock, __lll_mutex_cond_lock,
__lll_mutex_unlock, __lll_robust_mutex_unlock,
__lll_mutex_unlock_force, lll_wait_tid): Update calls.
* sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c (clear_once_control,
__pthread_once): Use private futexes.
* sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c
(pthread_cancel_init): Add noinline and barriers.
* sysdeps/unix/sysv/aix/bits/fcntl.h,
sysdeps/unix/sysv/linux/am33/bits/fcntl.h,
sysdeps/unix/sysv/linux/arm/bits/fcntl.h,
sysdeps/unix/sysv/linux/cris/bits/fcntl.h,
sysdeps/unix/sysv/linux/m68k/bits/fcntl.h,
sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
* sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h (SEM_VALUE_MAX):
Delete.
* sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
Delete.
2007-07-10 13:35:30 +00:00
Daniel Jacobowitz
84f3ca6e49
* sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
...
to match the kernel.
2007-01-05 02:21:54 +00:00
Daniel Jacobowitz
a7d03b9189
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
...
prototype.
2006-10-31 17:17:46 +00:00
Daniel Jacobowitz
02678e17f9
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
...
(SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
Define.
2006-06-08 17:16:29 +00:00
Daniel Jacobowitz
bd34510699
* sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
...
RLIM64_INFINITY): Define appropriately for N64. Use unsigned
types.
2006-06-02 15:37:27 +00:00
Daniel Jacobowitz
42e36d16b3
* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
...
dump sc_cause, sc_status or sc_badvaddr.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite. Update
structure definitions after DSP kernel changes.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
after the same DSP changes.
2006-05-10 18:57:03 +00:00
Daniel Jacobowitz
dab7578866
* sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
...
st_atim, st_mtim and st_ctim interface.
(struct stat64): Likewise.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
Replace st_atime and its padding field with st_atim. Likewise
st_mtime/st_mtim and st_ctime/st_ctim.
* sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
after above changes.
(__xstat64_conv): Likewise.
2006-05-08 19:23:37 +00:00
Daniel Jacobowitz
075f1edd06
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
...
for consistency with other ports.
(MADV_REMOVE): Correct value.
(MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
POSIX_MADV_DONTNEED): Define.
2006-05-05 14:17:22 +00:00
Daniel Jacobowitz
142b51e416
2006-05-05 Lior Balkohen <balkohen@gmail.com>
...
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
and SYNC_FILE_RANGE_WAIT_AFTER.
Declare sync_file_range, vmsplice, splice and tee.
2006-05-05 Lior Balkohen <balkohen@gmail.com>
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Remove
LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
and SYNC_FILE_RANGE_WAIT_AFTER.
Declare sync_file_range, vmsplice, splice and tee.
2006-05-05 14:03:22 +00:00
Daniel Jacobowitz
f3fb78ec4e
2006-03-27 Lior Balkohen <balkohen@gmail.com>
...
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. Add readahead
prototype.
2006-03-28 04:32:14 +00:00
Daniel Jacobowitz
bfc23f5a36
* sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
...
Define.
2006-03-28 04:25:50 +00:00
Daniel Jacobowitz
b415b963c2
2006-03-27 Denis Barbier <barbier@linuxfr.org>
...
* sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
typo.
2006-03-28 04:13:22 +00:00
Roland McGrath
123d009b4c
2006-01-29 Daniel Jacobowitz <dan@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define.
2006-01-31 01:26:05 +00:00
Roland McGrath
f44dd9a312
2006-01-29 Daniel Jacobowitz <dan@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/bits/socket.h (struct msghdr): Use
size_t for msg_controllen.
(__cmsg_nxthdr): Correct test.
(__SCM_CONNECT): Delete.
2006-01-31 01:26:02 +00:00
Roland McGrath
8f5c49a543
2006-01-29 Daniel Jacobowitz <dan@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED,
EOWNERDEAD, ENOTRECOVERABLE): Define.
2006-01-31 01:26:00 +00:00
Andreas Jaeger
91d53051d9
[BZ #1067 ]
...
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
for 64-bit mips kernel.
2005-12-30 09:27:42 +00:00
Andreas Jaeger
d3fcfbb038
(MREMAP_FIXED): Added.
...
Patch by René Rebe <rene@exactcode.de>.
2005-11-28 08:25:55 +00:00
Ulrich Drepper
5e74293199
(RLIMIT_NICE, RLIMIT_RTPRIO): Add.
...
(RLIMIT_NLIMITS): Adjust.
2005-06-20 15:07:34 +00:00
Andreas Jaeger
27aae96e5b
(SIGEV_THREAD, SIGEV_CALLBACK, SIGEV_THREAD_ID): Update to match the kernel.
2005-03-28 09:17:43 +00:00
Roland McGrath
5fbac7cf7e
2004-10-18 Maciej W. Rozycki <macro@mips.com>
...
* sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Use
__NTH instead of __THROW in the inline definition.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
2004-12-15 01:00:56 +00:00
Roland McGrath
2b35938bce
2004-10-18 Maciej W. Rozycki <macro@mips.com>
...
* sysdeps/unix/sysv/linux/mips/bits/mman.h
(PROT_GROWSDOWN, PROT_GROWSUP): New macros.
2004-12-15 01:00:48 +00:00
Andreas Jaeger
73a227e200
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout.
2004-11-24 04:37:35 +00:00
Andreas Jaeger
56eb7d3add
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
...
Define appropriately based on __WORDSIZE.
[struct siginfo] (__pad0): Add for explicit padding.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes
throughout.
2004-11-22 12:47:50 +00:00
Andreas Jaeger
e8805e8d3f
[BZ #341 ]
...
(O_NOATIME): Define.
2004-08-23 07:28:45 +00:00
Roland McGrath
ca5c03379c
2004-08-15 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):
Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2004-08-16 08:51:46 +00:00
Ulrich Drepper
ea0b49e7f8
Define non-standard RUSAGE_ enums as __RUSAGE_ and adjust macros
...
accordingly.
2004-08-13 05:46:37 +00:00
Ulrich Drepper
4214993aa0
(RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add.
...
(RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
2004-08-12 18:05:26 +00:00
Andreas Jaeger
24c4c341e3
Use standard names for ABI macros, include sgidefs.h where appropriate.
2004-07-20 16:35:32 +00:00
Ulrich Drepper
b1225f7208
(F_SETOWN, F_GETOWN): Define if __USE_BSD or __USE_UNIX98.
2004-05-03 21:39:39 +00:00
Ulrich Drepper
635d5fe388
Add IUTF8.
2004-03-31 08:53:29 +00:00
Andreas Jaeger
f8d826fc85
2003-07-16 Daniel Jacobowitz <drow@mvista.com>
...
Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to
256K, remove unneeded declaration of __getpagesize.
2003-07-16 07:39:07 +00:00
Andreas Jaeger
a99b4fcf5a
2003-05-20 Guido Guenther <agx@sigxcpu.org>
...
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL
to -60 and define SI_TKILL.
2003-05-22 02:26:29 +00:00
Alexandre Oliva
d25102aa73
* sysdeps/unix/sysv/linux/mips/profil-counter: New.
...
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64.
(mcontext_t): Make it match the 32-bit mips kernel in o32.
* sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from
the mips and mips64 headers.
(struct user): Port to n32/n64.
2003-04-13 11:36:32 +00:00
Alexandre Oliva
e635cc8cc2
* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New.
...
* sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New.
* sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available
on mips n32.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data
structure on n32 as well.
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant
data types on n32 and n64.
2003-04-05 19:57:35 +00:00
Alexandre Oliva
f7277ebafe
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust
...
for n64 abi.
2003-04-04 05:12:00 +00:00
Alexandre Oliva
f4e9c08c59
* sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64):
...
Define.
* sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all
ISA tests.
(ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA.
(PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct
old_kernel_sigaction): Likewise.
2003-03-25 21:51:53 +00:00
Andreas Jaeger
3347c3ad39
2003-03-04 Guido Guenther <agx@sigxcpu.org>
...
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
stubs, we have INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
MAP_NONBLOCK.
2003-03-07 09:46:33 +00:00