aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-mips.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2002-05-19 21:06:34 +0000
committerThiemo Seufer <ths@networkno.de>2002-05-19 21:06:34 +0000
commit6dd14845152f62348e7b0873eea4019818029020 (patch)
tree1f8ecfe1ab77a11f1f74d6fde8fa62d5e489977c /bfd/cpu-mips.c
parent165b8e33ee01fccd77a949a27056812c6e26ab65 (diff)
downloadgdb-6dd14845152f62348e7b0873eea4019818029020.zip
gdb-6dd14845152f62348e7b0873eea4019818029020.tar.gz
gdb-6dd14845152f62348e7b0873eea4019818029020.tar.bz2
* cpu-mips.c (mips_compatible): Don't try to check machine
compatibility.
Diffstat (limited to 'bfd/cpu-mips.c')
-rw-r--r--bfd/cpu-mips.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c
index d54b0a5..d5343ff 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;
}