Skip to content

Commit

Permalink
(elf_machine_rela): Remove use of RESOLVE.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed Feb 8, 2005
1 parent 6023c53 commit 3d20062
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions sysdeps/m68k/dl-machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3d20062

Please sign in to comment.