This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
How to debug "relocation truncated" error.
- To: <bug-gcc at gnu dot org>
- Subject: How to debug "relocation truncated" error.
- From: "Doug Broadwell" <dougb at value dot net>
- Date: Fri, 17 Aug 2001 12:58:14 -0700
- Organization: DBA Associates
- Reply-To: "Doug Broadwell" <dougb at value dot net>
Hi,
I'm cross compiling code using the m68k-pic-coff-gcc compiler, version
2.7.2.3-pic-060999, on an Intel Linux machine . The command line:
m68k-pic-coff-gcc main.c monitor.o graph.o
results in the error:
monitor.o(.text+0xdf8):monitor.c: relocation truncated to fit: DISP16
data
I don't know how to go about debugging this error as the assembly output
does not give address information (nor the C code interleaved with the
assembly code). It does not generate the executable so I can't debug using
GDB (assuming I got it set up to work on the remote machine).
Help!
Thanks, Doug Broadwell