allwinner_a64/android/toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/rgn-at11.t
2018-08-08 20:10:12 +08:00

13 lines
271 B
Raku

MEMORY
{
ram : ORIGIN = 0x10000, LENGTH = 0x10000
rom : ORIGIN = 0x20000, LENGTH = 0x10000
}
SECTIONS
{
.text : ALIGN_WITH_INPUT {*(.text)} > ram AT> rom
.tbss : {*(.tbss)} > ram AT> rom
.data : ALIGN_WITH_INPUT {*(.data)} > ram AT> rom
/DISCARD/ : {*(*)}
}