This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New port created but need advice when linking.


Support at Computer Systems Services <support@computer-ss.com> writes:

> I added the xgate relocations to the main processor port, but when I
> call it I get the following error.
>
> "
> mc9s12x-elf-ld -m mc9s12xelfb --defsym _start=800 -T memory.x -o 
> test.elf main.o
> mc9s12x-elf-ld: main.o: Relocations in generic ELF (EM: 192)
> mc9s12x-elf-ld: main.o: Relocations in generic ELF (EM: 192)
> main.o: could not read symbols: File in wrong format
> "

This means that ld does not recognize the object format used for main.o.
The first thing to check would be the ELF machine number.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]