Check the correct arch_info object's mach field: all PowerPC machines are
[deliverable/binutils-gdb.git] / bfd / cpu-rs6000.c
index 63df554dca65b67e66a8c3b5d8de75d87dcd0848..03d3e7d021fd377145eebbce34ca90a748cf8eb8 100644 (file)
@@ -47,7 +47,7 @@ rs6000_compatible (a,b)
     case bfd_arch_rs6000:
       return bfd_default_compatible (a, b);
     case bfd_arch_powerpc:
-      if (b->mach == bfd_mach_rs6k)
+      if (a->mach == bfd_mach_rs6k)
        return b;
       return NULL;
     }
This page took 0.02426 seconds and 4 git commands to generate.