TORS=".tors : { ___ctors = . ; *(.ctors) ___ctors_end = . ; ___dtors = . ; *(.dtors) ___dtors_end = . ; } > ram" cat < vectors} .init : { *(.init) } ${RELOCATING+ > ram} .text : { *(.rodata) *(.text) *(.text.*) *(.strings) ${RELOCATING+ _etext = . ; } } ${RELOCATING+ > ram} ${CONSTRUCTING+${TORS}} .data : { *(.data) *(.data.*) *(.tiny) ${RELOCATING+ _edata = . ; } } ${RELOCATING+ > ram} .bss : { ${RELOCATING+ _bss_start = . ;} *(.bss) *(COMMON) ${RELOCATING+ _end = . ; } } ${RELOCATING+ >ram} .stack : { ${RELOCATING+ _stack = . ; } *(.stack) } ${RELOCATING+ > topram} .eight : { *(.eight) } ${RELOCATING+ > eight} .stab 0 ${RELOCATING+(NOLOAD)} : { [ .stab ] } .stabstr 0 ${RELOCATING+(NOLOAD)} : { [ .stabstr ] } } EOF