-ffunction-sections always on now?

Stan Shebs shebs@apple.com
Tue Oct 2 16:39:00 GMT 2001


Mark Mitchell wrote:
> 
> > 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.

I guess I'm now motivated to add something like this, eh? :-)

Stan



More information about the Libstdc++ mailing list