From 1ae12c758f8e40ed16320fea4c928974d2274474 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 13 Sep 2011 19:07:33 +0200 Subject: [PATCH] Fix undefined symbol in powerpc64 dl-machine.h --- ChangeLog | 5 +++++ sysdeps/powerpc/powerpc64/dl-machine.h | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7eb623c..c004edf 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 2defc44..ab90d1e 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) { -- 2.7.4