Ulrich Drepper
88aa65dae8
(elf_machine_rela): Don't use INTUSE when calling _dl_signal_error.
...
(elf_machine_rel): Likewise.
2004-04-22 07:31:08 +00:00
Ulrich Drepper
cebbd6e78d
Use GLRO instead of GL where appropriate.
2004-03-05 10:22:54 +00:00
Ulrich Drepper
b82390a8da
(RTLD_START): Remove setting of __libc_stack_end.
2003-09-24 21:08:31 +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
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
Roland McGrath
d15c9a7856
2002-11-15 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
* sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.
2002-11-15 22:51:20 +00:00
Roland McGrath
a30e09230b
2002-09-28 Roland McGrath <roland@redhat.com>
...
* sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for
_dl_signal_error.
* sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise.
* sysdeps/powerpc/powerpc64/dl-machine.c
(_dl_reloc_overflow): Likewise.
* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_rela): Likewise.
2002-09-28 19:45:29 +00:00
Ulrich Drepper
bbb3856d85
Avoid unescaped newlines in string constants.
2002-08-28 21:26:20 +00:00
Ulrich Drepper
2aac58fcdf
(elf_machine_rel): Don't handle
...
R_ARM_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
(elf_machine_rela): Remove unused variable.
2002-07-15 02:07:00 +00:00
Ulrich Drepper
ceb7d0bbbe
Use rtld_progrname instead of _dl_argv[0].
2002-03-01 09:43:36 +00:00
Ulrich Drepper
dca9c7304b
Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION.
2002-02-28 22:36:33 +00:00
Ulrich Drepper
c577723005
(RTLD_START): Call _dl_init_internal instead of _dl_init.
2002-02-03 00:29:15 +00:00
Ulrich Drepper
f71d7f5726
Move global variables for SHARED code in struct _rtld_global. Export
...
this struct, remove all exports for the signal variables.
2002-02-01 01:32:06 +00:00
Andreas Jaeger
b6845b6741
(elf_machine_rela): Fix typo in last patch.
2001-12-12 09:02:09 +00:00
Ulrich Drepper
bcb5a520da
(elf_machine_runtime_setup): Save original content of .got[1].
...
(ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
(ELF_MACHINE_PLT_REL): Define.
(elf_machine_rela, elf_machine_rela_relative): New.
(elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
2001-12-12 00:11:47 +00:00
Ulrich Drepper
d4ef613a24
(elf_machine_rel): Fix thinko in usage of RESOLVE() (r_type, not
...
reloc->r_type).
2001-09-08 21:31:40 +00:00
Ulrich Drepper
09d4f65308
Fix usage of new _dl_signal_error() format.
2001-09-08 17:16:44 +00:00
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