diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-scripts/rgn-over2.t')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-scripts/rgn-over2.t | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-scripts/rgn-over2.t b/binutils-2.21/ld/testsuite/ld-scripts/rgn-over2.t new file mode 100644 index 0000000..b38a9c1 --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-scripts/rgn-over2.t @@ -0,0 +1,14 @@ +/* Memory region overflow tests: one region, first output sect fits, + second doesn't. */ + +MEMORY { + bss (rwx) : ORIGIN = 0, LENGTH = 0 + r1 (rwx) : ORIGIN = 0x1000, LENGTH = 20 +} +_start = 0x1000; +SECTIONS { + .bss : { *(.bss) } > bss + .text : { *(.txt) } > r1 + .data : { *(.dat) } > r1 + /DISCARD/ : { *(*) } +} |