# Copyright (C) 2014-2020 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. cat < vectarea} */ .init : { KEEP (*(SORT_NONE(.init))) ${RELOCATING+KEEP (*(SORT_NONE(.fini)))} } ${RELOCATING+ >introm} .text : { ${RELOCATING+*(.rodata)} ${RELOCATING+*(.text.*)} *(.text) ${RELOCATING+ _etext = . ; } } ${RELOCATING+ > introm} .data : { *(.data) ${RELOCATING+*(.data.*)} ${RELOCATING+ _edata = . ; } } ${RELOCATING+ > dram} .bss : { ${RELOCATING+ _bss_start = . ;} *(.bss) ${RELOCATING+*(COMMON)} ${RELOCATING+ _end = . ; } } ${RELOCATING+ > dram} .ldata : { *(.ldata) } ${RELOCATING+ > ldata} .vects : { *(.vects) } ${RELOCATING+ > vectarea} } EOF