Date: Wed, 25 Jun 1997 17:03:56 +0300 (IDT) From: Eli Zaretskii To: Dirk Jansen cc: djgpp AT delorie DOT com Subject: Re: DJGPP compiling problem - please help In-Reply-To: <33B1136D.5047@uni-paderborn.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 25 Jun 1997, Dirk Jansen wrote: > C:\SOURCE>gcc -c cpu.c -o cpu.o > BFD: cpu.o: .data: reloc overflow: 0x100c5 > 0xffff > e:/djgpp/tmp\cceaaaaa: Assembler messages: > e:/djgpp/tmp\cceaaaaa:80319: Error: bfd_coff_swap_scnhdr_out failed > ------------------------------------------------------------------- > > There is a jump table with 65536 pointers to functions in the source > file. Do you really need that many function pointers? If you can do with less, just make the table smaller. If that doesn't help, please post the shortest program that exhibits this behavior. > gnu c for linux compiles this without problems. Linux uses ELF, which is a different object format.