Commit Graph

3286 Commits

Author SHA1 Message Date
Roland McGrath
b1c81c0040 2003-12-11 Ulrich Weigand <uweigand@de.ibm.com>
* sysdeps/alpha/tls.h (DB_THREAD_SELF): Pass bit size of thread
	register as second parameter to the REGISTER macro.
	* sysdeps/ia64/tls.h (DB_THREAD_SELF): Likewise.
	* sysdeps/powerpc/tls.h (DB_THREAD_SELF): Likewise.
	* sysdeps/sh/tls.h (DB_THREAD_SELF): Likewise.
	* sysdeps/sparc/tls.h (DB_THREAD_SELF): Likewise.
	* sysdeps/s390/tls.h (DB_THREAD_SELF): Pass __WORDSIZE as bit size
	of thread register as second parameter to REGISTER macro in 64 case.
2004-01-06 10:31:07 +00:00
Andreas Schwab
646ae9f228 Avoid matching memory constraints. 2003-12-21 17:31:58 +00:00
Ulrich Drepper
e445ac3d49 Setjmp buffer unwinding helper code for Alpha. 2003-12-19 01:35:07 +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
Ulrich Drepper
c1f024c3e1 (fesetexceptflag): Set enable bits not raised exception bits. 2003-12-18 03:58:26 +00:00
Ulrich Drepper
2da72a511e (feraiseexcept): Add delayed exception flushing, FE_UNDERFLOW is DBL_MIN/3.0,
FE_INEXACT is triggered by M_PI/69.69 converted to single precision.
2003-12-18 03:58:09 +00:00
Ulrich Drepper
1bff455e8a (feupdateenv): Read raised exception bits, OR with envp, pass to fesetenv. 2003-12-18 03:57:50 +00:00
Ulrich Drepper
c5cf6f4a3d (fesetenv): Use asm 'ma,' completer, and gcc '+r' constraint. 2003-12-18 03:57:31 +00:00
Ulrich Drepper
4923dcf1bd (feholdexcept): Use asm 'ma,' completer, and gcc '+r' constraint. 2003-12-18 03:57:14 +00:00
Ulrich Drepper
78f9fd6419 (fegetenv): use asm 'ma,' completer, and gcc '+r' constraint. 2003-12-18 03:56:50 +00:00
Ulrich Drepper
4db359168e (feclearexcept): Right shift FE_ALL_EXCEPT before complimenting. 2003-12-18 03:56:15 +00:00
Ulrich Drepper
69751d3f42 DL_LOOKUP_ADDRESS must clear PLABEL32 bits, define DL_AUTO_FUNCTION_ADDRESS and
DL_STATIC_FUNCTION_ADDRESS, DL_DT_INIT_ADDRESS and DL_DT_FINI_ADDRESS use the
previous two macros.
2003-12-18 03:53:47 +00:00
Ulrich Drepper
ba0b86d09f (_dl_symbol_address): Use _dl_make_ftpr, remove const qualifier for map.
(_dl_function_address): Removed.
2003-12-18 03:53:22 +00:00
Ulrich Drepper
866956e5c3 Not needed anymore. 2003-12-18 03:53:02 +00:00
Ulrich Drepper
1294f72885 Configuration for hppa function descriptor handling. 2003-12-18 03:52:28 +00:00
Ulrich Drepper
dfc6dfb9a6 Add dl-symaddr and dl-fptr to the correct build strings. 2003-12-18 03:51:49 +00:00
Andreas Jaeger
c34667d768 Mark sqrt_data as used. 2003-12-10 05:45:29 +00:00
Ulrich Drepper
d9f0b23a78 (__fegetexceptflag): Add masking of fenv. 2003-12-06 07:16:41 +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
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