Den 14-02-2013 20:39, Florian Klämpfl skrev:
Am 14.02.2013 20:08, schrieb Michael Ring:
I might have found a hack to solve your linking problem for arm-embedded
on linux, unfortunately I am not an expert on gnu ld, but perhaps this
here gives a hint to somebody that knows how to properly solve your
problem:

First, create a script names arm-embedded-ld with the following content:

#!/bin/sh
sed --in-place "s^*(.comment)^*(.comment)\n    *(.note, .note.*)^g"
link.res
/usr/local/bin/arm-embedded-ld $*
If this is already needed (for me it worked always without), please
provide a patch for fpc/compiler/systems/t_embed.pas The linker script
generation for arm starts at line 222.
Sounds to me like a broken binutils. I have never heard about the .note section, except for some warnings now and then on obscure platforms
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to