summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-04-18 20:55:55 +0000
committerMark Kettenis <kettenis@gnu.org>2004-04-18 20:55:55 +0000
commit0904a4cf30f6db4fc0f9cbe02da97efcb5f8d942 (patch)
treed8ac8b295f224065482eac3d11f4c9a5288b24c5 /bfd
parent97749f29a2a713bb14592f2298c467b2604f9d35 (diff)
downloadbinutils-redhat-0904a4cf30f6db4fc0f9cbe02da97efcb5f8d942.tar.gz
* libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
* netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC core files.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/netbsd-core.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a5c3bd1cdb..a4544334d8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c
index c23671a8c8..570c0f750a 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;