Proposed change: weak symbol support for Darwin

Mark Mitchell mitchell@doubledemon.codesourcery.com
Wed Oct 15 01:23:00 GMT 2003


> The only reason I was reluctant to make the change globally was that
> on most platforms (e.g. Linux/x86) the current scheme ain't broke.

For right or wrong, the ABI requires that all vtables with external
linkage have "vague linkage".  Therefore, I don't think we should change
the linkage of vtables on any platform, except those that don't have
proper support for weak/COMDAT/etc.

-- 
Mark Mitchell <mitchell@doubledemon.codesourcery.com>
CodeSourcery, LLC



More information about the Gcc mailing list