Commit Graph

281 Commits

Author SHA1 Message Date
Ulrich Drepper
984dfe1266 fedisableexcept implementation for Arm. 2001-04-22 14:31:25 +00:00
Ulrich Drepper
b0b7e44c75 Adjust for increased precision in result of several tests. 2001-04-17 18:59:43 +00:00
Ulrich Drepper
0a5b388e1f Stack information for Arm. 2001-04-11 07:34:36 +00:00
Ulrich Drepper
773b640096 Replace use of old output functions with the new ones. 2001-02-28 06:35:24 +00:00
Ulrich Drepper
b8f7c6f761 (elf_machine_rel): Correct handling of PC24 relocs with negative value. 2001-02-05 05:59:49 +00:00
Andreas Jaeger
f77b82e81b Include internals.h to get prototypes. 2000-12-27 17:17:14 +00:00
Andreas Jaeger
726d3efe36 * sysdeps/s390/pt-machine.h (testandset): Use long int as return
value.
	* sysdeps/arm/pt-machine.h (testandset): Likewise.
	* sysdeps/hppa/pt-machine.h (testandset): Likewise.
	* sysdeps/m68k/pt-machine.h (testandset): Likewise.
	* sysdeps/sh/pt-machine.h (testandset): Likewise.
	* sysdeps/sparc/sparc32/pt-machine.h (testandset): Likewise.
	* sysdeps/sparc/sparc64/pt-machine.h (testandset): Likewise.
