diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-elf/orphan-region.ld')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-elf/orphan-region.ld | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-elf/orphan-region.ld b/binutils-2.21/ld/testsuite/ld-elf/orphan-region.ld new file mode 100644 index 0000000..b7dfdba --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-elf/orphan-region.ld @@ -0,0 +1,11 @@ +MEMORY +{ + region : ORIGIN = 0x40000000, LENGTH = 8M +} + +SECTIONS +{ + .text : ALIGN (4) { *(.text) } > region + .rodata : ALIGN (4) { *(.rodata) } > region + /DISCARD/ : { *(.reginfo) *(.trampolines) } +} |