Commit graph

3220 commits

Author SHA1 Message Date
Ulrich Drepper 591ef241f8 (__SSIZE_T_TYPE): Define. 2003-07-31 19:34:16 +00:00
Ulrich Drepper ab69220d3c (PT_EI): Add __attribute__((always_inline)). 2003-07-31 19:15:42 +00:00
Alexandre Oliva 5027ae109a * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Don't assume
reloc_addr is aligned.
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/cris/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/hppa/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/ia64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/m68k/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/mips/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc64/dl-machine.h
(elf_machine_rela_relative, elf_machine_rela): Adjust.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative):
* sysdeps/sh/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
2003-07-31 06:33:52 +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 4bdf10e334 Remove CLFAGS-.oS addition. 2003-07-10 09:22:13 +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 16fc430a76 Avoid .ent/.end. 2003-07-08 03:41:53 +00:00
Richard Henderson ee13e79fc8 * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
* sysdeps/alpha/elf/pt-initfini.c: Avoid .ent/.end.
2003-07-05 22:56:39 +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
Ulrich Drepper 690359671c TLS access definitions for Alpha. 2003-07-01 19:25:45 +00:00
Ulrich Drepper cb9d4969c9 libthread_db interface to map LWP ID to thread for Alpha. 2003-07-01 19:25:32 +00:00
Ulrich Drepper c1b42f8052 General definition for libpthread on Alpha. 2003-07-01 19:25:02 +00:00
Ulrich Drepper 29da0ceb72 Spinlock trylock implementation for Alpha. 2003-07-01 19:24:47 +00:00
Ulrich Drepper 81b6201ae0 Spinlock implementation for Alpha. 2003-07-01 19:24:33 +00:00
Ulrich Drepper bba28b0ec0 Initialization code for libpthread on Alpha. 2003-07-01 19:23:36 +00:00
Richard Henderson 4feb1bb5b6 * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly. 2003-06-30 23:21:49 +00:00
Richard Henderson b7978e8d84 * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int):
Invert the sense of the return value.
        (__arch_exchange_16_int): Fix paste-o.
        (__arch_exchange_{32,64}_int): Fix think-o.
2003-06-30 23:21:38 +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
Roland McGrath 00dedb1574 2003-06-27 Jeroen Dekkers <jeroen@dekkers.cx>
* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.
	* sysdeps/mach/hurd/i386/init-first.c: Likewise.
	* sysdeps/mach/hurd/mips/init-first.c: Likewise.
	* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
2003-06-27 20:58:22 +00:00
Ulrich Drepper 66f558e194 Define _STATBUF_ST_NSEC. 2003-06-26 17:00:37 +00:00
Andreas Schwab fbdd196b52 * sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
* sysdeps/m68k/fpu/s_frexp.c: Put implementation here.
	* sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.
2003-06-26 16:18:13 +00:00
Ulrich Drepper fba1515d24 (INLINE_SYSCALL): Cast result to long int. 2003-06-25 08:18:08 +00:00
Ulrich Drepper 50b45ef61c ld.so cache deifnitions for mips. 2003-06-25 08:03:24 +00:00
Ulrich Drepper e31adc6532 (struct statfs): Add f_frsize field.
(struct statfs64): Likewise.
2003-06-24 17:13:44 +00:00
Richard Henderson adaab7298a * sysdeps/alpha/bits/atomic.h: New file. 2003-06-24 17:03:59 +00:00
Richard Henderson 1fbb61a95d * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use
        libc_hidden_def.
        * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto
        on them.
2003-06-24 16:38:45 +00:00
Richard Henderson 981e63c822 * sysdeps/alpha/fpu/bits/mathinline.h: Honor
__LIBC_INTERNAL_MATH_INLINES.  Implement __signbitf, __signbit.
2003-06-24 16:33:49 +00:00
Richard Henderson 1bb08f1582 * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue. 2003-06-24 16:29:21 +00:00
Richard Henderson 4f6923e1f5 * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use
the 64-bit syscall name.
2003-06-24 16:26:34 +00:00
Andreas Schwab 0fadfc223d Update. 2003-06-24 11:06:57 +00:00
Richard Henderson 2002663413 * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New.
2003-06-20 19:24:17 +00:00
Richard Henderson ebcd2cd199 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT)
        Unset for alpha.
        (__ASSUME_TIMEVAL64): Set for alpha.
        * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
        adjtimex, osf_sigprocmask, old_adjtimex.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL,
        __ASSUME_TIMEVAL64.  Reorg tv64 functions to avoid uninit variable.
        * sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64.
        * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Streamline
        PIC code sequence.
        * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/sigaction.c: New file.
        * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL.
        * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
        * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
        * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask,
        sys_ustat, sys_mknod, adjtimex, old_adjtimex.
        * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't
        defer to __syscall_name; error for rt_sigaction.
        * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h.
2003-06-20 16:24:36 +00:00
Andreas Jaeger e650efca31 2003-06-15 Guido Guenther <agx@sigxcpu.org>
* sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and
	create $(objpfx).
2003-06-15 14:41:02 +00:00
Ulrich Drepper e6e14c55d3 Fix handling of syscalls with more than four parameters. 2003-06-12 16:18:11 +00:00
Ulrich Drepper c27758e9c6 Don't inline the function. Export them. Prepend __ to name. 2003-06-11 22:37:05 +00:00
Ulrich Drepper 1ca4471f97 New sequences for 5+ arg syscalls only needed for PIC. 2003-06-06 17:31:40 +00:00
Richard Henderson 48e0ec3c48 * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
        * sysdeps/alpha/elf/start.S: Likewise.  Remove pointless allocation.
        * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp
        entry sequence and explicit relocs.  Add unwind info for sigreturn
        and rt_sigreturn.
        * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.
        * configure: Regenerate.
2003-06-06 05:54:15 +00:00
Richard Henderson a382880a4c * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
Annotate some parameters.
        * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.
2003-06-06 05:52:52 +00:00