Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/external/gpl3/binutils/dist/bfd Pull up following revisio...
details: https://anonhg.NetBSD.org/src/rev/ef0dada17cbd
branches: netbsd-7
changeset: 798228:ef0dada17cbd
user: martin <martin%NetBSD.org@localhost>
date: Tue Aug 12 09:36:03 2014 +0000
description:
Pull up following revision(s) (requested by skrll in ticket #5):
external/gpl3/binutils/dist/bfd/ChangeLog: revision 1.6
external/gpl3/binutils/dist/bfd/elflink.c: revision 1.8
Apply change from upstream to fix PR/48709 - port-alpha/48709: static
threaded programs crash.
With this fix the new weak symbol's st_other is not merged in, i.e. NOPV
is not copied from the libc __libc_thr_init.
* elflink.c (_bfd_elf_merge_symbol): If merging a new weak
symbol that will be skipped, we don't have a new definition.
diffstat:
external/gpl3/binutils/dist/bfd/ChangeLog | 5 +++++
external/gpl3/binutils/dist/bfd/elflink.c | 5 ++++-
2 files changed, 9 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 7a46af7fb906 -r ef0dada17cbd external/gpl3/binutils/dist/bfd/ChangeLog
--- a/external/gpl3/binutils/dist/bfd/ChangeLog Mon Aug 11 15:40:08 2014 +0000
+++ b/external/gpl3/binutils/dist/bfd/ChangeLog Tue Aug 12 09:36:03 2014 +0000
@@ -1,3 +1,8 @@
+2013-12-14 Alan Modra <amodra%gmail.com@localhost>
+
+ * elflink.c (_bfd_elf_merge_symbol): If merging a new weak
+ symbol that will be skipped, we don't have a new definition.
+
2013-03-25 Tristan Gingold <gingold%adacore.com@localhost>
* configure.in: Bump version to 2.23.2
diff -r 7a46af7fb906 -r ef0dada17cbd external/gpl3/binutils/dist/bfd/elflink.c
--- a/external/gpl3/binutils/dist/bfd/elflink.c Mon Aug 11 15:40:08 2014 +0000
+++ b/external/gpl3/binutils/dist/bfd/elflink.c Tue Aug 12 09:36:03 2014 +0000
@@ -1442,7 +1442,10 @@
if (!(oldbfd != NULL
&& (oldbfd->flags & BFD_PLUGIN) != 0
&& (abfd->flags & BFD_PLUGIN) == 0))
- *skip = TRUE;
+ {
+ newdef = FALSE;
+ *skip = TRUE;
+ }
/* Merge st_other. If the symbol already has a dynamic index,
but visibility says it should not be visible, turn it into a
Home |
Main Index |
Thread Index |
Old Index