Opcode trap error on MC68010

Toralf Lund toralf@procaptura.com
Tue Sep 23 15:24:00 GMT 2003


I've now been able to load and start my m68k cross compiled code, but I 
get an opcode trap during execution:

PHYSICAL ADDRESS=00001000
 
OPCO TRAP ERROR
 
 
PC=00009C2A   ------------>   4A89                 DC.W    $4A89
SR=2410=.S4X.... US=000FFD00 SS=000FFFE4
VBR=00000000 SFC=07 DFC=06
D0=FFFFFFFF D1=000127E8 D2=00000000 D3=00000000
D4=00000000 D5=00000000 D6=00000000 D7=00000000
A0=00011FD0 A1=00000000 A2=00000000 A3=00000000
A4=00000000 A5=00000000 A6=000FFFE4 A7=000FFFE4

I believe 00009C2A is part of the atexit routine (called before main), 
and according to objdump, the instruction is

    9c2a:       4a89            tstl %a1

Can anyone explain this? Is this opcode unsupported on the 68010? Should 
I have used different flags during compilation of my code and/or gcc 
build? I specified nothing in except --target=m68k-coff during build, 
and I'm compiling with target flag -m68000.

- Toralf




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list