[Top] [All Lists]

Re: MIPS gas relaxation still doesn't work

To: Alexandre Oliva <>
Subject: Re: MIPS gas relaxation still doesn't work
From: "Maciej W. Rozycki" <>
Date: Wed, 16 Oct 2002 12:25:30 +0200 (MET DST)
Cc: Paul Koning <>,,,,,,
In-reply-to: <>
Organization: Technical University of Gdansk
Original-recipient: rfc822;
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:, PGP key available        +

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