Commit Graph

30 Commits

Author SHA1 Message Date
Ulrich Drepper
5c6029e5c0 (elf_machine_lookup_noplt_p, elf_machine_lookup_noexec_p): Remove.
(elf_machine_type_class): Define.
2001-08-26 22:26:38 +00:00
Ulrich Drepper
85bdccdbd2 Define elf_machine_rel_relative. Minor optimizations. 2001-08-24 08:43:21 +00:00
Ulrich Drepper
17f56d2f9c (elf_machine_runtime_setup): Only set _dl_profile_map for the right object. 2001-08-11 08:54:29 +00:00
Andreas Jaeger
3214b89b32 Update to LGPL v2.1. 2001-07-06 04:56:23 +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
Ulrich Drepper
f1dba30859 (elf_machine_matches_host): Parameter is now pointer to ELF header. 2000-10-20 17:04:28 +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
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
21d129104c (RTLD_START): Rewrite for new init function interface. 2000-04-12 20:12:05 +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
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
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
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
e79468a241 (elf_machine_load_address): Fix problems with GOT addressing. 1999-06-06 09:20:55 +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
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
e7782e5ed6 Fix handling of weak undefined symbols during bootstrapping. 1998-11-27 10:01:37 +00:00
Ulrich Drepper
f036f1a9bc Fix typo in last change. 1998-10-05 13:39:21 +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
68d11b268e (elf_machine_lazy_rel): Change first parameter and use this value. 1998-08-28 22:54:12 +00:00
Ulrich Drepper
333014b835 Set __libc_stack_end.
Fix problems with profiling code.
1998-08-20 17:34:16 +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
7021745518 Update for new draft ARM ELF ABI. 1998-06-09 15:13:18 +00:00
Ulrich Drepper
046378657f Arm/ELF definitions. 1998-03-18 14:28:36 +00:00