From 606832e6e59fc9771c1c9b2de8666bdfb0b344de Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 8 Feb 2005 08:25:22 +0000 Subject: * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using RESOLVE. 2005-02-07 Ulrich Drepper * elf/dl-load.c (_dl_map_object_from_fd): Makre sure registers are set correctly. * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define. --- sysdeps/sh/dl-machine.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sysdeps/sh/dl-machine.h') diff --git a/sysdeps/sh/dl-machine.h b/sysdeps/sh/dl-machine.h index 2b21f1b08e..b66b4f0e42 100644 --- a/sysdeps/sh/dl-machine.h +++ b/sysdeps/sh/dl-machine.h @@ -323,15 +323,9 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc, else { const Elf32_Sym *const refsym = sym; -#ifndef RTLD_BOOTSTRAP struct link_map *sym_map = RESOLVE_MAP (&sym, version, r_type); - value = sym == NULL ? 0 : sym_map->l_addr + sym->st_value; -#else - - value = RESOLVE (&sym, version, r_type); - value += sym->st_value; -#endif + value = sym_map == NULL ? 0 : sym_map->l_addr + sym->st_value; value += reloc->r_addend; switch (r_type) -- cgit v1.2.3