test -z "$ENTRY" && ENTRY=_main cat <rom .data ${RELOCATING}: { *(.data) *(.rodata) *(.bss) *(COMMON) ${RELOCATING+ edata = .}; }>ram /* .bss ${RELOCATING+ SIZEOF(.data) + 0x0000} : { *(.bss) *(COMMON) } */ .stab 0 ${RELOCATING+(NOLOAD)} : { [ .stab ] } .stabstr 0 ${RELOCATING+(NOLOAD)} : { [ .stabstr ] } } EOF