[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/25975] --dynamic-list doesn't work correctly
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gold/25975] --dynamic-list doesn't work correctly |
Date: |
Sat, 27 Jun 2020 14:08:39 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25975
--- Comment #20 from H.J. Lu <hjl.tools at gmail dot com> ---
// If the symbol was forced dynamic in a --dynamic-list file
// or an --export-dynamic-symbol option, add it.
if (!this->is_from_dynobj()
&& (parameters->options().in_dynamic_list(this->name())
|| parameters->options().is_export_dynamic_symbol(this->name())))
{
if (!this->is_forced_local())
return true;
gold_warning(_("Cannot export local symbol '%s'"),
this->demangled_name().c_str());
return false;
}
I don't think the warning is necessary when it is a wild card match.
--
You are receiving this mail because:
You are on the CC list for the bug.