aboutsummaryrefslogtreecommitdiff
path: root/bfd/netbsd-core.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-03-02 23:42:08 +1030
committerAlan Modra <amodra@gmail.com>2020-03-02 23:49:03 +1030
commit601b73d5003ef804b49dfe42afd0fba0952218de (patch)
tree0e86d88ae0f189095c17cf6b3c06e6a746dba758 /bfd/netbsd-core.c
parenta84bb2a0790125f5fb5df65b7873fb6076164527 (diff)
downloadfsf-binutils-gdb-601b73d5003ef804b49dfe42afd0fba0952218de.zip
fsf-binutils-gdb-601b73d5003ef804b49dfe42afd0fba0952218de.tar.gz
fsf-binutils-gdb-601b73d5003ef804b49dfe42afd0fba0952218de.tar.bz2
Re: bfd_cleanup for object_p
More missing core file support changes. * aix386-core.c (aix386_core_file_p): Return bfd_cleanup. * aix5ppc-core.c (xcoff64_core_p): Likewise. * cisco-core.c (cisco_core_file_validate): Likewise. * hppabsd-core.c (hppabsd_core_core_file_p): Likewise. * hpux-core.c (hpux_core_core_file_p): Likewise. * irix-core.c (irix_core_core_file_p): Likewise. * lynx-core.c (lynx_core_file_p): Likewise. * netbsd-core.c (netbsd_core_file_p): Likewise. * osf-core.c (osf_core_core_file_p): Likewise. * ptrace-core.c (ptrace_unix_core_file_p): Likewise. * sco5-core.c (sco5_core_file_p): Likewise.
Diffstat (limited to 'bfd/netbsd-core.c')
-rw-r--r--bfd/netbsd-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c
index ae88fd6..83ad330 100644
--- a/bfd/netbsd-core.c
+++ b/bfd/netbsd-core.c
@@ -51,7 +51,7 @@ struct netbsd_core_struct
/* Handle NetBSD-style core dump file. */
-static const bfd_target *
+static bfd_cleanup
netbsd_core_file_p (bfd *abfd)
{
int val;
@@ -222,7 +222,7 @@ netbsd_core_file_p (bfd *abfd)
}
/* OK, we believe you. You're a core file (sure, sure). */
- return abfd->xvec;
+ return _bfd_no_cleanup;
punt:
bfd_release (abfd, abfd->tdata.any);