vapier      14/06/03 02:53:38

  Modified:             README.history
  Added:                53_all_hppa-as-needed.patch
  Log:
  fix from upstream for as-needed crashes on hppa #466924

Revision  Changes    Path
1.6                  src/patchsets/binutils/2.24/README.history

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.24/README.history?rev=1.6&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.24/README.history?rev=1.6&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.24/README.history?r1=1.5&r2=1.6

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/binutils/2.24/README.history,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- README.history      3 Jun 2014 02:52:35 -0000       1.5
+++ README.history      3 Jun 2014 02:53:38 -0000       1.6
@@ -1,5 +1,6 @@
-1.4            [pending]
+1.4            02 Jun 2014
        + 52_all_binutils-alpha-relax.patch
+       + 53_all_hppa-as-needed.patch
 
 1.3            18 Jan 2014
        + 24_all_as-needed.patch



1.1                  src/patchsets/binutils/2.24/53_all_hppa-as-needed.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.24/53_all_hppa-as-needed.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.24/53_all_hppa-as-needed.patch?rev=1.1&content-type=text/plain

Index: 53_all_hppa-as-needed.patch
===================================================================
https://bugs.gentoo.org/466924

>From 31fc8a0b2f4eaf15155d5b02b8017220c32aacbd Mon Sep 17 00:00:00 2001
From: Nick Clifton <[email protected]>
Date: Thu, 14 Nov 2013 14:24:34 +0000
Subject: [PATCH]        PR ld/16082     * elf32-hppa.c
 (elf32_hppa_hide_symbol): Remove old version   information when forcing a
 symbol to be local.

---
 bfd/ChangeLog    | 6 ++++++
 bfd/elf32-hppa.c | 4 ++++
 2 files changed, 10 insertions(+)

2013-11-14  Guy Martin <[email protected]>

        PR ld/16082
        * elf32-hppa.c (elf32_hppa_hide_symbol): Remove old version
        information when forcing a symbol to be local.

diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 7d1725f..df25ac9 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -1771,6 +1771,10 @@ elf32_hppa_hide_symbol (struct bfd_link_info *info,
          _bfd_elf_strtab_delref (elf_hash_table (info)->dynstr,
                                  eh->dynstr_index);
        }
+
+      /* PR 16082: Remove version information from hidden symbol.  */
+      eh->verinfo.verdef = NULL;
+      eh->verinfo.vertree = NULL;
     }
 
   /* STT_GNU_IFUNC symbol must go through PLT.  */
-- 
2.0.0





Reply via email to