X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fhppabsd-core.c;h=e0f2b500372348e56f2ec50369de7ca84b18aa0b;hb=ebe84f23d2f3c0cb145cc7b3acfb011a4c7df1c9;hp=aea9d277366fcd433c7903fe0d844dd623f65309;hpb=d00dd7dc5e415503de88614bf2ea4aafa2bca819;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/hppabsd-core.c b/bfd/hppabsd-core.c index aea9d27736..e0f2b50037 100644 --- a/bfd/hppabsd-core.c +++ b/bfd/hppabsd-core.c @@ -1,5 +1,5 @@ /* BFD back-end for HPPA BSD core files. - Copyright (C) 1993-2018 Free Software Foundation, Inc. + Copyright (C) 1993-2020 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -90,7 +90,7 @@ make_bfd_asection (bfd *abfd, return asect; } -static const bfd_target * +static bfd_cleanup hppabsd_core_core_file_p (bfd *abfd) { int val; @@ -181,7 +181,7 @@ hppabsd_core_core_file_p (bfd *abfd) strncpy (core_command (abfd), u.u_comm, MAXCOMLEN + 1); core_signal (abfd) = u.u_code; - return abfd->xvec; + return _bfd_no_cleanup; fail: bfd_release (abfd, abfd->tdata.any);