http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50669
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-10-09 19:34:48 UTC --- (In reply to comment #2) > I could understand this for libraries. However, when linking as an executable > binary, could the global really be still exported? Yes. In fact this is how plugins work in GCC.