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: David Edelsohn <dje at watson dot ibm dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: Richard Henderson <rth at redhat dot com>, 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: Mon, 02 Sep 2002 19:51:07 -0400
- Subject: Re: [RFC] PowerPC select_section / unique_section
Again, no one has said what is incorrect about about GCC's current
code generation, other than Richard's report about inlining and -O3. Not
what is inefficient, but what produces incorrect code.
GCC targeted for AIX and linuxppc64 currently always should
produce code appropriate for shared libraries, with the most recent
changes, other than the problem reported above. If GCC should produce
different code without -fpic, that is a different question and not a bug.
Alan> We (linux people) need a flag to say "build for a shared library".
You have not justified this statement.
All I have seen so far is a bunch of proposed patches and
assumptions without analysis (other than Richard). When I see a report of
an actual problem, then we can discuss how to solve it, not patches in
search of a bug.
David