public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 3/4] patches/binutils/2.22: backport upstream fix for ld bug 14189
@ 2012-09-19  8:58 Florian Fainelli
  0 siblings, 0 replies; only message in thread
From: Florian Fainelli @ 2012-09-19  8:58 UTC (permalink / raw)
  To: crossgcc, Yann E. MORIN

# HG changeset patch
# User Florian Fainelli <f.fainelli@gmail.com>
# Date 1348044050 -7200
# Node ID 073b6fb72d8a97ed794404f22452c5119d83eafe
# Parent  a9d2d7870fef02d2a14f6d2902bf7679bf789249
patches/binutils/2.22: backport upstream fix for ld bug 14189

See http://sourceware.org/bugzilla/show_bug.cgi?id=14189 for more information.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

diff -r a9d2d7870fef -r 073b6fb72d8a patches/binutils/2.22/400-fix_arm_gc_sections.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/binutils/2.22/400-fix_arm_gc_sections.patch	Wed Sep 19 10:40:50 2012 +0200
@@ -0,0 +1,12 @@
+--- a/bfd/elf32-arm.c
++++ b/bfd/elf32-arm.c
+@@ -12408,7 +12408,8 @@ elf32_arm_check_relocs (bfd *abfd, struc
+ 
+ 	  /* If the symbol is a function that doesn't bind locally,
+ 	     this relocation will need a PLT entry.  */
+-	  root_plt->refcount += 1;
++	  if (root_plt->refcount != -1)
++	    root_plt->refcount += 1;
+ 
+ 	  if (!call_reloc_p)
+ 	    arm_plt->noncall_refcount++;
exporting patch:
<fdopen>


--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-19  8:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-19  8:58 [PATCH 3/4] patches/binutils/2.22: backport upstream fix for ld bug 14189 Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).