diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2006-07-12 12:47:00 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2006-07-12 12:47:00 +0000 |
commit | fb405f8a9fc70b2cca45eceb2f23aed1528a3327 (patch) | |
tree | 9c2a19bcda2cb37a0e47c3c8caed6dd7d909f457 /bfd/cpu-m68k.c | |
parent | 7cfe9437c6a7656efa5898b0aa657612466cf7bf (diff) | |
download | gdb-fb405f8a9fc70b2cca45eceb2f23aed1528a3327.zip gdb-fb405f8a9fc70b2cca45eceb2f23aed1528a3327.tar.gz gdb-fb405f8a9fc70b2cca45eceb2f23aed1528a3327.tar.bz2 |
bfd/
2006-07-12 Matthew R. Dempsky <mrd@alkemio.org>
* cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.
ld/testsuite/
2006-07-12 Richard Sandiford <richard@codesourcery.com>
* ld-m68k/merge-ok-1c.d: New test.
* ld-m68k/m68k.exp: Run it.
Diffstat (limited to 'bfd/cpu-m68k.c')
-rw-r--r-- | bfd/cpu-m68k.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/cpu-m68k.c b/bfd/cpu-m68k.c index 3662789..5be4aa0 100644 --- a/bfd/cpu-m68k.c +++ b/bfd/cpu-m68k.c @@ -202,6 +202,9 @@ bfd_m68k_compatible (const bfd_arch_info_type *a, 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) { |