Check the correct arch_info object's mach field: all PowerPC machines are
supersets of the original rs6000, but not later rs6000 machines.
This commit is contained in:
parent
f46a9fbb7a
commit
3f8b3ef37b
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2003-10-30 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* cpu-rs6000.c (rs6000_compatible): Check the correct arch_info
|
||||
object's mach field: all PowerPC machines are supersets of the
|
||||
original rs6000, but not later rs6000 machines.
|
||||
|
||||
2003-10-30 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* dwarf2.c (struct attribute): Delete "unsnd", "snd" and "addr".
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue