oops - omitted from previous delta
authorNick Clifton <nickc@redhat.com>
Fri, 19 Jul 2013 13:21:55 +0000 (13:21 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 19 Jul 2013 13:21:55 +0000 (13:21 +0000)
ld/testsuite/ld-scripts/rgn-at8.t [new file with mode: 0644]

diff --git a/ld/testsuite/ld-scripts/rgn-at8.t b/ld/testsuite/ld-scripts/rgn-at8.t
new file mode 100644 (file)
index 0000000..e8aa1c7
--- /dev/null
@@ -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/ : {*(*)}
+}