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