This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

 Thiemo> Paul Koning wrote: [snip] That's not the way gcc up to 3.3
 Thiemo> works for mips. So far, it was possible to write
 >>
 Thiemo> asm("ld\t%0,%1(%2)" : "=r" (foo) : "m" (bar), "r" (baz));
 >>
 Thiemo> and get something like
 >>
 Thiemo> #APP ld $2,bar($2) #NO_APP
 >> 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?

	paul



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]