aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-05-17 13:11:42 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-05-17 13:11:42 +0000
commitc210d850a759f30fc747edbcb16dff83228c4948 (patch)
treee4ab92f8447dec11a478fa5b704a729489ea9f03
parent2b87874220e77b62bb868a2fe16bce24589e72bf (diff)
downloadgdb-c210d850a759f30fc747edbcb16dff83228c4948.zip
gdb-c210d850a759f30fc747edbcb16dff83228c4948.tar.gz
gdb-c210d850a759f30fc747edbcb16dff83228c4948.tar.bz2
* ld-m68k/merge-error-1a.d: Mismatch is an error.
* ld-m68k/merge-error-1b.d: Likewise. * ld-m68k/merge-error-1c.d: Likewise. * ld-m68k/merge-error-1d.d: Likewise. * ld-m68k/merge-error-1e.d: Likewise.
-rw-r--r--ld/testsuite/ChangeLog8
-rw-r--r--ld/testsuite/ld-m68k/merge-error-1a.d2
-rw-r--r--ld/testsuite/ld-m68k/merge-error-1b.d2
-rw-r--r--ld/testsuite/ld-m68k/merge-error-1c.d2
-rw-r--r--ld/testsuite/ld-m68k/merge-error-1d.d2
-rw-r--r--ld/testsuite/ld-m68k/merge-error-1e.d2
6 files changed, 13 insertions, 5 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 37379b0..250d725 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2007-05-17 Nathan Sidwell <nathan@codesourcery.com>
+
+ * ld-m68k/merge-error-1a.d: Mismatch is an error.
+ * ld-m68k/merge-error-1b.d: Likewise.
+ * ld-m68k/merge-error-1c.d: Likewise.
+ * ld-m68k/merge-error-1d.d: Likewise.
+ * ld-m68k/merge-error-1e.d: Likewise.
+
2007-05-15 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4504
diff --git a/ld/testsuite/ld-m68k/merge-error-1a.d b/ld/testsuite/ld-m68k/merge-error-1a.d
index ab3ef6e..3629f39 100644
--- a/ld/testsuite/ld-m68k/merge-error-1a.d
+++ b/ld/testsuite/ld-m68k/merge-error-1a.d
@@ -1,4 +1,4 @@
#source: merge-error-1a.s -mcpu=cpu32
#source: merge-error-1b.s -mcpu=68000
#ld: -r
-#warning: .*
+#error: ^[^\n]* m68k:68000 [^\n]* incompatible with m68k:cpu32 [^\n]*$
diff --git a/ld/testsuite/ld-m68k/merge-error-1b.d b/ld/testsuite/ld-m68k/merge-error-1b.d
index 291d42f..bedd3d6 100644
--- a/ld/testsuite/ld-m68k/merge-error-1b.d
+++ b/ld/testsuite/ld-m68k/merge-error-1b.d
@@ -1,4 +1,4 @@
#source: merge-error-1a.s -mcpu=cpu32
#source: merge-error-1b.s -mcpu=5207
#ld: -r
-#warning: .*
+#error: ^[^\n]* m68k:isa-aplus:emac [^\n]* incompatible with m68k:cpu32 [^\n]*$
diff --git a/ld/testsuite/ld-m68k/merge-error-1c.d b/ld/testsuite/ld-m68k/merge-error-1c.d
index e745280..9538e77 100644
--- a/ld/testsuite/ld-m68k/merge-error-1c.d
+++ b/ld/testsuite/ld-m68k/merge-error-1c.d
@@ -1,4 +1,4 @@
#source: merge-error-1a.s -march=isaaplus
#source: merge-error-1b.s -march=isab
#ld: -r
-#warning: .*
+#error: ^[^\n]* m68k:isa-b [^\n]* incompatible with m68k:isa-aplus [^\n]*$
diff --git a/ld/testsuite/ld-m68k/merge-error-1d.d b/ld/testsuite/ld-m68k/merge-error-1d.d
index 310bf43..4d86771 100644
--- a/ld/testsuite/ld-m68k/merge-error-1d.d
+++ b/ld/testsuite/ld-m68k/merge-error-1d.d
@@ -1,4 +1,4 @@
#source: merge-error-1a.s -march=isaa -mmac
#source: merge-error-1b.s -march=isaa -memac
#ld: -r
-#warning: .*
+#error: ^[^\n]* m68k:isa-a:emac [^\n]* incompatible with m68k:isa-a:mac [^\n]*$
diff --git a/ld/testsuite/ld-m68k/merge-error-1e.d b/ld/testsuite/ld-m68k/merge-error-1e.d
index 87a2bf9..969f844 100644
--- a/ld/testsuite/ld-m68k/merge-error-1e.d
+++ b/ld/testsuite/ld-m68k/merge-error-1e.d
@@ -1,4 +1,4 @@
#source: merge-error-1a.s -march=isaa -mno-div -mmac
#source: merge-error-1b.s -march=isaa -mno-div -memac
#ld: -r
-#warning: .*
+#error: ^[^\n]* m68k:isa-a:emac [^\n]* is incompatible with m68k:isa-a:mac [^\n]*$