MIPS Assembly.
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Mon Jun 21 16:46:00 GMT 2004
Chris Jones wrote:
[snip]
> A JUMP instruction:
>
> j 2b
>
> This is what the compiler/assembler is complaining about:
>
> /tmp/ccGn3TTn.s: Assembler messages:
> /tmp/ccGn3TTn.s:7766: Error: Cannot branch to symbol in another section.
> /tmp/ccGn3TTn.s:7817: Error: Cannot branch to symbol in another section.
A jump to a (unnamed) local symbol is implemented as a branch.
> This compiles fine on x86, but does NOT on mips32 or cross-compiled for
> mips32.
I doubt mips inline assembly compiles fine on x86. ;-)
> If you have any ideas, I would love to hear them.
This most likely needs a fix in the mips kernel, which is hosted at
www.linux-mips.org.
Thiemo
More information about the Binutils
mailing list