+2006-07-12  Matthew R. Dempsky  <mrd@alkemio.org>
+
+       * cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.
+
 2006-07-10  Jakub Jelinek  <jakub@redhat.com>
 
        * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH.
 
   if (a->mach <= bfd_mach_m68060 && b->mach <= bfd_mach_m68060)
     /* Merge m68k machine. */
     return a->mach > b->mach ? a : b;
+  else if (a->mach == bfd_mach_cpu32 && b->mach == bfd_mach_cpu32)
+    /* CPU32 is compatible with itself. */
+    return a;
   else if (a->mach >= bfd_mach_mcf_isa_a_nodiv
           && b->mach >= bfd_mach_mcf_isa_a_nodiv)
     {
 
+2006-07-12  Richard Sandiford  <richard@codesourcery.com>
+
+       * ld-m68k/merge-ok-1c.d: New test.
+       * ld-m68k/m68k.exp: Run it.
+
 2006-07-11  Hans-Peter Nilsson  <hp@axis.com>
 
        * ld-cris/libdso-2.d: Adjust for recent hash-related changes.
 
 run_dump_test "merge-error-1e"
 run_dump_test "merge-ok-1a"
 run_dump_test "merge-ok-1b"
+run_dump_test "merge-ok-1c"
 
 foreach { id sources } { a { plt1.s } b { plt1-empty.s plt1.s } } {
     foreach arch { 68020 cpu32 isab } {
 
--- /dev/null
+#source: merge-error-1a.s -march=cpu32
+#source: merge-error-1b.s -march=cpu32
+#ld: -r
+#objdump: -p
+#...
+private flags = 810000: \[cpu32\]