aboutsummaryrefslogtreecommitdiff
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
commit0a01f695e0592bf8abee97d6f35771b86525fff7 (patch)
tree335abed49d49335b1c8d3404d6ec56a761c891cf
parentee181c7253d6ebc43eb84d416178269fe567068c (diff)
downloadgdb-0a01f695e0592bf8abee97d6f35771b86525fff7.zip
gdb-0a01f695e0592bf8abee97d6f35771b86525fff7.tar.gz
gdb-0a01f695e0592bf8abee97d6f35771b86525fff7.tar.bz2
oops - omitted from previous delta
-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 0000000..e8aa1c7
--- /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/ : {*(*)}
+}