mirror of
https://github.com/rui314/mold.git
synced 2025-01-01 05:02:36 +03:00
wip
This commit is contained in:
parent
554235f4da
commit
c35b2a3537
2
main.cc
2
main.cc
@ -647,7 +647,7 @@ static void compute_import_export() {
|
||||
|
||||
sym->is_exported = true;
|
||||
|
||||
if (sym->visibility != STV_PROTECTED &&
|
||||
if (config.shared && sym->visibility != STV_PROTECTED &&
|
||||
!config.Bsymbolic &&
|
||||
!(config.Bsymbolic_functions && sym->get_type() == STT_FUNC))
|
||||
sym->is_imported = true;
|
||||
|
Loading…
Reference in New Issue
Block a user