From d1ad3f6f20ec8b6e0fc0fe37ba4d6e17a9f2da24 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 15 Apr 2004 16:04:38 +0000 Subject: [PATCH] * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX core files. --- bfd/ChangeLog | 5 +++++ bfd/netbsd-core.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5bd1d745215..f12dc095472 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2004-04-15 Mark Kettenis + + * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX + core files. + 2004-04-15 Nick Clifton * bfd.c (bfd_archive_filename): Catch NULL bfd pointers. diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c index fca801347da..c23671a8c8e 100644 --- a/bfd/netbsd-core.c +++ b/bfd/netbsd-core.c @@ -185,8 +185,13 @@ netbsd_core_file_p (abfd) case M_SPARC64_OPENBSD: bfd_default_set_arch_mach (abfd, bfd_arch_sparc, bfd_mach_sparc_v9); break; + + case M_VAX_NETBSD: + case M_VAX4K_NETBSD: + bfd_default_set_arch_mach (abfd, bfd_arch_vax, 0); + break; } - + /* OK, we believe you. You're a core file (sure, sure). */ return abfd->xvec; -- 2.30.2