http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55739



--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-19 
13:49:35 UTC ---

That would look like too big hack.

Perhaps we could emit the common symbols as .bss .weak objects with padding,

and register as global a local alias to those symbols.  Not sure if it would

have the right semantics of common symbols though (non-common definitions would

be strong symbols and thus would win over the common ones, or if only common

definitions are used, then one of them would win).  Would bloat .bss of course,

and could do surprising things if one uses a weak non-common definition in one

CU and common (non-weak) symbol in another one.

Reply via email to