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
Ulrich Drepper
744a7b202e
(RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add.
...
(RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
Define non-standard RLIMIT__ enums as __RLIMIT_ and adjust macros
accordingly.
2004-08-12 18:04:51 +00:00
Ulrich Drepper
c908feca74
Add __BEGIN_DECLS for __getpagesize declaration.
2004-08-12 17:27:20 +00:00
Andreas Jaeger
5c3c0a7a13
Add semtimedop.
2004-07-21 06:13:15 +00:00
Andreas Jaeger
c654366496
($(objpfx)syscall-%.h): Sort by syscalls. Make sure we get headers such
...
as sgidefs.h from the build tree before just-installed ones.
2004-07-20 16:37:41 +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
64d5339733
(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.
2004-06-03 15:57:42 +00:00
Ulrich Drepper
e0a27e2f47
(FUTEX_CMP_REQUEUE): Define.
...
(lll_futex_requeue): Add val argument, use FUTEX_CMP_REQUEUE
internally. Return non-zero if error, zero if success.
2004-06-03 15:57:25 +00:00
Ulrich Drepper
5341b8057c
(pthread_cond_t): Add __broadcast_seq field.
2004-05-18 20:16:32 +00:00
Ulrich Drepper
524a69be2a
Export __libc_alpha_cache_shape as a private symbol.
2004-05-07 01:57:35 +00:00
Ulrich Drepper
8dbe95aa6a
Linux/Alpha sysconf definitions.
2004-05-07 01:57:19 +00:00
Ulrich Drepper
58ed091a43
Linux/Alpha startup code in ld.so.
2004-05-07 01:57:04 +00:00
Ulrich Drepper
b1225f7208
(F_SETOWN, F_GETOWN): Define if __USE_BSD or __USE_UNIX98.
2004-05-03 21:39:39 +00:00
Andreas Schwab
e52ded1809
Use __attribute_used__.
2004-04-23 20:41:42 +00:00
Ulrich Drepper
6fdde6b9d4
Don't use x86 version.
2004-04-19 06:49:28 +00:00
Ulrich Drepper
7c1ebdffa6
(SEM_VALUE_MAX): Jusr use a plain number.
2004-04-17 23:06:39 +00:00
Ulrich Drepper
13bf163209
(MQ_PRIO_MAX): Define.
2004-04-13 02:00:09 +00:00
Andreas Schwab
693687e64e
(INTERNAL_SYSCALL): Add
...
LOAD_REGS_##nr.
(LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
(LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
variables.
(LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
(LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
syscall argument registers.
2004-04-08 23:30:26 +00:00
Ulrich Drepper
635d5fe388
Add IUTF8.
2004-03-31 08:53:29 +00:00
Ulrich Drepper
ce3f7d21bd
Define lll_mutex_cond_trylock.
2004-03-24 06:34:59 +00:00
Ulrich Drepper
04520d8eeb
(pthread_mutex_t): Add __spins field.
2004-03-24 06:29:57 +00:00
Ulrich Drepper
240d71125a
(__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not defined.
2004-03-23 23:31:47 +00:00
Ulrich Drepper
a01905d020
Move common syscalls for 64bit arches to
...
sysdeps/unix/sysv/linux/wordsize-64/syscalls.list.
2004-03-23 23:31:19 +00:00
Ulrich Drepper
31e954134a
Not needed anymore.
2004-03-23 23:26:58 +00:00
Ulrich Drepper
0dfe557c64
Implied additional directories.
2004-03-23 23:26:24 +00:00
Ulrich Drepper
006de71202
Consolidated 64bit support for Linux.
2004-03-23 23:25:52 +00:00
Richard Henderson
e0f09d9aba
* sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate
...
oldvalue from CENABLE to CDISABLE.
2004-03-13 05:29:45 +00:00
Richard Henderson
a5e72ef81a
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate
...
oldvalue from CENABLE to CDISABLE.
2004-03-13 05:29:24 +00:00
Ulrich Drepper
24a4e2b0c9
Define HOST_NAME_MAX.
2004-03-12 20:24:21 +00:00
Richard Henderson
76deb69747
* sysdeps/alpha/tcb-offsets.sym (PID_OFFSET): New.
...
* sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Save/restore PID.
* sysdeps/unix/sysv/linux/alpha/vfork.S: New file.
2004-03-11 21:34:25 +00:00
Richard Henderson
b4d2a4238c
* sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New.
...
(glibc21_stat): New.
* sysdeps/unix/sysv/linux/alpha/fxstat.c: New file.
* sysdeps/unix/sysv/linux/alpha/lxstat.c: New file.
* sysdeps/unix/sysv/linux/alpha/xstat.c: New file.
* sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add
code for _STAT_VER_GLIBC2_3_4.
(__libc_missing_axp_stat64): New.
* sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file.
* sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New.
(_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New.
(struct stat, struct stat64): Update to new format.
(_STATBUF_ST_NSEC): New.
2004-03-11 02:58:44 +00:00
Ulrich Drepper
25366174f2
(__old_glob, __old_globfree): Add attribute_compat_text_section.
2004-03-10 19:21:39 +00:00
Ulrich Drepper
826bbef91e
(__old_wordexp): Add attribute_compat_text_section.
2004-03-10 19:21:18 +00:00
Ulrich Drepper
36727f22a1
(ADJTIME): Add attribute_compat_text_section.
2004-03-10 19:20:11 +00:00
Ulrich Drepper
33ebb515d1
Use GLRO instead of GL where appropriate.
2004-03-07 08:38:42 +00:00
Ulrich Drepper
a7c187d616
Use GLRO instead of GL where appropriate.
2004-03-06 08:06:01 +00:00
Ulrich Drepper
f519f54950
posix_fadvise implementation.
2004-03-03 18:56:20 +00:00
Ulrich Drepper
5d2146a9e2
posix_fadvise64 implementation.
2004-03-03 18:56:03 +00:00
Ulrich Drepper
3bc82bb9b5
(posix_fadvise64): Remove.
2004-03-03 18:55:08 +00:00
Ulrich Drepper
9efb40c836
Add readahead prototype.
2004-01-20 23:23:55 +00:00
Richard Henderson
bbbfa1b98e
* sysdeps/alpha/tls.h (tcbhead_t): Add private.
...
(TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN, TLS_TCB_SIZE,
TLS_PRE_TCB_SIZE, TLS_TCB_ALIGN, INSTALL_DTV, INSTALL_NEW_DTV,
GET_DTV, THREAD_DTV, THREAD_SELF, DB_THREAD_SELF): Match ia64.
(TLS_TCB_OFFSET, THREAD_ID, NO_TLS_OFFSET): Remove.
(THREAD_GETMEM, THREAD_GETMEM_NC): Simplify.
(THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/unix/sysv/linux/alpha/createthread.c (TLS_VALUE): Match ia64.
2004-01-16 05:23:05 +00:00
Richard Henderson
4dbd216dc3
* sysdeps/unix/sysv/linux/alpha/Makefile [stdlib]: Process
...
ucontext-offsets.sym.
* sysdeps/unix/sysv/linux/alpha/getcontext.S: New file.
* sysdeps/unix/sysv/linux/alpha/makecontext.S: New file.
* sysdeps/unix/sysv/linux/alpha/setcontext.S: New file.
* sysdeps/unix/sysv/linux/alpha/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: New file.
2004-01-16 05:04:59 +00:00
Richard Henderson
83c784e84c
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Prefix stubs with
...
__syscall_, move nop inside, adjust users by +4.
2004-01-16 04:59:55 +00:00
Richard Henderson
df6e7e29eb
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typo.
2004-01-13 20:47:01 +00:00
Richard Henderson
b17d80b12f
* sysdeps/alpha/Makefile: New file.
...
* sysdeps/alpha/tcb-offsets.sym: New file.
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P):
Use MULTIPLE_THREADS_OFFSET to implement !libpthread !libc version.
* sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Rewrite based
on powerpc version.
2004-01-13 09:36:22 +00:00
Richard Henderson
cfbf1a2f78
* sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_xxx_8_int):
...
Cast old up to uint64_t before back down to inner width.
(__arch_compare_and_exchange_xxx_16_int): Likewise.
(__arch_compare_and_exchange_xxx_32_int): Likewise.
(__arch_compare_and_exchange_xxx_64_int): Likewise.
(__arch_compare_and_exchange_val_8_int): Cast result to
the type of the memory.
(__arch_compare_and_exchange_val_16_int): Likewise.
(__arch_compare_and_exchange_val_32_int): Likewise.
(__arch_compare_and_exchange_val_64_int): Likewise.
(atomic_compare_and_exchange_bool_acq): Use __atomic_bool_bysize.
(atomic_compare_and_exchange_bool_rel): Likewise.
* sysdeps/unix/alpha/sysdep.h: Select inline_syscall_r0_asm
based on HAVE___THREAD instead of USE_TLS.
* sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIMEX32): New.
(__adjtimex_tv64): Use it.
* sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Cast
to void* rather than directly to the compatibility structure type.
* sysdeps/unix/sysv/linux/alpha/shmctl.c (__new_shmctl): Likewise.
* sysdeps/unix/sysv/linux/alpha/sigaction.c (struct kernel_sigaction):
Forward declare.
2004-01-13 09:15:58 +00:00
Ulrich Drepper
46bf1d81a4
(__clone) [PIC]: Save PIC, reload PIC if we need to call __syscall_error,
...
cleanup asm.
2003-12-18 06:05:03 +00:00
Andreas Schwab
fd1f2c4aab
(PSEUDO_ERRVAL)
...
(PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
2003-11-30 16:44:48 +00:00
Ulrich Drepper
49096d939f
(LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
...
(LOAD_ARGS_5, LOAD_ARGS_6): Add missing parentheses.
2003-11-03 17:18:38 +00:00
Roland McGrath
fb86edea20
2003-10-18 Carlos O'Donell <carlos@baldric.uwo.ca>
...
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error.
2003-10-22 07:09:31 +00:00
Ulrich Drepper
f19a935e1b
Define PSEUDO_ERRVAL, SYSCALL_ERROR_LABEL under all conditions,
...
INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERROR_P,
INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL, and undef
JUMPTARGET before use.
[PIC]: Save pic register around syscall.
2003-10-15 05:46:00 +00:00
Ulrich Drepper
5420f85dbe
(syscall): Cleanup asm statment.
2003-10-15 05:45:16 +00:00
Roland McGrath
66a1dc8705
2003-09-10 Chris Demetriou <cgd@broadcom.com>
...
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Remove
"#if 0" surrounding most of contents.
(SYSCALL_ERROR_LABEL): Define.
(__SYSCALL_CLOBBERS): Add $10.
(internal_syscall7): Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2003-10-01 06:59:40 +00:00
Ulrich Drepper
3d87932d45
Define PROT_GROWSDOWN and PROT_GROWSUP.
2003-09-25 16:42:43 +00:00
Ulrich Drepper
aec9c3ef29
Not needed anymore.
2003-09-24 05:36:39 +00:00
Ulrich Drepper
011f9a85d2
Add #error if __NR_vfork required but not defined.
...
Improve test of error code.
2003-09-17 18:09:53 +00:00
Ulrich Drepper
170880ee26
Branch to fork if libpthread is loaded. Elide backwards compatibility code
...
when not required.
2003-09-17 18:07:04 +00:00
Ulrich Drepper
60f4eece70
Optimise code a little.
2003-09-14 19:54:53 +00:00
Ulrich Drepper
2c65912458
Use sys_mmap2 if it's known to be available.
2003-09-14 19:54:40 +00:00
Roland McGrath
8525f64d52
2003-09-10 Chris Demetriou <cgd@broadcom.com>
...
* sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix
syscall invocation.
* sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
Also, only assert off_t size is 4 for N32 and O32, and clean up
white space.
* sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2003-09-10 23:38:52 +00:00
Roland McGrath
25c0b916b6
2003-09-08 Roland McGrath <roland@frob.com>
...
* sysdeps/unix/sysv/linux/speed.c
(cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
(cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
* sysdeps/unix/sysv/linux/bits/termios.h
(_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2003-09-09 06:44:48 +00:00
Ulrich Drepper
ea72a68d42
Change type of pthread_t to be compatible with LT.
2003-09-08 23:56:13 +00:00
Ulrich Drepper
49d7842ab5
Remove unused __syscall_* prototypes.
2003-09-03 03:21:27 +00:00
Ulrich Drepper
679ee4e361
(sysdep_routines): Remove rt_*.
2003-09-03 03:16:54 +00:00
Ulrich Drepper
b3c37d6c95
(__syscall_*): Remove unused __syscall_ stubs.
2003-09-03 03:16:40 +00:00
Ulrich Drepper
df9cbb61e3
(__syscall_recvfrom, __syscall_sendto): Remove unused aliases.
2003-09-03 03:16:25 +00:00
Ulrich Drepper
b89b553b54
Not needed anymore.
2003-09-03 03:15:51 +00:00
Ulrich Drepper
dc7f67a8e8
(__syscall_rt_sigaction): New prototype.
2003-09-03 03:15:08 +00:00
Ulrich Drepper
0e4d3d9dbd
(sysdep_routines): Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
...
rt_sigqueueinfo and rt_sigpending.
2003-09-03 03:14:43 +00:00
Ulrich Drepper
d87ab9bc12
Additional versions for Linux/Alpha.
2003-09-03 03:10:25 +00:00
Ulrich Drepper
82019706cf
POSIX limits for Linux/Alpha.
2003-09-03 03:10:01 +00:00
Jakub Jelinek
c6df9debb1
New file.
2003-09-01 21:38:14 +00:00
Ulrich Drepper
8ff5cf2c6f
Add posix_fadvise64 and posix_fallocate64 at GLIBC_2.3.3.
2003-08-31 18:13:35 +00:00
Ulrich Drepper
62810a52b5
Add semtimedop.
2003-08-30 00:23:14 +00:00
Ulrich Drepper
ae53e7a785
(PSEUDO_ERRVAL): Define.
...
(PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
2003-08-25 18:30:43 +00:00
Ulrich Drepper
a6df4fa6a2
(posix_fadvise64): Add V flag.
2003-08-17 00:34:12 +00:00
Ulrich Drepper
f98259f8e3
Don't add new posix_fadvise64_64 syscall.
2003-08-16 08:06:54 +00:00
Ulrich Drepper
a4164f54c6
Define posix_fadvise64_64 entry. Add version info to posix_fadvise64 entry.
2003-08-16 06:18:46 +00:00
Ulrich Drepper
591ef241f8
(__SSIZE_T_TYPE): Define.
2003-07-31 19:34:16 +00:00
Ulrich Drepper
775a8c02e1
Header with a.out binary format definitions.
2003-07-25 09:04:57 +00:00
Ulrich Drepper
ff46117d2f
(PROCINFO_CLASS): Define if not yet defined. Use it instead of EXTERN.
...
Undefine at the end of the file.
2003-07-22 22:07:18 +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
Ulrich Drepper
85d3b8cbf5
(_STATFS_F_FRSIZE): Define.
2003-07-12 19:30:54 +00:00
Ulrich Drepper
dc7d6605c8
(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On
...
success return actual return value from the syscall, not 0.
2003-07-08 03:42:27 +00:00
Ulrich Drepper
5400aba699
Asm macros for definition of cancelable syscall wrappers for nptl on Alpha.
2003-07-01 20:22:49 +00:00
Ulrich Drepper
22c9b5efb9
sem_post implementation for nptl on Alpha.
2003-07-01 20:22:23 +00:00
Ulrich Drepper
3b47913dc8
pthread_once implementation for nptl on Alpha.
2003-07-01 20:22:10 +00:00
Ulrich Drepper
a06fb001ba
vfork implementation for nptl on Alpha.
2003-07-01 20:21:45 +00:00
Ulrich Drepper
92f7ea1cbc
Low level lock definitions for nptl on Alpha.
2003-07-01 20:21:32 +00:00
Ulrich Drepper
f34839aa4d
Alpha specific fork in nptl on Alpha.
2003-07-01 20:20:57 +00:00
Ulrich Drepper
877333746e
Alpha specific nptl code to start thread.
2003-07-01 20:20:36 +00:00
Ulrich Drepper
707cd6ca79
Public semaphore type definitions for Alpha.
2003-07-01 20:20:19 +00:00
Ulrich Drepper
77e4ae304e
Public type definitions for nptl on Alpha.
2003-07-01 20:20:04 +00:00
Ulrich Drepper
10578c2ed3
Makefile for nptl on Alpha.
2003-07-01 20:19:46 +00:00
Richard Henderson
4feb1bb5b6
* sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.
2003-06-30 23:21:49 +00:00
Andreas Jaeger
b8ba6f0633
2003-06-17 Guido Guenther <agx@sigxcpu.org>
...
* sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT
case.
(xstat_conv): Rename to __xstat_conv and remove static inline.
(xstat64_conv): Likewise.
2003-06-30 09:33:13 +00:00
Ulrich Drepper
66f558e194
Define _STATBUF_ST_NSEC.
2003-06-26 17:00:37 +00:00