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: Daniel Jacobowitz <drow at false dot org>
- To: John Blevin <blevin at lucent dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 4 Mar 2004 15:10:14 -0500
- Subject: Re: Help! Code bloat with ld 2.11.2 (but newer one doesn't work)
- References: <40478BCC.5F162B3@lucent.com>
On Thu, Mar 04, 2004 at 03:04:28PM -0500, John Blevin wrote:
> /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.
>
> What do I need to use to get the new linker to work?
> This is for a PPC target.
Did you configure the host 2.14 linker for a PPC target? The error
suggests that you did not.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer