delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/25/08:50:37

Message-ID: <33B1136D.5047@uni-paderborn.de>
Date: Wed, 25 Jun 1997 14:47:41 +0200
From: Dirk Jansen <jansen AT uni-paderborn DOT de>
Reply-To: jansen AT uni-paderborn DOT de
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: DJGPP compiling problem - please help

I tried to compile a source file with DJGPP 2.01 and got this error
message:

-------------------------------------------------------------------
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.
It seems that DJGPP doesn't support more than 65535 functions. 
Is there any possibility to get this compiled?

gnu c for linux compiles this without problems.

please answer directly because I have not subscribed to the mailing
list.

thanks in advance.


Dirk Jansen
-------------------------------
e-mail: jansen AT uni-paderborn DOT de

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019