]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-elf/orphan-region.ld
RISC-V: Add PT_RISCV_ATTRIBUTES and add it to PHDR.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-elf / orphan-region.ld
1 MEMORY
2 {
3 region : ORIGIN = 0x40000000, LENGTH = 8M
4 }
5
6 SECTIONS
7 {
8 .text : ALIGN (4) { *(.text) } > region
9 .rodata : ALIGN (4) { *(.rodata) } > region
10 /DISCARD/ : { *(.reginfo) *(.MIPS.abiflags) *(.trampolines) *(.riscv.attributes) }
11 }