relocation truncated to fit
Ian Lance Taylor
ian@zembu.com
Thu Aug 19 15:41:00 GMT 1999
Date: Thu, 19 Aug 1999 15:26:04 -0700
From: "Aaron J. Grier" <aaron@frye.com>
I'm using binutils-2.9.4.0.7 under linux, and trying to link up a whole
mess (151, to be exact,) of COFF object files, and getting hundreds of:
zdsp.o(.text+0x28c):zdsp.S: relocation truncated to fit: DISP16 _vputs
This means that have a 16 bit relocation and you're trying to stuff in
a value that is larger than 16 bits. DISP16 is a 16 bit PC relative
relocation. Since you are on the m68k, I would guess that you are
using something like a 16 bit branch call instruction, but the symbol
_vputs is not within a signed 16 bit range of the instruction.
I would appreciate hearing any easily-implemented suggestions for how
to make this error message more clear.
Ian
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list