[patch] MIPS gas problems with gcc's explicit relocs

Andreas Schwab schwab@suse.de
Fri Jun 4 20:13:00 GMT 2004


Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> writes:

> Paul Koning wrote:
> [snip]
>>  >> That certainly is not what I expect from the documentation.  If
>>  >> you need "bar" as a displacement, then it clearly is not a memory
>>  >> location -- which is what "m" means.
>> 
>>  Thiemo> I need "bar" as a symbol reference.
>> 
>> Doesn't "i" do what you need for this?
>
> The symbol's address is not an assembly-time constant.

I think "assembly-time constant" includes entities that require link-time
relocation, but are not otherwise changed at runtime.  But note that you
probably need to use %c0 to substitute the argument.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list