-ffunction-sections always on now?
Mark Mitchell
mark@codesourcery.com
Tue Oct 2 16:32:00 GMT 2001
> If I understand the test correctly, it's just testing that the
> compiler accepts the option, not that the resulting executable
> works. That's possibly a bogosity in GCC, because I only turned
> on named sections to get Dwarf 2 sections of fixed names known
> to work with Mach-O, but that's taken to mean that the function
> section option works too, which doesn't really follow.
>
Yes, that's what needs fixing. We need target-specific goo that
allows you to say yes, I have named sections, but no, I don't have
-ffunction-sections in darwin.h.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Libstdc++
mailing list