This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Error linking two object files with new port.
- From: <support at computer-ss dot com>
- To: <binutils at sourceware dot org>
- Date: Mon, 13 Sep 2010 21:42:56 -0600
- Subject: Error linking two object files with new port.
Hi,
I'm working with my newly created xgate port. I'm getting a weird error I
can't quite decipher.
The tool chain seems to work just fine until I give it more than one
object file to link.
make all
mc9s12x-elf-as --gstabs -o main.o main.s
mc9s12x-elf-as --gstabs -o xgate.o xgate.s
mc9s12x-elf-ld -m mc9s12xelfb --defsym _start=0 -o test.elf main.o xgate.o
mc9s12x-elf-ld: failed to merge target specific data of file xgate.o
in bfd_default_compatible about to compare 31 and 31 /* a print
input was 31 output was 31make: *** [test.elf] Error 1
If I swap the input files around I get
mc9s12x-elf-ld: failed to merge target specific data of file main.o
Any input on how to go about debugging this error would be GREATLY
APPRECIATED. Thanks to everyone who has helped so far.
-Sean