[PATCH] Fix Ada bootstrap on darwin
Mark Mitchell
mark@codesourcery.com
Tue Dec 14 17:55:00 GMT 2004
Zack Weinberg wrote:
> "John David Anglin" <dave@hiauly1.hia.nrc.ca> writes:
>
>
>>Last March, a change was committed to enable linkonce support on
>>Darwin. Part of this changed reversed the order in make_decl_one_only
>>of the checks for one-only support and common . I think this change
>>was wrong as it increases the binary size of systems that support
>>common. Thus, common support should be preferred.
>
>
> It's desirable to use linkonce .bss on systems that support both
> linkonce and common, because that way the linkonce section can be put
> into a COMDAT group (if and when we ever get around to implementing
> that *sigh*).
We did implement use of COMDAT groups, at least for use with C++.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304
More information about the Gcc-patches
mailing list