Commit Graph

504 Commits

Author SHA1 Message Date
Richard Henderson
885186d085 * sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add
        _code argument, pass sigcontext by pointer.
        (SIGCONTEXT_EXTRA_ARGS): Likewise.
        (GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer.
2004-10-15 09:34:45 +00:00
Richard Henderson
36f86ab9ac * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype
style definition.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If
        __ASSUME_TIMEVAL64, define __adjtime directly rather than
        via strong_alias.
2004-10-15 07:06:56 +00:00
Ulrich Drepper
6fae1eca92 (pthread_cond_t): Add __extension__ to long long types. 2004-09-28 10:29:32 +00:00
Richard Henderson
93207f7d2d * sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def. 2004-09-15 12:22:09 +00:00
Ulrich Drepper
ebb9960651 Define rwlock types also for __USE_XOPEN2K. 2004-09-12 18:40:45 +00:00
Ulrich Drepper
493814089b (__pthread_once): Use atomic_increment instead of atomic_exchange_and_add. 2004-09-08 06:11:35 +00:00
Richard Henderson
0af1bbc9f2 * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file.
* sysdeps/unix/sysv/linux/kernel-features.h
        (__ASSUME_IEEE_RAISE_EXCEPTION): New.
        * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file.
        * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file.
        * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it.
        * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2004-09-06 02:19:36 +00:00
Richard Henderson
df8419fe0a * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P):
Move definition inside libpthread, libc, librt check.  Provide
        definition for rtld.
2004-09-06 01:12:02 +00:00
Ulrich Drepper
19eca5d62f (pthread_cond_t): Rename __data.__clock to __data.__nwaiters, make it
unsigned int.
2004-09-02 18:51:31 +00:00
Richard Henderson
13e579e4f9 * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
instead of $31.  Zero $15.
        * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.
2004-08-25 19:59:01 +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
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
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
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
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
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