X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fnetbsd-core.c;h=394b941e788475eefdbd3104bccfdffff00ff4b3;hb=97f50151221de0a023a8317559b1992a90f9cb8f;hp=913e862f9a4b9d8c18de315f305c9b9a9637d1e5;hpb=3db64b009284dda3a1ce10a91beb1297475e60a7;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c index 913e862f9a..394b941e78 100644 --- a/bfd/netbsd-core.c +++ b/bfd/netbsd-core.c @@ -1,14 +1,12 @@ /* BFD back end for NetBSD style core files - Copyright 1988, 1989, 1991, 1992, 1993, 1996, 1998, 1999, 2000, 2001, - 2002, 2003, 2004, 2005, 2006, 2007 - Free Software Foundation, Inc. + Copyright (C) 1988-2016 Free Software Foundation, Inc. Written by Paul Kranenburg, EUR This file is part of BFD, the Binary File Descriptor library. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -18,7 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #include "sysdep.h" #include "bfd.h" @@ -43,6 +42,7 @@ #define SPARC64_WCOOKIE_OFFSET 832 #define netbsd_core_file_matches_executable_p generic_core_file_matches_executable_p +#define netbsd_core_file_pid _bfd_nocore_core_file_pid struct netbsd_core_struct { @@ -265,7 +265,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, @@ -279,6 +279,7 @@ const bfd_target netbsd_core_vec = 0, /* Symbol prefix. */ ' ', /* ar_pad_char. */ 16, /* ar_max_namelen. */ + 0, /* Match priority. */ NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data. */ NO_GET, NO_GETS, NO_PUT, /* 32 bit data. */ NO_GET, NO_GETS, NO_PUT, /* 16 bit data. */ @@ -313,5 +314,5 @@ const bfd_target netbsd_core_vec = NULL, - (PTR) 0 /* Backend_data. */ + NULL /* Backend_data. */ };