mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-26 04:15:28 +00:00
* resolve.cc (Symbol_table::resolve): Don't complain about defined
symbols in shared libraries overridden by hidden or internal symbols in the main program.
This commit is contained in:
parent
2db7050185
commit
2da73f13b5
@ -1,3 +1,9 @@
|
||||
2009-08-19 Cary Coutant <ccoutant@google.com>
|
||||
|
||||
* resolve.cc (Symbol_table::resolve): Don't complain about defined
|
||||
symbols in shared libraries overridden by hidden or internal symbols
|
||||
in the main program.
|
||||
|
||||
2009-08-19 Chris Demetriou <cgd@google.com>
|
||||
|
||||
* testsuite/debug_msg.sh: Match .* rather than ${srcdir} when
|
||||
|
@ -257,8 +257,9 @@ Symbol_table::resolve(Sized_symbol<size>* to,
|
||||
// Record that we've seen this symbol in a regular object.
|
||||
to->set_in_reg();
|
||||
}
|
||||
else if (to->visibility() == elfcpp::STV_HIDDEN
|
||||
|| to->visibility() == elfcpp::STV_INTERNAL)
|
||||
else if (st_shndx == elfcpp::SHN_UNDEF
|
||||
&& (to->visibility() == elfcpp::STV_HIDDEN
|
||||
|| to->visibility() == elfcpp::STV_INTERNAL))
|
||||
{
|
||||
// A dynamic object cannot reference a hidden or internal symbol
|
||||
// defined in another object.
|
||||
|
Loading…
x
Reference in New Issue
Block a user