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

Date: Wed, 25 Jun 1997 17:03:56 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dirk Jansen <jansen AT uni-paderborn DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP compiling problem - please help
In-Reply-To: <33B1136D.5047@uni-paderborn.de>
Message-ID: <Pine.SUN.3.91.970625170152.11483C-100000@is>
MIME-Version: 1.0

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.

- Raw text -


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