Problem with GNU as giving invalid instr for m5307
Mark Powell
medp@primagraphics.co.uk
Mon Dec 4 03:45:00 GMT 2000
Steve,
you may want to check a collection of ColdFire patches for gcc and binutils
that I assembled from contributions on the ColdFire list (see
http://www.WildRice.com/ColdFire/ ).
Matt Minnis has kindly placed them on his coldfire web site at
http://walden.mvp.net/~chandra/coldfire.shtml
The patches are in the code section.
If you haven't seen the ColdFire list, I would recommend it.
--
Mark Powell, Senior Software Engineer, Primagraphics Limited
New Cambridge House, Litlington, nr.Royston, Herts, SG8 0SS, UK
Tel. +44 1763 852222, Fax. 853324, medp@primag.co.uk, http://www.primag.co.uk
On 02-Dec-2000 Steve deRosier wrote:
> I have a project that I am trying to convert over from the Microtec tools to
> GNU. I've got almost everything working, but on one assembler file I am
> getting a strange error.
>
> The GNU tools (binutils incl. as and gcc) are configured for m68k-coff and
> running on Solaris. as version is 2.10.1
>
> I am compiling a assembler source for a Coldfire 5307 target. The source
> assembles properly on the Microtec tools and I can get the results running
> properly on the target hardware. But for some reason GNU as tells me that
> some of the instructions are invalid for the target.
>
> command line:
> m68k-coff-as -M -m5307 file.s
> (I tried -m5200 first, as -m5307 was not mentioned in the manual, but same
> errors. -M is in there to be in the MRI compatibility mode, very necessary
> unless I want to get an error on almost every line)
>
> for 4 lines in a 600+ line file I get the following error:
> 'Error: invalid instruction for this architecture; needs 68000 or higher'
>
> The instructions in question:
> 'cmp d3,d1'
> 'andi #inton,d0'
> 'adda #16,a0'
> 'andi #$7FF,d0'
>
> These instructions ARE valid for the 5307 (I checked the manual).
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list