Commit Graph

3215 Commits

Author SHA1 Message Date
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
Ulrich Drepper
aca984867e Undef JUMPTARGET before use. 2003-10-15 05:31:42 +00:00
Roland McGrath
6f12dcc7b8 2003-10-10 Carlos O'Donell <carlos@baldric.uwo.ca>
* sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed.
2003-10-11 01:28:59 +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
b82390a8da (RTLD_START): Remove setting of __libc_stack_end. 2003-09-24 21:08:31 +00:00
Ulrich Drepper
aec9c3ef29 Not needed anymore. 2003-09-24 05:36:39 +00:00
Ulrich Drepper
de251c974b [GLIBC_2.2]: Add __clz_tab. 2003-09-24 03:14:27 +00:00
Ulrich Drepper
e62e873e95 Add libgcc-compat.c. 2003-09-24 03:14:14 +00:00
Ulrich Drepper
131d66906b libgcc compatibility code. 2003-09-24 03:13:56 +00:00
Ulrich Drepper
f32742b088 Include compat code in build. 2003-09-24 03:13:28 +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
644d82249f (DO_RET): New. 2003-09-17 18:09:36 +00:00
Ulrich Drepper
12a15026b8 (CALL_ROUTINE): Deleted.
(BX): Define.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Optimise a little.
2003-09-17 18:09:25 +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
Roland McGrath
5abcf86949 2003-09-17 Uwe Reimann <Uwe_Reimann@gmx.net> Hans-Peter Nilsson <hp@axis.com>
* sysdeps/cris/dl-machine.h (elf_machine_type_class): Classify
	R_CRIS_GLOB_DAT as ELF_RTYPE_CLASS_PLT.  Clarify comment.
2003-09-17 02:47:48 +00:00
Andreas Schwab
3dc8a4b254 Add hidden_def. 2003-09-15 08:43:12 +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
Ulrich Drepper
7e7d334885 Rewrite. 2003-09-14 19:53:42 +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
855bf8c1df 2003-09-08 Chris Demetriou <cgd@broadcom.com>
* sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to
        the top of the list.
        * sysdeps/mips/mips64/n64/Implies: Likewise.
2003-09-09 20:10:22 +00:00
Roland McGrath
aa38a5c081 2003-09-09 Chris Demetriou <cgd@broadcom.com>
* sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining.
2003-09-09 19:21:51 +00:00
Roland McGrath
ad8d610d5c 2003-09-05 Roland McGrath <roland@redhat.com>
* pthread_create.c (__pthread_pthread_sizeof_descr): Removed.
	Instead, include ../nptl_db/db_info.c to do its magic.
	* pthread_key_create.c (__pthread_pthread_keys_max): Removed.
	(__pthread_pthread_key_2ndlevel_size): Likewise.
	* sysdeps/alpha/tls.h (DB_THREAD_SELF): New macro.
	* sysdeps/i386/tls.h (DB_THREAD_SELF): New macro.
	* sysdeps/ia64/tls.h (DB_THREAD_SELF): New macro.
	* sysdeps/powerpc/tls.h (DB_THREAD_SELF): New macro.
	* sysdeps/s390/tls.h (DB_THREAD_SELF): New macro.
	* sysdeps/sh/tls.h (DB_THREAD_SELF): New macro.
	* sysdeps/sparc/tls.h (DB_THREAD_SELF): New macro.
	* sysdeps/x86_64/tls.h (DB_THREAD_SELF): New macro.
	* sysdeps/alpha/td_ta_map_lwp2thr.c: File removed.
	* sysdeps/generic/td_ta_map_lwp2thr.c: File removed.
	* sysdeps/i386/td_ta_map_lwp2thr.c: File removed.
	* sysdeps/ia64/td_ta_map_lwp2thr.c: File removed.
	* sysdeps/powerpc/td_ta_map_lwp2thr.c: File removed.
	* sysdeps/s390/td_ta_map_lwp2thr.c: File removed.
	* sysdeps/sh/td_ta_map_lwp2thr.c: File removed.
	* sysdeps/sparc/td_ta_map_lwp2thr.c: File removed.
	* sysdeps/x86_64/td_ta_map_lwp2thr.c: File removed.
2003-09-09 07:00:21 +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
724bab37c1 (PSEUDO_ERRVAL, PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. 2003-08-17 00:33:13 +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
0be7f50d10 AIX posix_madvise implementation. 2003-08-16 06:13:49 +00:00
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