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 Allow STT_GNU_IFUNC to be a ...



details:   https://anonhg.NetBSD.org/src/rev/832eca1e9b6f
branches:  trunk
changeset: 331844:832eca1e9b6f
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Aug 26 16:39:49 2014 +0000

description:
Allow STT_GNU_IFUNC to be a dynamic symbol.

diffstat:

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

diffs (11 lines):

diff -r 0438fb90b698 -r 832eca1e9b6f external/gpl3/binutils/dist/bfd/elfxx-mips.c
--- a/external/gpl3/binutils/dist/bfd/elfxx-mips.c      Tue Aug 26 16:25:35 2014 +0000
+++ b/external/gpl3/binutils/dist/bfd/elfxx-mips.c      Tue Aug 26 16:39:49 2014 +0000
@@ -8626,6 +8626,7 @@
   /* Make sure we know what is going on here.  */
   BFD_ASSERT (dynobj != NULL
              && (h->needs_plt
+                 || h->type == STT_GNU_IFUNC
                  || h->u.weakdef != NULL
                  || (h->def_dynamic
                      && h->ref_regular



Home | Main Index | Thread Index | Old Index