mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
(elf_machine_rela): Remove use of RESOLVE.
This commit is contained in:
parent
6023c53339
commit
3d20062306
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user