# $MirOS: src/gnu/usr.bin/binutils/ld/scripttempl/armcoff.sc,v 1.2 2005/03/13 16:07:07 tg Exp $ # # Linker script for ARM COFF. # Based on i386coff.sc by Ian Taylor . test -z "$ENTRY" && ENTRY=_start if test -z "${DATA_ADDR}"; then if test "$LD_FLAG" = "N" || test "$LD_FLAG" = "n"; then DATA_ADDR=. fi fi # These are substituted in as variables in order to get '}' in a shell # conditional expansion. CTOR='.ctor : { *(SORT(.ctors.*)) *(.ctor) }' DTOR='.dtor : { *(SORT(.dtors.*)) *(.dtor) }' cat <