Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2011 19:53:48 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r217024 - projects/binutils-2.17/contrib/binutils/bfd
Message-ID:  <201101051953.p05Jrm0A089280@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101051953.p05Jrm0A089280>