aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-m68k/merge-error-1b.d
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2006-03-25 10:24:27 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2006-03-25 10:24:27 +0000
commita9d34880555ed60254118c80850a4e4a6f62104f (patch)
tree8fa27b6361338acecf73f7ac755f853eabbca73f /ld/testsuite/ld-m68k/merge-error-1b.d
parent9332ab0250fa03f913b7253659266b2afb6d2501 (diff)
downloadgdb-a9d34880555ed60254118c80850a4e4a6f62104f.zip
gdb-a9d34880555ed60254118c80850a4e4a6f62104f.tar.gz
gdb-a9d34880555ed60254118c80850a4e4a6f62104f.tar.bz2
bfd/
* cpu-m68k.c (bfd_m68k_compatible): Treat ISA A+ and ISA B code as incompatible. Likewise MAC and EMAC code. * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Use bfd_get_compatible to set the new bfd architecture. Rely on it to detect incompatibilities. gas/ * config/tc-m68k.c (m68k_cpus): Change cpu_cf5208 entries to use mcfemac instead of mcfmac. ld/testsuite/ * ld-m68k/merge-error-1a.s, ld-m68k/merge-error-1b.s, * ld-m68k/merge-error-1a.d, ld-m68k/merge-error-1b.d, * ld-m68k/merge-error-1c.d, ld-m68k/merge-error-1d.d, * ld-m68k/merge-error-1e.d, ld-m68k/merge-ok-1a.d, * ld-m68k/merge-ok-1b.d: New tests. * ld-m68k/m68k.exp: Run them.
Diffstat (limited to 'ld/testsuite/ld-m68k/merge-error-1b.d')
-rw-r--r--ld/testsuite/ld-m68k/merge-error-1b.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-m68k/merge-error-1b.d b/ld/testsuite/ld-m68k/merge-error-1b.d
new file mode 100644
index 0000000..291d42f
--- /dev/null
+++ b/ld/testsuite/ld-m68k/merge-error-1b.d
@@ -0,0 +1,4 @@
+#source: merge-error-1a.s -mcpu=cpu32
+#source: merge-error-1b.s -mcpu=5207
+#ld: -r
+#warning: .*