aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/cpu-powerpc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ad3d9ac..69d676f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
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;
}