This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -ffunction-sections always on now?


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]