(elf_machine_rela): Remove use of RESOLVE.

This commit is contained in:
Andreas Schwab 2005-02-08 20:02:24 +00:00
parent 6023c53339
commit 3d20062306
1 changed files with 0 additions and 7 deletions

View File

@ -211,15 +211,8 @@ 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);
Elf32_Addr value = sym == NULL ? 0 : sym_map->l_addr + sym->st_value;
#else
Elf32_Addr value = RESOLVE (&sym, version, r_type);
if (sym)
value += sym->st_value;
#endif /* !RTLD_BOOTSTRAP */
switch (r_type)
{