This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] PowerPC select_section / unique_section
- From: Richard Henderson <rth at redhat dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>, Geoff Keating <geoffk at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Aug 2002 18:03:15 -0700
- Subject: Re: [RFC] PowerPC select_section / unique_section
- References: <20020822114955.S21053@bubble.sa.bigpond.net.au> <200208220225.WAA08684@makai.watson.ibm.com>
On Wed, Aug 21, 2002 at 10:25:26PM -0400, David Edelsohn wrote:
> Alan> Setting flag_pic to zero when
> Alan> we are PIC amounts to lying to the rest of the compiler.
>
> Not really. GCC handled PIC just fine before flag_pic was
> introduced. flag_pic really means flag_got. It really means enable a
> particular way of implementing PIC support, not enable PIC codegen. It
> would be nice if flag_pic meant PIC, but the meaning is confused with the
> implementation.
Indeed. For ELF what it actually means is "compiling for
inclusion in a shared library". Existing usage of the
command-line switch is way too entrenched to rename it.
r~