summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-07-19 13:21:55 +0000
committerNick Clifton <nickc@redhat.com>2013-07-19 13:21:55 +0000
commita2e4385b2a5fb1fcb2d020724e2a48093756a8e3 (patch)
treeec483807073f9c9a59f792433043b6728a74937b /ld
parent3301e67ee936067c32ecd4d28912154afa0d382f (diff)
downloadbinutils-redhat-a2e4385b2a5fb1fcb2d020724e2a48093756a8e3.tar.gz
oops - omitted from previous delta
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-scripts/rgn-at8.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/rgn-at8.t b/ld/testsuite/ld-scripts/rgn-at8.t
new file mode 100644
index 0000000000..e8aa1c711f
--- /dev/null
+++ b/ld/testsuite/ld-scripts/rgn-at8.t
@@ -0,0 +1,12 @@
+MEMORY
+{
+ ram : ORIGIN = 0x10000, LENGTH = 0x10000
+ rom : ORIGIN = 0x20000, LENGTH = 0x10000
+}
+
+SECTIONS
+{
+ .text : ALIGN_WITH_INPUT {*(.text)} > ram AT> rom
+ .data : ALIGN_WITH_INPUT {*(.data)} > ram AT> rom
+ /DISCARD/ : {*(*)}
+}