X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fptrace-core.c;h=ae8d747c2be80634e0499c57988d9c9d82876895;hb=47e9d49d2d795224f4b3f04c89c268627b850be4;hp=15c1ad43ea594e2f6366f659b9fef77a792bbe15;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/ptrace-core.c b/bfd/ptrace-core.c index 15c1ad43ea..ae8d747c2b 100644 --- a/bfd/ptrace-core.c +++ b/bfd/ptrace-core.c @@ -1,5 +1,5 @@ /* BFD backend for core files which use the ptrace_user structure - Copyright (C) 1993-2014 Free Software Foundation, Inc. + Copyright (C) 1993-2020 Free Software Foundation, Inc. The structure of this file is based on trad-core.c written by John Gilmore of Cygnus Support. Modified to work with the ptrace_user structure by Kevin A. Buettner. @@ -164,7 +164,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 ptrace_core_vec = +const bfd_target core_ptrace_vec = { "trad-core", bfd_target_unknown_flavour, @@ -174,7 +174,7 @@ const bfd_target ptrace_core_vec = HAS_LINENO | HAS_DEBUG | HAS_SYMS | HAS_LOCALS | WP_TEXT | D_PAGED), (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */ - 0, /* symbol prefix */ + 0, /* symbol prefix */ ' ', /* ar_pad_char */ 16, /* ar_max_namelen */ NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data */ @@ -191,12 +191,12 @@ const bfd_target ptrace_core_vec = ptrace_unix_core_file_p /* a core file */ }, { /* bfd_set_format */ - bfd_false, bfd_false, - bfd_false, bfd_false + _bfd_bool_bfd_false_error, bfd_false, + _bfd_bool_bfd_false_error, bfd_false }, { /* bfd_write_contents */ - bfd_false, bfd_false, - bfd_false, bfd_false + _bfd_bool_bfd_false_error, bfd_false, + _bfd_bool_bfd_false_error, bfd_false }, BFD_JUMP_TABLE_GENERIC (_bfd_generic),