* libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
authorMark Kettenis <kettenis@gnu.org>
Sun, 18 Apr 2004 20:55:55 +0000 (20:55 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 18 Apr 2004 20:55:55 +0000 (20:55 +0000)
* netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC
core files.

bfd/ChangeLog
bfd/netbsd-core.c

index a5c3bd1cdb3f60357d79d7c2dedc478c88333048..a4544334d8047ac50688febd20322d9ec66e7f59 100644 (file)
@@ -1,3 +1,9 @@
+2004-04-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
+       * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC
+       core files.
+
 2004-04-17  Brian Ford  <ford@vss.fsi.com>
 
        * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero
index c23671a8c8ed786ac10637872006876d041f903a..570c0f750ac0f3037766df3fddcd31585be56dfc 100644 (file)
@@ -177,6 +177,10 @@ netbsd_core_file_p (abfd)
      bfd_default_set_arch_mach (abfd, bfd_arch_i386, bfd_mach_i386_i386);
      break;
 
+   case M_POWERPC_NETBSD:
+     bfd_default_set_arch_mach (abfd, bfd_arch_powerpc, bfd_mach_ppc);
+     break;
+
    case M_SPARC_NETBSD:
      bfd_default_set_arch_mach (abfd, bfd_arch_sparc, bfd_mach_sparc);
      break;