http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47247
--- Comment #17 from Jan Hubicka <hubicka at ucw dot cz> 2011-02-16 07:50:48 UTC --- > I see. Even with PREVAILING_DEF_IRONLY_EXP we still have to update gold to > drop > those, no? Gold doesn't know the language semantics to know which visible I assume it will be part of PREVAILING_DEF_IRONLY_EXP implementation. > symbols can or cannot be dropped, so it can only assume the plugin knows what > it is doing when it drops one. Yes. > > Well, since we know this is the symbol being used, llvm can just upgrade it > all > the way to a regular symbol. Definitly it has to stay weak or things will break when multiple shared libraries export the same previously COMDAT symbol. Honza