This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: MIPS gas relaxation still doesn't work
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Paul Koning <pkoning at equallogic dot com>, wilson at redhat dot com, hjl at lucon dot org, rsandifo at redhat dot com, linux-mips at linux-mips dot org, gcc at gcc dot gnu dot org, binutils at sources dot redhat dot com
- Date: Wed, 16 Oct 2002 12:25:30 +0200 (MET DST)
- Subject: Re: MIPS gas relaxation still doesn't work
- Organization: Technical University of Gdansk
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 +