1
1
mirror of https://github.com/rui314/mold.git synced 2025-01-01 05:02:36 +03:00
This commit is contained in:
Rui Ueyama 2021-03-13 22:49:57 +09:00
parent 554235f4da
commit c35b2a3537

View File

@ -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;