Commit Graph

1769 Commits

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