From: Mark Kettenis Date: Sun, 18 Apr 2004 20:55:55 +0000 (+0000) Subject: * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b60d5d32387fc262067efb6ebb942372b6d9ba8;p=binutils-gdb.git * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC core files. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a5c3bd1cdb3..a4544334d80 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2004-04-18 Mark Kettenis + + * 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 * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c index c23671a8c8e..570c0f750ac 100644 --- a/bfd/netbsd-core.c +++ b/bfd/netbsd-core.c @@ -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;