aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/orphan-region.ld
blob: f4f7e1846d71692ac013f97a7fb8888928b3bb07 (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) *(.MIPS.options) *(.trampolines) *(.riscv.attributes) }
}