diff options
Diffstat (limited to 'ld/testsuite/ld-scripts/rgn-at4.t')
-rw-r--r-- | ld/testsuite/ld-scripts/rgn-at4.t | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/rgn-at4.t b/ld/testsuite/ld-scripts/rgn-at4.t new file mode 100644 index 0000000..0e3fec4 --- /dev/null +++ b/ld/testsuite/ld-scripts/rgn-at4.t @@ -0,0 +1,14 @@ +/* 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 : { *(.data) } >ram + .bss : { *(.bss) } >ram + .trail : { LONG(5) } >ram + /DISCARD/ : { *(*) } +} |