Skip to content

Commit

Permalink
Fix undefined symbol in powerpc64 dl-machine.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed Sep 13, 2011
1 parent e529793 commit 1ae12c7
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 0 additions & 2 deletions sysdeps/powerpc/powerpc64/dl-machine.h
Original file line number Diff line number Diff line change
@@ -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)
{

0 comments on commit 1ae12c7

Please sign in to comment.