aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-07-22 13:04:57 +0000
committerNick Clifton <nickc@redhat.com>2013-07-22 13:04:57 +0000
commiteb013ee23c3b3b52bd640e3b6ae6260dff3ec1f8 (patch)
tree9ac71f1f41bbfb675e2547e77e3bba46b8b62e51 /ld
parent9933d1914983c250e1d082e47af68983dd8020a6 (diff)
downloadgdb-eb013ee23c3b3b52bd640e3b6ae6260dff3ec1f8.zip
gdb-eb013ee23c3b3b52bd640e3b6ae6260dff3ec1f8.tar.gz
gdb-eb013ee23c3b3b52bd640e3b6ae6260dff3ec1f8.tar.bz2
oops - omitted fromn previous delta
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-scripts/region-alias-1.d3
-rw-r--r--ld/testsuite/ld-scripts/region-alias-2.d3
-rw-r--r--ld/testsuite/ld-scripts/region-alias-3.d3
-rw-r--r--ld/testsuite/ld-scripts/region-alias-4.d3
4 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/region-alias-1.d b/ld/testsuite/ld-scripts/region-alias-1.d
new file mode 100644
index 0000000..35a3931
--- /dev/null
+++ b/ld/testsuite/ld-scripts/region-alias-1.d
@@ -0,0 +1,3 @@
+#source: script.s
+#ld: -T region-alias-1.t
+#error: .*:[0-9]+: error: redefinition of memory region alias `MY_ALIAS'
diff --git a/ld/testsuite/ld-scripts/region-alias-2.d b/ld/testsuite/ld-scripts/region-alias-2.d
new file mode 100644
index 0000000..c18ccb3
--- /dev/null
+++ b/ld/testsuite/ld-scripts/region-alias-2.d
@@ -0,0 +1,3 @@
+#source: script.s
+#ld: -T region-alias-2.t
+#error: .*:[0-9]+: error: memory region `NIL' for alias `MY_ALIAS' does not exist
diff --git a/ld/testsuite/ld-scripts/region-alias-3.d b/ld/testsuite/ld-scripts/region-alias-3.d
new file mode 100644
index 0000000..cc953b7
--- /dev/null
+++ b/ld/testsuite/ld-scripts/region-alias-3.d
@@ -0,0 +1,3 @@
+#source: script.s
+#ld: -T region-alias-3.t
+#error: .*:[0-9]+: error: alias for default memory region
diff --git a/ld/testsuite/ld-scripts/region-alias-4.d b/ld/testsuite/ld-scripts/region-alias-4.d
new file mode 100644
index 0000000..b02d45c
--- /dev/null
+++ b/ld/testsuite/ld-scripts/region-alias-4.d
@@ -0,0 +1,3 @@
+#source: script.s
+#ld: -T region-alias-4.t
+#error: .*:[0-9]+: error: alias for default memory region