Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/bfd add missed patch



details:   https://anonhg.NetBSD.org/src/rev/e235c2febaae
branches:  trunk
changeset: 318841:e235c2febaae
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 06 15:14:12 2018 +0000
description:
add missed patch

diffstat:

 external/gpl3/binutils/dist/bfd/elflink.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 8e11c7a6325f -r e235c2febaae external/gpl3/binutils/dist/bfd/elflink.c
--- a/external/gpl3/binutils/dist/bfd/elflink.c Sun May 06 14:46:58 2018 +0000
+++ b/external/gpl3/binutils/dist/bfd/elflink.c Sun May 06 15:14:12 2018 +0000
@@ -2804,6 +2804,8 @@
   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



Home | Main Index | Thread Index | Old Index