This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] MIPS gas problems with gcc's explicit relocs
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