# Linker script for ARM COFF. # Based on i386coff.sc by Ian Taylor . # # Copyright (C) 2014 Free Software Foundation, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are preserved. 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 <