/* Script for ld -r: link without relocation */ /* Copyright (C) 2014-2015 Free Software Foundation, Inc. Copying and distribution of this script, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. */ OUTPUT_FORMAT("coff-arm-little", "coff-arm-big", "coff-arm-little") SECTIONS { /* We start at 0x8000 because gdb assumes it (see FRAME_CHAIN). This is an artifact of the ARM Demon monitor using the bottom 32k as workspace (shared with the FP instruction emulator if present): */ .text : { *(.init) *(.text*) *(.glue_7t) *(.glue_7) *(.rdata) *(.fini) } .data : { *(.data*) } .bss : { *(.bss) *(COMMON) } .stab 0 : { [ .stab ] } .stabstr 0 : { [ .stabstr ] } }