From: Roland McGrath Date: Wed, 3 Jul 1996 18:50:48 +0000 (+0000) Subject: Wed Jul 3 11:26:28 1996 Roland McGrath X-Git-Tag: glibc-2.16-ports-before-merge~3759 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ab191fa032d91def77613099bb9fca43e7a3f68;p=thirdparty%2Fglibc.git Wed Jul 3 11:26:28 1996 Roland McGrath * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as weak. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. --- diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h index a276551b007..bfde6662bfc 100644 --- a/sysdeps/alpha/dl-machine.h +++ b/sysdeps/alpha/dl-machine.h @@ -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. */