Message ID | 20190209220136.372lqazt3qo36uix@kam.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Series | Fix localization of comdats | expand |
Index: ipa-visibility.c =================================================================== --- ipa-visibility.c (revision 268722) +++ ipa-visibility.c (working copy) @@ -539,7 +539,8 @@ localize_node (bool whole_program, symta symbols. In this case we can privatize all hidden symbol but we need to keep non-hidden exported. */ if (node->same_comdat_group - && node->resolution == LDPR_PREVAILING_DEF_IRONLY) + && (node->resolution == LDPR_PREVAILING_DEF_IRONLY + || node->resolution == LDPR_PREVAILING_DEF_IRONLY_EXP)) { symtab_node *next; for (next = node->same_comdat_group;