Fix for PR 12537

Geoff Keating geoffk@geoffk.org
Sat Oct 18 08:16:00 GMT 2003


> X-Original-To: geoffk@foam.wonderslug.com
> Date: Sat, 18 Oct 2003 15:27:54 +0930
> From: Alan Modra <amodra@bigpond.net.au>
> Cc: Geoffrey Keating <geoffk@geoffk.org>, David Edelsohn <dje@watson.ibm.com>,
>    Richard Henderson <rth@redhat.com>, Jakub Jelinek <jakub@redhat.com>
> Mail-Followup-To: gcc-patches@gcc.gnu.org,
> 	Geoffrey Keating <geoffk@geoffk.org>,
> 	David Edelsohn <dje@watson.ibm.com>,
> 	Richard Henderson <rth@redhat.com>, Jakub Jelinek <jakub@redhat.com>
> Content-disposition: inline
> User-Agent: Mutt/1.4i
> X-OriginalArrivalTime: 18 Oct 2003 06:01:22.0375 (UTC) FILETIME=[41AA9D70:01C3953D]
> 
> Please consider Jakub's patch to rs6000.c for inclusion into gcc-3.4.
> http://gcc.gnu.org/ml/gcc-patches/2003-01/msg02345.html
> 
> rth replied http://gcc.gnu.org/ml/gcc-patches/2003-02/msg00554.html
> that it could be improved.  I agree, but note that the improvements
> rth is advocating apply only to svr4 non-linux targets, and it appears
> that no one has the time or enthusiasm to investigate.
> 
> Meanwhile, a current powerpc-linux build with current binutils
> complains:
> $ grep 'setting incorrect section attributes' make.log | wc -l
> 902

Looking at the patch, it seems very odd.  Why is this code there in
the first place?  The relocs required when using .fixup are the same
that ld.so needs to do.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc-patches mailing list