Fix undefined symbol in powerpc64 dl-machine.h
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 13 Sep 2011 17:07:33 +0000 (19:07 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 13 Sep 2011 18:01:15 +0000 (20:01 +0200)
ChangeLog
sysdeps/powerpc/powerpc64/dl-machine.h

index 7eb623c..c004edf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
+       Always define `refsym'.
+
 2011-09-13  Andreas Schwab  <schwab@redhat.com>
 
        * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
index 2defc44..ab90d1e 100644 (file)
@@ -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)
     {