Module Name: src
Committed By: christos
Date: Sun May 6 15:14:12 UTC 2018
Modified Files:
src/external/gpl3/binutils/dist/bfd: elflink.c
Log Message:
add missed patch
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/binutils/dist/bfd/elflink.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/binutils/dist/bfd/elflink.c
diff -u src/external/gpl3/binutils/dist/bfd/elflink.c:1.15 src/external/gpl3/binutils/dist/bfd/elflink.c:1.16
--- src/external/gpl3/binutils/dist/bfd/elflink.c:1.15 Sun Apr 15 16:06:01 2018
+++ src/external/gpl3/binutils/dist/bfd/elflink.c Sun May 6 11:14:12 2018
@@ -2804,6 +2804,8 @@ _bfd_elf_fix_symbol_flags (struct elf_li
if (h->is_weakalias)
{
struct elf_link_hash_entry *def = weakdef (h);
+ while (def->root.type == bfd_link_hash_indirect)
+ def = (struct elf_link_hash_entry *) def->root.u.i.link;
/* If the real definition is defined by a regular object file,
don't do anything special. See the longer description in