[patch] MIPS gas problems with gcc's explicit relocs
Eric Christopher
echristo@redhat.com
Fri Jun 4 15:53:00 GMT 2004
> - Work around the problem by not using "m" constraints for (d)la in
> the inline assembler, that is instead of
>
> asm("dla\t%0,%1" : "=r" (result) : "m" (foo));
>
> something like
>
> asm("dla\t%0,foo" : "=r" (result));
I like this I think the most. It fits with what people are trying to do
with the la instruction, i.e. load an address for a symbol that they
know.
-eric
--
Eric Christopher <echristo@redhat.com>
More information about the Binutils
mailing list