diff options
author | Alan Modra <amodra@gmail.com> | 2002-03-13 07:30:45 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-03-13 07:30:45 +0000 |
commit | b74fa2cd15f80f123495fad4f2f3edc092e90138 (patch) | |
tree | e00414ad41207813dd45f5e4976c87b28b3585ca /bfd/cpu-h8300.c | |
parent | fa7ea4d86407b3674af92cacfac9afddc8819a1f (diff) | |
download | gdb-b74fa2cd15f80f123495fad4f2f3edc092e90138.zip gdb-b74fa2cd15f80f123495fad4f2f3edc092e90138.tar.gz gdb-b74fa2cd15f80f123495fad4f2f3edc092e90138.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/cpu-h8300.c')
-rw-r--r-- | bfd/cpu-h8300.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |