Fix undefined symbol in powerpc64 dl-machine.h

This commit is contained in:
Andreas Schwab 2011-09-13 19:07:33 +02:00
parent e529793b50
commit 1ae12c758f
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View 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)
{