aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-powerpc.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2003-11-20 18:42:21 +0000
committerJim Blandy <jimb@codesourcery.com>2003-11-20 18:42:21 +0000
commit43dd9340d41161e01c2892e90071f13826d99d49 (patch)
tree30c599815ba98671f97d43171a4563c6dbd3d9b6 /bfd/cpu-powerpc.c
parent515cc92ea5326bd008a1df810757c809493680de (diff)
downloadgdb-43dd9340d41161e01c2892e90071f13826d99d49.zip
gdb-43dd9340d41161e01c2892e90071f13826d99d49.tar.gz
gdb-43dd9340d41161e01c2892e90071f13826d99d49.tar.bz2
* cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.
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 20b4909..a4e72d5 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 == bfd_mach_ppc)
+ if (b->mach == bfd_mach_rs6k)
return a;
return NULL;
}