diff --git a/ChangeLog b/ChangeLog index 7eb623ceca..c004edf133 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-09-13 Andreas Schwab + + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): + Always define `refsym'. + 2011-09-13 Andreas Schwab * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK. diff --git a/sysdeps/powerpc/powerpc64/dl-machine.h b/sysdeps/powerpc/powerpc64/dl-machine.h index 2defc44b19..ab90d1e899 100644 --- a/sysdeps/powerpc/powerpc64/dl-machine.h +++ b/sysdeps/powerpc/powerpc64/dl-machine.h @@ -560,9 +560,7 @@ elf_machine_rela (struct link_map *map, { Elf64_Addr *const reloc_addr = reloc_addr_arg; const int r_type = ELF64_R_TYPE (reloc->r_info); -#ifndef RTLD_BOOTSTRAP const Elf64_Sym *const refsym = sym; -#endif if (r_type == R_PPC64_RELATIVE) {