* cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
authorJim Blandy <jimb@codesourcery.com>
Thu, 20 Nov 2003 18:42:21 +0000 (18:42 +0000)
committerJim Blandy <jimb@codesourcery.com>
Thu, 20 Nov 2003 18:42:21 +0000 (18:42 +0000)
family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.

bfd/ChangeLog
bfd/cpu-powerpc.c

index ad3d9ac726aa7486f4c68ad78567b2d9f24a4aa9..69d676ff310bace2bc40afe879b3dbc6bd996919 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-20  Jim Blandy  <jimb@redhat.com>
+
+       * cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
+       family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.
+
 2003-11-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
 
        * elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol
index 20b490941986dc42fbec53f1697252f356449f21..a4e72d5bf3064af57db8d4228b22d9711c93933e 100644 (file)
@@ -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;
     }