1 # Linker script for ARM COFF.
2 # Based on i386coff.sc by Ian Taylor <ian@cygnus.com>.
3 test -z "$ENTRY" && ENTRY=_start
5 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
12 .text ${RELOCATING+ SIZEOF_HEADERS} : {
16 ${RELOCATING+ etext = .};
18 .data ${RELOCATING+ 0x400000 + (. & 0xffc00fff)} : {
20 ${RELOCATING+ edata = .};
22 .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
26 ${RELOCATING+ end = .};
28 .stab 0 ${RELOCATING+(NOLOAD)} :
32 .stabstr 0 ${RELOCATING+(NOLOAD)} :