GNU C (-5200 COLDFire)

James F Dougherty
Tue Aug 25 16:12:00 GMT 1998


I have built gcc 2.8.*, binutils, and newlib with the following options:

./configure --prefix=/local --nfp --target=m68k-coff

./configure --prefix=/local --with-gnu-as --with-gnu-ld --nfp
--target=m68k-coff --host=sparc-sun-solaris


./configure --prefix=/local --nfp --target=m68k-coff

and it generates an m5200 machine directory. When I try to boot a coff
image, I get the following error on my SBC5206:

dBUG> dn
Downloading COFF 'ucostest.x' from
Section:  .text    (Paddr: 0x00010000  Size: 0x00005E64)
Section:  .data    (Paddr: 0x00015E64  Size: 0x00000B50)
Section:  .bss     (Paddr: 0x000169B4  Size: 0x00002248)
27228 bytes read via TFTP
dBUG> go
Unimplemented F-Line Instruction
PC: 0001002E SR: 2004 [t.Sm.000...xnZvc]
An: 000169B5 00000000 00000000 00000000 00000000 00000000 000FFFFC
Dn: 0000224B 000169B4 00000000 00000000 00000000 00000000 00000000
0001002E: FFFC                 DC.W      0xFFFC
dBUG> dis
00010000: 207C 0010 0000       MOVEA.L   #0x00100000,A0
00010006: B1FC 0000 0000       CMPA.L    #0x00000000,A0
0001000C: 6702                 BEQ       0x00010010
0001000E: 2E48                 MOVEA.L   A0,A7
00010010: 4E56 FFF8            LINK      A6,#-8
00010014: 223C 0001 69B4       MOVE.L    #0x000169B4,D1
0001001A: 203C 0001 8C00       MOVE.L    #0x00018C00,D0
00010020: B280                 CMP.L     D0,D1
00010022: 6712                 BEQ       0x00010036
00010024: 2041                 MOVEA.L   D1,A0
00010026: 9081                 SUB.L     D1,D0
00010028: 5380                 SUBQ.L    #0x01,D0
0001002A: 4218                 CLR.B     (A0)+
0001002C: 51C8                 DC.W      0x51C8
0001002E: FFFC                 DC.W      0xFFFC
00010030: 4240                 CLR.W     D0

Any idea what is causing this? Would this be fixed in egcs-19980824?


James F. Dougherty, III
MTS, Core Design
Maverick Networks, Inc.
683 River Oaks Parkway
San Jose, CA 95134      
(408) 434-6020 x273     
(408) 434-6031 FAX

More information about the Gcc-bugs mailing list