This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MIPS Assembly.
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Mon, 21 Jun 2004 18:46:30 +0200
- Subject: Re: MIPS Assembly.
- References: <20040621162609.GQ6981@qworks.ca>
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