This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: -ffunction-sections always on now?
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: -ffunction-sections always on now?
- From: Stan Shebs <shebs at apple dot com>
- Date: Tue, 02 Oct 2001 16:37:41 -0700
- CC: Benjamin Kosnik <bkoz at redhat dot com>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- References: <46380000.1002065564@warlock.codesourcery.com>
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