bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LD-problem


From: Nick Clifton
Subject: Re: LD-problem
Date: Mon, 01 Dec 2008 08:58:59 +0000
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Hi Søren,

Hi I get the following error during transformation of a binary files into a text-segment.

Not quite sure what you mean here. Are you trying to convert a binary file into an object file so that you can include it in a larger program ? (In which case it would probably be a data section that you are trying to create rather than a text segment).

If my guess is correct, then you may find it easier to use gas's .incbin pseudo-op instead of objcopy. eg:

  % cat auto_on_icon.s
  .data
  .incbin auto_on_icon_bmp
  % arm-elf-as -o auto_on_icon.o auto_on_icon.s

This command I am using is :

arm-elf-ld -r -b binary -o auto_on_icon.o auto_on_icon_bmp

arm-elf-ld: BFD (GNU Binutils) 2.19 internal error, aborting at /home/sgh/cvs/toolchain/i686-linux-gnu-arm-elf_build//binutils-2.19/bfd/elf.c line 370 in bfd_elf_get_elf_syms

Thanks for telling us about this problem. Please could you open a bug report at:

  http://sourceware.org/bugzilla/

It will also really help if you can include a way for us to reproduce the problem - for example by uploading the auto_on_icon_bmp file, providing that it is not too big.

Cheers
  Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]