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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils
  • LD-problem Søren Holm
    • Re: LD-problem Nick Clifton

Reply via email to