From: Thiemo Seufer Date: Sun, 19 May 2002 21:06:34 +0000 (+0000) Subject: * cpu-mips.c (mips_compatible): Don't try to check machine X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6dd14845152f62348e7b0873eea4019818029020;p=binutils-gdb.git * cpu-mips.c (mips_compatible): Don't try to check machine compatibility. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e5e7ce329e4..02b963fc1ff 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-05-19 Thiemo Seufer + + * cpu-mips.c (mips_compatible): Don't try to check machine + compatibility. + 2002-05-18 Tom Rix * coff64-rs6000.c (_bfd_xcoff64_swap_aux_out): Fix C_FILE auxent. diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c index d54b0a55891..d5343ff31ef 100644 --- a/bfd/cpu-mips.c +++ b/bfd/cpu-mips.c @@ -37,11 +37,8 @@ mips_compatible (a, b) if (a->arch != b->arch) return NULL; - if (a->mach > b->mach) - return a; - - if (b->mach > a->mach) - return b; + /* Machine compatibility is checked in + _bfd_mips_elf_merge_private_bfd_data. */ return a; }