From b74fa2cd15f80f123495fad4f2f3edc092e90138 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 13 Mar 2002 07:30:45 +0000 Subject: * archures.c (bfd_default_compatible): Test bits_per_word. * cpu-i386.c (i386_compatible): Remove. Replace occurrences with bfd_default_compatible. * cpu-i370.c (i370_compatible): Likewise. * cpu-sparc.c (sparc_compatible): Likewise. * cpu-h8300.c (compatible): Test in->arch == out->arch. --- bfd/cpu-h8300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/cpu-h8300.c') diff --git a/bfd/cpu-h8300.c b/bfd/cpu-h8300.c index 929ebd1..ba50fd0 100644 --- a/bfd/cpu-h8300.c +++ b/bfd/cpu-h8300.c @@ -91,7 +91,7 @@ compatible (in, out) const bfd_arch_info_type *out; { /* It's really not a good idea to mix and match modes. */ - if (in->mach != out->mach) + if (in->arch != out->arch || in->mach != out->mach) return 0; else return in; -- cgit v1.1