linux-mips
[Top] [All Lists]

Re: MIPS gas relaxation still doesn't work

To: Alexandre Oliva <aoliva@redhat.com>
Subject: Re: MIPS gas relaxation still doesn't work
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Wed, 16 Oct 2002 12:25:30 +0200 (MET DST)
Cc: Paul Koning <pkoning@equallogic.com>, wilson@redhat.com, hjl@lucon.org, rsandifo@redhat.com, linux-mips@linux-mips.org, gcc@gcc.gnu.org, binutils@sources.redhat.com
In-reply-to: <orof9vqso2.fsf@free.redhat.lsd.ic.unicamp.br>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
On 15 Oct 2002, Alexandre Oliva wrote:

> >  Hmm, how do you select right relocations that depend on the ABI selected? 
> 
> Err...  With logic similar to that the assembler uses? :-)

 Except that at the assembly level you cannot guess which switches were
passed to gas.  You may try to guess with cpp, but it isn't able to get at
whatever is passed with "-Wa".  Also you have to reflect all the
conditional paths from the "asm" sections of specs in the "cpp" ones,
which is fragile. 

 Pretty tough at the moment, I'd say.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>