summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/orphan-region.ld
blob: 71834df647a5cf25c76c3c7814d74f4a2d0262bd (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) *(.MIPS.abiflags) *(.trampolines) *(.riscv.attributes) }
}