2000-12-18 05:55:14 +00:00
Ulrich Drepper
e9a0b83c8f Remove FLT_EVAL_METHOD and DECIMAL_DIG definitions. 2000-12-04 08:37:22 +00:00
Andreas Schwab
0abafb2042 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/arm/fpu/setjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/s390/setjmp.S: Likewise.
* sysdeps/s390/elf/setjmp.S: Likewise.
* sysdeps/sh/sh3/setjmp.S: Likewise.
* sysdeps/sh/sh4/setjmp.S: Likewise.
* sysdeps/sparc/sparc32/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2000-11-21 20:55:38 +00:00
Ulrich Drepper
ff86bfcd6b Update after libm-test.inc change. 2000-10-26 17:23:46 +00:00
Ulrich Drepper
fbbf3667bf Updated. 2000-10-25 16:56:34 +00:00
Ulrich Drepper
f1dba30859 (elf_machine_matches_host): Parameter is now pointer to ELF header. 2000-10-20 17:04:28 +00:00
Ulrich Drepper
d31dde9292 Make FP_ILOGB0 and FP_ILOGBNAN int values. 2000-09-01 06:32:15 +00:00
Ulrich Drepper
a27fd4306a (fix_bad_pc24): New function.
(elf_machine_rel): Use it for out-of-range PC24 relocs.
2000-07-29 19:32:27 +00:00
Greg McGary
e6bd4dbf3a * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
* sysdeps/generic/frame.h: Likewise.
	* sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
	around return value.
	(__backtrace): Qualify frame-pointer chain and return address
	pointers as __unbounded.  Wrap bounds around variable `current'.
	* sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
	around return value.
	(catch_segfault): Qualify frame-pointer chain and return address
	pointers as __unbounded.  Wrap bounds around variable `current'.
	* sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
	(ADVANCE_STACK_FRAME): Wrap bounds around return value.
	* sysdeps/powerpc/backtrace.c (struct layout): Make pointers __unbounded.
	(__backtrace): Qualify frame-pointer chain and return address
	pointers as __unbounded.  Wrap bounds around variable `current'.
2000-07-29 08:09:56 +00:00
Ulrich Drepper
c92d72a8fe Include <sysdeps/generic/memusage.h>. 2000-06-20 06:33:57 +00:00
Ulrich Drepper
949eb60694 Macro to allow memory usage tracking. 2000-06-20 06:29:45 +00:00
Ulrich Drepper
3f56045a39 Renamed to memusage.h. 2000-06-20 06:29:15 +00:00
Ulrich Drepper
a07cbd1894 (compare_and_swap): Return result. 2000-05-29 00:59:18 +00:00
Ulrich Drepper
438c135094 Linux/Arm spinlock implementation. 2000-05-25 05:28:08 +00:00
Andreas Jaeger
e4a8c0f332 2000-05-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
	* sysdeps/i386/bits/huge_val.h: Likewise.
	* sysdeps/ieee754/bits/huge_val.h: Likewise.
	* sysdeps/m68k/bits/huge_val.h: Likewise.
	* sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
	* sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
2000-05-22 09:25:13 +00:00
Andreas Jaeger
5d1aa2e61b 2000-05-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
	__extension__ to hexadecimal floating constant notation.
	* sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
	Likewise.
	* sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
	* sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
	Likewise.
	* sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
	HUGE_VALL): Likewise.
	* sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
	HUGE_VALL): Likewise.
	(HUGE_VALL): Set to HUGE_VAL on sparc32.
2000-05-17 17:18:49 +00:00
Ulrich Drepper
408c9db5d3 (elf_machine_fixup_plt): Change return valuie to lookup_t and return the value. 2000-05-05 07:12:09 +00:00
Ulrich Drepper
bc69099093 Arm specific error specification for math library. 2000-04-12 23:39:44 +00:00
Ulrich Drepper
7fdeecfb09 Definition for memprof functionality on Arm. 2000-04-12 20:58:59 +00:00
Ulrich Drepper
21d129104c (RTLD_START): Rewrite for new init function interface. 2000-04-12 20:12:05 +00:00
Ulrich Drepper
776dbc6551 Atomic operations for Arm. 2000-04-03 18:06:38 +00:00
Ulrich Drepper
73a35fc451 Use SHARED instead of PIC. 2000-03-31 05:44:27 +00:00
Ulrich Drepper
7189e3b807 Use D_PTR to access relocated entries in l_info. 2000-03-31 05:16:19 +00:00
Ulrich Drepper
5fa399b6c1 Define _FPU_MASK_IM, _FPU_MASK_ZM, _FPU_MASK_OM, _FPU_MASK_UM,
_FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT, and _FPU_IEEE.  Change
_FPU_RESERVED.
2000-03-26 18:40:17 +00:00
Ulrich Drepper
41841677b4 Change default version to GLIBC_2.2. 2000-02-26 01:09:38 +00:00
Ulrich Drepper
9dca440b10 (_FPU_DEFAULT): Set the AC bit. 2000-02-11 18:49:01 +00:00
Ulrich Drepper
16e4bf6fec Correct return value according to the standard. 2000-01-31 07:56:49 +00:00
Ulrich Drepper
9b1eef96d2 (CLEAR_CACHE): System calls clobber R0.
(dl_platform_init): Allow _dl_platform to be NULL.
2000-01-10 01:42:43 +00:00
Ulrich Drepper
a60ba9f602 Arm specific stack layout description. 2000-01-06 00:02:54 +00:00
Ulrich Drepper
7aacf7acd5 (_HAVE_STRING_ARCH_mempcpy): Define. 2000-01-03 16:58:49 +00:00
Ulrich Drepper
f549254ade Definitions for math on Arm. 2000-01-03 03:50:21 +00:00
Ulrich Drepper
2dfdce515f (CLEAR_CACHE): Fix a2 value. 1999-12-21 17:50:04 +00:00
Ulrich Drepper
9d1306dd21 (CLEAR_CACHE): New macro to force a cache flush. 1999-12-18 23:40:50 +00:00
Ulrich Drepper
d1af493c6b (elf_machine_rel): Fixup R_ARM_PC24 relocs if possible. 1999-12-08 07:35:32 +00:00
Ulrich Drepper
146bade74f Return value and add alias. 1999-10-31 23:13:47 +00:00
Ulrich Drepper
6c555ab57e Replace __USE_ISOC9X by __USE_ISOC99 and also recognize _ISOC99_SOURCE. 1999-10-31 17:31:25 +00:00
Ulrich Drepper
143751489c Use hexadecimal floating-point constants for gcc >= 2.95. 1999-08-24 20:35:50 +00:00
Ulrich Drepper
26de9a821b Define ARM specific versions of VALID_ELF_HEADER, VALID_ELF_OSABI,
VALID_ELF_ABIVERSION.
1999-08-10 05:10:14 +00:00
Roland McGrath
893f3d106f 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
* elf/dl-reloc.c (_dl_reloc_bad_type): New function.
	* elf/ldsodefs.h: Declare it.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
	instead of assert.
	(elf_machine_lazy_rel): Likewise.  Take new arg MAP.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
	* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
	* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
	_dl_reloc_bad_type instead of _dl_signal_error.
	* elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
1999-07-21 16:57:52 +00:00
Ulrich Drepper
e19b39916e Add ieee754/flt-32 and ieee754/dbl-64. 1999-07-13 23:43:10 +00:00
Ulrich Drepper
e79468a241 (elf_machine_load_address): Fix problems with GOT addressing. 1999-06-06 09:20:55 +00:00
Ulrich Drepper
b28057ced4 Adapted for header file change. 1999-05-23 09:46:25 +00:00
Ulrich Drepper
d3cbb9807c (fenv_t): Prepend __ to member names to protect from user's macro namespace. 1999-05-23 09:44:56 +00:00
Ulrich Drepper
7483ee1131 Removed since cmpxchg/no-cmpxchg doesn't exist anymore. 1999-04-16 14:19:10 +00:00
Ulrich Drepper
3b40f7d3d4 Support big endian operation. 1999-04-12 09:04:34 +00:00
Ulrich Drepper
3c3174b2ec Delete inline implementations of strcpy and stpcpy. 1999-04-12 09:01:49 +00:00
Ulrich Drepper
a96af7b96e (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated. 1999-03-02 08:06:57 +00:00
Ulrich Drepper
df019d9428 (ucontext): Rename field uc_links to
uc_link which is the right name according to Unix98.
1999-03-01 07:20:35 +00:00
Ulrich Drepper
44bff56804 (elf_machine_rel): DT_STRTAB is already relocated. 1999-02-20 14:57:43 +00:00
Ulrich Drepper
c0e2368bfe (dl_start_user): Incorrect address for _dl_main_searchlist passed to
_dl_init_next.
1998-12-04 20:57:00 +00:00
Ulrich Drepper
ccdf0819b4 (__FLOAT_WORD_ORDER): Define to big endian. 1998-11-27 11:34:17 +00:00
Ulrich Drepper
e7782e5ed6 Fix handling of weak undefined symbols during bootstrapping. 1998-11-27 10:01:37 +00:00
Ulrich Drepper
1173aab2d2 Remove __setfpucw declaration, it's an internal symbol. 1998-11-26 12:00:10 +00:00
Ulrich Drepper
f05b28e62f (__JMP_BUF_SP): Correct value. 1998-11-13 14:47:31 +00:00
Ulrich Drepper
33b59efe6c Define PT_EI as extern inline is not yet defined. Use PT_EI in extern
inline definitions.
1998-10-09 11:22:07 +00:00
Ulrich Drepper
604791b664 ARM specific hugeval definition. 1998-10-05 13:39:33 +00:00
Ulrich Drepper
f036f1a9bc Fix typo in last change. 1998-10-05 13:39:21 +00:00
Ulrich Drepper
fa85821416 Cope with fussy assembler. 1998-10-01 14:30:44 +00:00
Ulrich Drepper
911c0aba69 Correct args to mcount(). 1998-10-01 14:29:47 +00:00
Ulrich Drepper
344b4b4e23 (elf_machine_lazy_rel): Optimise a bit.
(RTLD_START): Keep in step with recent ld.so changes.
(elf_machine_runtime_setup): Correct behaviour when profiling.
1998-09-18 09:10:23 +00:00
Ulrich Drepper
efe4f49dc1 Moved one dir up. 1998-09-14 15:01:45 +00:00
Ulrich Drepper
aa64d54421 Extra objects for ARM. 1998-09-14 15:01:30 +00:00
Ulrich Drepper
68d11b268e (elf_machine_lazy_rel): Change first parameter and use this value. 1998-08-28 22:54:12 +00:00
Ulrich Drepper
64082f3e9c ARM specific optimized string functions. 1998-08-22 07:54:18 +00:00
Ulrich Drepper
c94b4338b5 Moved one directory up. 1998-08-20 17:35:44 +00:00
Ulrich Drepper
a35276bee2 (CALL_MCOUNT): Add missing semicolons. 1998-08-20 17:35:29 +00:00
Ulrich Drepper
b292f4b3ac IEEE754 definitions for ARM. 1998-08-20 17:35:22 +00:00
Ulrich Drepper
333014b835 Set __libc_stack_end.
Fix problems with profiling code.
1998-08-20 17:34:16 +00:00
Ulrich Drepper
60438273e5 Use PLT for procedure call. 1998-08-20 17:33:57 +00:00
Ulrich Drepper
f176c9ee03 Put return value in correct register. Don't set the condition flags
unnecessarily.
Restore floating point registers correctly.
1998-08-20 17:33:32 +00:00
Ulrich Drepper
397e58bca8 Put return value in correct register. Don't set the condition flags
unnecessarily.
1998-08-20 17:33:18 +00:00
Ulrich Drepper
55e0df36d5 Correct value of R0 before calling sigjmp_save. 1998-08-15 02:39:03 +00:00
Ulrich Drepper
2ea19c152e Not needed anymore. 1998-08-15 02:38:53 +00:00
Ulrich Drepper
230ba858b4 Arm with FPU specific files to distribute. 1998-07-29 15:14:10 +00:00
Ulrich Drepper
2f601732bd Definitions for FPU control. 1998-07-27 17:52:34 +00:00
Ulrich Drepper
22a7aa47a3 (CALL_MCOUNT): Replace stub with real implementation. 1998-07-27 17:52:15 +00:00
Ulrich Drepper
7d39ca8849 Improved profiling for ARM. 1998-07-27 17:52:05 +00:00
Ulrich Drepper
67950c312e Move to fpu/ subdir. 1998-07-27 17:51:54 +00:00
Ulrich Drepper
fd2791ba88 (elf_machine_rel): Delete redundant debugging code. Correct handling
of PC24 relocs.
1998-07-27 17:51:42 +00:00
Ulrich Drepper
56984f4648 Fix typo. 1998-07-20 17:18:32 +00:00
Ulrich Drepper
030d182c93 Don't define __libc_pid. 1998-06-29 12:43:07 +00:00
Ulrich Drepper
7021745518 Update for new draft ARM ELF ABI. 1998-06-09 15:13:18 +00:00
Ulrich Drepper
54f119d171 GMP support for ARMs. 1998-06-01 14:25:31 +00:00
Ulrich Drepper
43ce7f2e75 IEEE 754 float support for strange ARMs. 1998-06-01 14:24:49 +00:00
Ulrich Drepper
5d3912ddbc Not needed anymore. 1998-06-01 14:23:55 +00:00
Ulrich Drepper
87386bad90 (FE_EXCEPTION_SHIFT): Rename to FE_EXCEPT_SHIFT. 1998-06-01 14:23:26 +00:00
Ulrich Drepper
6f43b79989 (__jmp_buf): Remove floating-point support.
(_JMPBUF_UNWINDS): Added.
1998-06-01 13:39:22 +00:00
Ulrich Drepper
6298404e7d jmpbuf definition for ARM with FPU. 1998-06-01 13:38:56 +00:00
Ulrich Drepper
58e6626f7e ARM implementation of feholdexcept. 1998-06-01 13:38:03 +00:00
Ulrich Drepper
e0ebc3b2ef Use __ASSEMBLER__ test macro not ASSEMBLER. 1998-05-29 10:20:59 +00:00
Ulrich Drepper
38843cb976 Correctly renamed. 1998-05-25 11:27:09 +00:00
Ulrich Drepper
cad0799e92 Set exception bits in Arm FPU. 1998-05-24 18:41:41 +00:00
Ulrich Drepper
3a5ade59c9 Definitions for FPU handling header. 1998-05-21 15:39:52 +00:00
Ulrich Drepper
c34d3ba41f FP CW and SW handling for Arm. 1998-05-21 15:39:28 +00:00
Ulrich Drepper
2e45c3aadd Replace stub file with real implementation. 1998-05-21 15:33:23 +00:00
Ulrich Drepper
0c56aa6338 (ALIGNARG): ELF .align directive uses a log, not a byte-count. 1998-05-19 16:11:52 +00:00
Ulrich Drepper
69069c4a57 Support both big and little endian processors. 1998-05-19 16:11:41 +00:00
Ulrich Drepper
3642cfd2b4 Fix off by one error. 1998-04-30 16:56:27 +00:00
Ulrich Drepper
4ec52ed6cf Add copyright text. 1998-04-20 18:34:25 +00:00
Ulrich Drepper
42d5b2810f Optimized ARM version of strlen. 1998-04-17 08:52:51 +00:00
Ulrich Drepper
e7304fce4e (_start): Leave most of the initialisation for __libc_start_main(). 1998-04-01 09:09:05 +00:00
Ulrich Drepper
28756a4b21 longjmp for ARM with FPU. 1998-03-18 14:41:31 +00:00
Ulrich Drepper
df27fae1e8 ELF startup code for Arm. 1998-03-18 14:41:15 +00:00
Ulrich Drepper
4acc1d4299 setjmp for Arm. 1998-03-18 14:41:05 +00:00
Ulrich Drepper
6f7638eb9d ELF setjmp for Arm. 1998-03-18 14:40:58 +00:00
Ulrich Drepper
ed6b842088 Floating point exception definitions. 1998-03-18 14:29:48 +00:00
Ulrich Drepper
fe0955cdc4 Change format of .type directive. Correct comment about floating
point to reflect current reality.
1998-03-18 14:29:30 +00:00
Ulrich Drepper
2e4ed6f1f8 Call __sigjmp_save through PLT 1998-03-18 14:29:20 +00:00
Ulrich Drepper
d024bf59e6 Optimized memset version. 1998-03-18 14:29:09 +00:00
Ulrich Drepper
2c2c129dd4 Startup code for Arm. 1998-03-18 14:29:01 +00:00
Ulrich Drepper
046378657f Arm/ELF definitions. 1998-03-18 14:28:36 +00:00
Ulrich Drepper
0bee7da30d Call __sigsetjmp by correct name. 1998-03-18 14:27:59 +00:00
Ulrich Drepper
120b2b39d6 Remove floating point code. 1998-03-18 14:27:40 +00:00
Ulrich Drepper
caa27d8e14 LinuxThreads library. 1998-03-11 12:42:24 +00:00
Ulrich Drepper
028502bf1e SysV compliant context switch interface. 1998-02-10 19:59:41 +00:00
Ulrich Drepper
4ff61542a8 Define _SETJMP_H before including <bits/setjmp.h>. 1997-12-03 23:20:36 +00:00
Ulrich Drepper
905714080f Issue error message if the header is used directly. 1997-11-26 04:14:44 +00:00
Ulrich Drepper
c48d19d0d5 Use __APCS_32__ to decide whether or not to preserve condition codes
on function call.
1997-11-18 02:39:35 +00:00
Ulrich Drepper
40731e73fd Assembler version of gmon handling. 1997-07-26 02:25:44 +00:00
Ulrich Drepper
36e28152c9 Update and reformat copyright, remove trailing white spaces and send
through unexpand.
1997-06-23 21:54:51 +00:00
Ulrich Drepper
788c7990eb Moved to bits/. 1997-06-21 02:40:36 +00:00
Ulrich Drepper
2b998aac44 ARM specific setjmp buffer. 1997-06-21 02:29:03 +00:00
Ulrich Drepper
d1c19e62fb ARM specific endianess specification. 1997-06-21 02:26:04 +00:00
Ulrich Drepper
405916ef4b <foo.h> -> <bits/foo.h>. 1997-06-21 01:37:20 +00:00
Ulrich Drepper
d80b3f3c5b Basic functionality for libc on ARM 1997-04-14 02:11:12 +00:00