[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/15574] Gold is overly pedantic for dynamic references to symbo
From: |
binutils at marino dot st |
Subject: |
[Bug gold/15574] Gold is overly pedantic for dynamic references to symbols with hidden visibility |
Date: |
Thu, 12 Jun 2014 18:10:14 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=15574
--- Comment #3 from John Marino <binutils at marino dot st> ---
This is exactly what I ended up doing, by the way:
--- gold/resolve.cc.orig 2013-11-04 15:33:39.000000000 +0000
+++ gold/resolve.cc
@@ -276,8 +276,7 @@ Symbol_table::resolve(Sized_symbol<size>
to->set_in_reg();
}
else if (st_shndx == elfcpp::SHN_UNDEF
- && (to->visibility() == elfcpp::STV_HIDDEN
- || to->visibility() == elfcpp::STV_INTERNAL))
+ && (to->visibility() == elfcpp::STV_INTERNAL))
{
// A dynamic object cannot reference a hidden or internal symbol
// defined in another object.
--
You are receiving this mail because:
You are on the CC list for the bug.