summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/orphan-region.ld
blob: b7dfdba266b8c386281bb5192686c9881efabb05 (plain)
1
2
3
4
5
6
7
8
9
10
11
MEMORY
{
	region : ORIGIN = 0x40000000, LENGTH = 8M
}

SECTIONS
{
	.text : ALIGN (4) { *(.text) } > region
	.rodata : ALIGN (4) { *(.rodata) } > region
	/DISCARD/ : { *(.reginfo) *(.trampolines) }
}