X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fnetbsd-core.c;h=e811922fb847e0efba4ba4ab7005ef739c3a6d86;hb=2c8e4c9fba2da31d83797fa4b96dfa3126f472a9;hp=f40b27a427221d8d5421bc25696ac2f29a1114b5;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c index f40b27a427..e811922fb8 100644 --- a/bfd/netbsd-core.c +++ b/bfd/netbsd-core.c @@ -1,5 +1,5 @@ /* BFD back end for NetBSD style core files - Copyright (C) 1988-2014 Free Software Foundation, Inc. + Copyright (C) 1988-2019 Free Software Foundation, Inc. Written by Paul Kranenburg, EUR This file is part of BFD, the Binary File Descriptor library. @@ -22,7 +22,7 @@ #include "sysdep.h" #include "bfd.h" #include "libbfd.h" -#include "libaout.h" /* BFD a.out internal data structures. */ +#include "libaout.h" /* BFD a.out internal data structures. */ #include #include @@ -198,10 +198,6 @@ netbsd_core_file_p (bfd *abfd) bfd_default_set_arch_mach (abfd, bfd_arch_m68k, 0); break; - case M_88K_OPENBSD: - bfd_default_set_arch_mach (abfd, bfd_arch_m88k, 0); - break; - case M_HPPA_OPENBSD: bfd_default_set_arch_mach (abfd, bfd_arch_hppa, bfd_mach_hppa11); break; @@ -265,7 +261,7 @@ swap_abort (void) #define NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort) #define NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort) -const bfd_target netbsd_core_vec = +const bfd_target core_netbsd_vec = { "netbsd-core", bfd_target_unknown_flavour, @@ -294,12 +290,16 @@ const bfd_target netbsd_core_vec = netbsd_core_file_p /* A core file. */ }, { /* bfd_set_format. */ - bfd_false, bfd_false, - bfd_false, bfd_false + _bfd_bool_bfd_false_error, + _bfd_bool_bfd_false_error, + _bfd_bool_bfd_false_error, + _bfd_bool_bfd_false_error }, { /* bfd_write_contents. */ - bfd_false, bfd_false, - bfd_false, bfd_false + _bfd_bool_bfd_false_error, + _bfd_bool_bfd_false_error, + _bfd_bool_bfd_false_error, + _bfd_bool_bfd_false_error }, BFD_JUMP_TABLE_GENERIC (_bfd_generic), @@ -314,5 +314,5 @@ const bfd_target netbsd_core_vec = NULL, - NULL /* Backend_data. */ + NULL /* Backend_data. */ };