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: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Geoff Keating <geoffk at redhat dot com>,gcc-patches at gcc dot gnu dot org
- Date: Wed, 21 Aug 2002 20:58:41 +0200
- Subject: Re: [RFC] PowerPC select_section / unique_section
- References: <200208211825.OAA30074@makai.watson.ibm.com>
On Mittwoch, 21. August 2002 20:25, David Edelsohn wrote:
> >>>>> Franz Sirl writes:
>
> Franz> I suggested to unify the handling and the followup discussion on
> Franz> how to better re-use the stuff in varasm.c. I haven't come around to
> Franz> implement this yet unfortunately (and it doesn't look like I will be
> able to Franz> tackle this anytime soon).
>
> PowerPC cannot use the default functions in varasm.c because of
> its assumptions (e.g., flag_pic). I already investigated that and I do
> remember the earlier discussion.
Well, we could save flag_pic around calling these functions or change the
flag_pic checks in varasm.c to a target hook.
> My patch is not a cleanup, it's a correctness issue.
I understand that, but I consider reusing as much as possible of the varasm
functions a longterm correctness issue.
Franz.