mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
(elf_machine_rela): Remove use of RESOLVE.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user