Re: HELP: opcode not supported on this processor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
I added compiler flag "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" . however I got the following error:
 
{standard input}: Assembler messages:
{standard input}:8068: Error: Cannot branch to symbol in another section.
{standard input}:8100: Error: Cannot branch to symbol in another section.
{standard input}:8161: Error: Cannot branch to symbol in another section.
{standard input}:8344: Error: Cannot branch to symbol in another section.
{standard input}:8452: Error: Cannot branch to symbol in another section.
{standard input}:8539: Error: Cannot branch to symbol in another section.
{standard input}:8571: Error: Cannot branch to symbol in another section.

I have no platform specific knowledge. Most of my time are on Intel environment. It does not mean anythign to me. How can this be rectified?
 
Thanks.
David
 
David Lee <receive4me@xxxxxxxxx> wrote:
HI Freddy,
 
Thanks a lot for your help.
 
my target is a MIPS32. Based on what you advised, it must be a wrong configuration in Linux header files. I'll check and see what'll happen.
 
Thanks again.
 
David

 
On 9/29/06, Freddy Spierenburg < freddy@xxxxxxxxxxxxxxx> wrote:
Hi David,

On Fri, Sep 29, 2006 at 05:35:48PM +0800, David Lee wrote:
> /tmp/ccwOZSG3.s:5143: Error: opcode not supported on this processor: mips1
> (mips1) `ll $4,16($2)'
> /tmp/ccwOZSG3.s:5145: Error: opcode not supported on this processor: mips1
> (mips1) `sc $4,16($2)'

Are you sure you want to assemble for the mips1 target?

I know these both opcodes are valid MIPS32 opcodes, but don't
know if they exist for the mips1 target.

You might want to look for something like

       http://www.cs.cornell.edu/courses/cs314/2005FA/resources/MIPS_Vol2.pdf

but this one is for MIPS32. If you need mips1 you better search
for a likewise document.


--
$ cat ~/.signature
Freddy Spierenburg < freddy@xxxxxxxxxxxxxxx >   http://freddy.snarl.nl/
GnuPG: 0x7941D1E1=C948 5851 26D2 FA5C 39F1  E588 6F17 FD5D 7941 D1E1
$ # Please read http://www.ietf.org/rfc/rfc2015.txt before complain!


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFHOuxbxf9XXlB0eERAjTjAKCisVWs1p8ViEDGQnWexpfoQ6c3kACgxn/y
GRv42zeXJWfW62Iy6eC54dI=
=I9OS
-----END PGP SIGNATURE-----





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux