diff options
Diffstat (limited to 'bfd/binary.c')
-rw-r--r-- | bfd/binary.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/binary.c b/bfd/binary.c index 0683e41..999de0d 100644 --- a/bfd/binary.c +++ b/bfd/binary.c @@ -53,7 +53,7 @@ binary_mkobject (bfd *abfd ATTRIBUTE_UNUSED) was not defaulted. That is, it must be explicitly specified as being binary. */ -static const bfd_target * +static bfd_cleanup binary_object_p (bfd *abfd) { struct stat statbuf; @@ -86,7 +86,7 @@ binary_object_p (bfd *abfd) abfd->tdata.any = (void *) sec; - return abfd->xvec; + return _bfd_no_cleanup; } #define binary_close_and_cleanup _bfd_generic_close_and_cleanup |