This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Help! Code bloat with ld 2.11.2 (but newer one doesn't work)
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: John Blevin <blevin at lucent dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 04 Mar 2004 15:08:51 -0500
- Subject: Re: Help! Code bloat with ld 2.11.2 (but newer one doesn't work)
- References: <40478BCC.5F162B3@lucent.com>
John Blevin <blevin@lucent.com> writes:
> OK, so I tried changing the makefiles to point to the more up-to-date
> linker, GNU ld 2.14. The problem is that when using this linker, I
> get the following error:
>
> /usr/add-on/exptools/gnu/bin/ld: cpuOcc.o: Relocations in generic ELF (EM: 20)
> cpuOcc.o: could not read symbols: File in wrong format
>
> An objdump on the .o file results in:
>
> cpuOcc.o: file format elf32-big
>
> I also tried using '-b elf32-big' in the ld options, but it didn't help.
The linker you are using was not configured for your target.
The fix is to use the right target name when you run configure.
Ian