Commit Graph

1745 Commits

Author SHA1 Message Date
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