binutils-gdb/ld/testsuite/ld-scripts/rgn-at7.t
Alan Modra 13762d2ee4 PR ld/15222
ld/
	* ldlang.c (lang_size_sections_1): When given an lma_region align
	LMA as per VMA only if lma_region is the same as region.
ld/testsuite/
	* ld-scripts/rgn-at6.s, * ld-scripts/rgn-at6.t, * ld-scripts/rgn-at6.d,
	* ld-scripts/rgn-at7.t, * ld-scripts/rgn-at7.d: New tests.
2013-03-05 02:55:27 +00:00

13 lines
213 B
Raku

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