linux-mips
[Top] [All Lists]

Re: HELP: opcode not supported on this processor

To: "Freddy Spierenburg" <freddy@dusktilldawn.nl>
Subject: Re: HELP: opcode not supported on this processor
From: "David Lee" <receive4me@gmail.com>
Date: Fri, 29 Sep 2006 19:11:32 +0800
Cc: linux-mips@linux-mips.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=D3xBSp4w6hHIkQaMenwQdAIlDYB2yPgnwHseUcTI0wz8ZGMjXS31F18aTNNNl7m4rqyMqBB1iavg6Lm/pUuN8MANiSIl8mh13x3RdNBaGnN6oY7kTVFvL9Bkre2Qk37EJUnF+rcPT1R6Pe9vhnazLSgKio0N10aubsT4mm5k7H0=
In-reply-to: <5ee285ba0609290259g2edf60c7ja7463036c748991b@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <5ee285ba0609290235v7b518495u2dccb1ef82b117d0@mail.gmail.com> <20060929094729.GM17027@dusktilldawn.nl> <5ee285ba0609290259g2edf60c7ja7463036c748991b@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
 
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@gmail.com> 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@dusktilldawn.nl> 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@dusktilldawn.nl >   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-----




<Prev in Thread] Current Thread [Next in Thread>