diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-scripts/rgn-at3.t')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-scripts/rgn-at3.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-scripts/rgn-at3.t b/binutils-2.21/ld/testsuite/ld-scripts/rgn-at3.t new file mode 100644 index 0000000..4622e7e --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-scripts/rgn-at3.t @@ -0,0 +1,13 @@ +/* Memory region at test, >AT should propagate by default */ + +MEMORY { + ram : ORIGIN = 0x10000, LENGTH = 0x100 + rom : ORIGIN = 0x20000, LENGTH = 0x200 +} +_start = 0x1000; +SECTIONS { + .text : { *(.text) } >ram AT>rom + .data : AT (0x30000) { *(.data) } >ram /* NO default AT>rom */ + .bss : { *(.bss) } >ram /* NO default AT>rom */ + /DISCARD/ : { *(*) } +} |