Mail Archives: djgpp/1997/06/01/09:43:18
On Sat, 31 May 1997, Andrejs Vanags wrote:
> GNU C version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1.
> c:/djgpp/bin\as.exe -o c:/djgpp/tmp\ccdaaaaa c:/djgpp/tmp\cccaaaaa
> BFD: c:/djgpp/tmp\ccdaaaaa: .text: reloc overflow: 0x13607 > 0xffff
This is a limitation of COFF file format: the debug info cannot refer
to more than 64K (FFFF in hex) source lines. You need to remove the
-g switch and add -O2 switch to the gcc command line, then the problem
should go away.
- Raw text -