mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-12 14:21:30 +03:00
Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as weak. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
This commit is contained in:
@@ -161,6 +161,7 @@ elf_machine_rela (struct link_map *map,
|
||||
{
|
||||
Elf64_Addr *const reloc_addr = (void *)(map->l_addr + reloc->r_offset);
|
||||
unsigned long r_info = ELF64_R_TYPE (reloc->r_info);
|
||||
weak_symbol (_dl_rtld_map); /* Defined in rtld.c, but not in libc.a. */
|
||||
|
||||
/* We cannot use a switch here because we cannot locate the switch
|
||||
jump table until we've self-relocated. */
|
||||
|
||||
Reference in New Issue
Block a user