aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-rs6000.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/cpu-rs6000.c')
-rw-r--r--bfd/cpu-rs6000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/cpu-rs6000.c b/bfd/cpu-rs6000.c
index 89b9230..777611e 100644
--- a/bfd/cpu-rs6000.c
+++ b/bfd/cpu-rs6000.c
@@ -46,7 +46,7 @@ rs6000_compatible (a,b)
case bfd_arch_rs6000:
return bfd_default_compatible (a, b);
case bfd_arch_powerpc:
- if (b->mach == 0)
+ if (b->mach == bfd_mach_rs6k)
return b;
return NULL;
}