svn commit: r217024 - projects/binutils-2.17/contrib/binutils/bfd
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Wed Jan 5 19:53:49 UTC 2011
Author: nwhitehorn
Date: Wed Jan 5 19:53:48 2011
New Revision: 217024
URL: http://svn.freebsd.org/changeset/base/217024
Log:
Fix a bug involving hidden PLT symbols on powerpc64 systems by importing
the 64-bit section of the change in binutils PR 11088.
Modified:
projects/binutils-2.17/contrib/binutils/bfd/elf64-ppc.c
Modified: projects/binutils-2.17/contrib/binutils/bfd/elf64-ppc.c
==============================================================================
--- projects/binutils-2.17/contrib/binutils/bfd/elf64-ppc.c Wed Jan 5 19:35:35 2011 (r217023)
+++ projects/binutils-2.17/contrib/binutils/bfd/elf64-ppc.c Wed Jan 5 19:53:48 2011 (r217024)
@@ -5365,9 +5365,7 @@ ppc64_elf_gc_sweep_hook (bfd *abfd, stru
for (ent = h->plt.plist; ent != NULL; ent = ent->next)
if (ent->addend == rel->r_addend)
break;
- if (ent == NULL)
- abort ();
- if (ent->plt.refcount > 0)
+ if (ent != NULL && ent->plt.refcount > 0)
ent->plt.refcount -= 1;
}
break;
More information about the svn-src-projects
mailing list