diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-03-02 04:35:23 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-03-02 04:35:23 -0800 |
commit | 728d32c496435cbd2529f7de9f5277d88c9c04e2 (patch) | |
tree | 5a652b018e40ec77f2cc6852f80956240b4f54ce /bfd/trad-core.c | |
parent | 4e07c9e2b69064e8b47e3981185b70ebe78aac68 (diff) | |
download | binutils-728d32c496435cbd2529f7de9f5277d88c9c04e2.zip binutils-728d32c496435cbd2529f7de9f5277d88c9c04e2.tar.gz binutils-728d32c496435cbd2529f7de9f5277d88c9c04e2.tar.bz2 |
trad_unix_core_file_p: Return bfd_cleanup
* trad-core.c (trad_unix_core_file_p): Return bfd_cleanup.
Diffstat (limited to 'bfd/trad-core.c')
-rw-r--r-- | bfd/trad-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/trad-core.c b/bfd/trad-core.c index 10ab252..1b2477a 100644 --- a/bfd/trad-core.c +++ b/bfd/trad-core.c @@ -71,7 +71,7 @@ struct trad_core_struct /* Handle 4.2-style (and perhaps also sysV-style) core dump file. */ -static const bfd_target * +static bfd_cleanup trad_unix_core_file_p (bfd *abfd) { int val; @@ -220,7 +220,7 @@ trad_unix_core_file_p (bfd *abfd) core_datasec (abfd)->alignment_power = 2; core_regsec (abfd)->alignment_power = 2; - return abfd->xvec; + return _bfd_no_cleanup; fail: bfd_release (abfd, abfd->tdata.any); |