Mail Archives: djgpp/1997/06/25/10:07:08
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 -