aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-30 08:11:44 +0000
committerAlan Modra <amodra@gmail.com>2002-08-30 08:11:44 +0000
commit37f45cf8983f613d7411c0d7770505da5bb4e76a (patch)
treea50f02e65d81e59a5278ac55f8fd4b4a9670acc2 /bfd/cpu-powerpc.c
parent2002-08-30 Pierre Muller <muller@ics.u-strasbg.fr> (diff)
downloadbinutils-gdb-37f45cf8983f613d7411c0d7770505da5bb4e76a.tar.gz
binutils-gdb-37f45cf8983f613d7411c0d7770505da5bb4e76a.tar.bz2
binutils-gdb-37f45cf8983f613d7411c0d7770505da5bb4e76a.zip
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate. * cpu-avr.c (compatible): Don't use hard-coded mach constants. * cpu-powerpc.c (powerpc_compatible): Likewise. * cpu-rs6000.c (rs6000_compatible): Likewise.
Diffstat (limited to 'bfd/cpu-powerpc.c')
-rw-r--r--bfd/cpu-powerpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/cpu-powerpc.c b/bfd/cpu-powerpc.c
index b282c6031b9..017442571c8 100644
--- a/bfd/cpu-powerpc.c
+++ b/bfd/cpu-powerpc.c
@@ -41,7 +41,7 @@ powerpc_compatible (a,b)
case bfd_arch_powerpc:
return bfd_default_compatible (a, b);
case bfd_arch_rs6000:
- if (a->mach == 0)
+ if (a->mach == bfd_mach_ppc)
return a;
return NULL;
}