[patch] MIPS gas problems with gcc's explicit relocs
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Fri Jun 4 21:01:00 GMT 2004
Andreas Schwab wrote:
[snip]
> >> 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.
"i" (foo)
gives
error: impossible constraint in asm
but then I haven't understood what you meant with "use %c0 to substitute".
Thiemo
More information about the Binutils
mailing list