mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 03:31:07 +00:00
Temporarily enable R_*_NONE relocs in ld.so.
This commit is contained in:
parent
5e2fa76de2
commit
d044736b27
@ -522,7 +522,7 @@ elf_machine_rela (struct link_map *map,
|
||||
if (map != &GL(dl_rtld_map))
|
||||
# endif
|
||||
{
|
||||
/* XXX Make some timings. Maybe it's preverable to test for
|
||||
/* XXX Make some timings. Maybe it's preferable to test for
|
||||
unaligned access and only do it the complex way if necessary. */
|
||||
void *reloc_addr_1 = reloc_addr;
|
||||
Elf64_Addr reloc_addr_val;
|
||||
@ -535,12 +535,11 @@ elf_machine_rela (struct link_map *map,
|
||||
memcpy (reloc_addr_1, &reloc_addr_val, 8);
|
||||
}
|
||||
}
|
||||
# ifndef RTLD_BOOTSTRAP
|
||||
else if (__builtin_expect (r_type == R_ALPHA_NONE, 0))
|
||||
return;
|
||||
# endif
|
||||
else
|
||||
#endif
|
||||
if (__builtin_expect (r_type == R_ALPHA_NONE, 0))
|
||||
return;
|
||||
else
|
||||
{
|
||||
Elf64_Addr loadbase, sym_value;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user