This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GNU C (-5200 COLDFire)


Hi,

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

./configure --prefix=/local --nfp --target=m68k-coff
--host=sparc-sun-solaris
(binutils)

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

(gcc)

./configure --prefix=/local --nfp --target=m68k-coff
--host=sparc-sun-solaris
(newlib)

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 192.168.1.13
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
000FFFF4
Dn: 0000224B 000169B4 00000000 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
dBUG> 


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


						Thanks,
						-James


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
jfd@mavericknetworks.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]