diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2011-09-13 19:07:33 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2011-09-13 20:01:15 +0200 |
commit | 1ae12c758f8e40ed16320fea4c928974d2274474 (patch) | |
tree | 803eebe5532ac8e188ee3738e4611a25052b890c | |
parent | e529793b508f47b5fb3a0a8bf5a1465a93a51dcd (diff) | |
download | glibc-1ae12c758f8e40ed16320fea4c928974d2274474.zip glibc-1ae12c758f8e40ed16320fea4c928974d2274474.tar.gz glibc-1ae12c758f8e40ed16320fea4c928974d2274474.tar.bz2 |
Fix undefined symbol in powerpc64 dl-machine.h
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/dl-machine.h | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -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. 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) { |