projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bfd_cleanup for object_p
[deliverable/binutils-gdb.git]
/
bfd
/
srec.c
diff --git
a/bfd/srec.c
b/bfd/srec.c
index 266c2b19ebbcd82f25fa09bd6d8c08b40d3ea5f4..5ca4f36ae5944ae34cb7c9d7146f03e626efc453 100644
(file)
--- a/
bfd/srec.c
+++ b/
bfd/srec.c
@@
-646,7
+646,7
@@
srec_scan (bfd *abfd)
/* Check whether an existing file is an S-record file. */
/* Check whether an existing file is an S-record file. */
-static
const bfd_target *
+static
bfd_cleanup
srec_object_p (bfd *abfd)
{
void * tdata_save;
srec_object_p (bfd *abfd)
{
void * tdata_save;
@@
-676,12
+676,12
@@
srec_object_p (bfd *abfd)
if (abfd->symcount > 0)
abfd->flags |= HAS_SYMS;
if (abfd->symcount > 0)
abfd->flags |= HAS_SYMS;
- return
abfd->xvec
;
+ return
_bfd_no_cleanup
;
}
/* Check whether an existing file is an S-record file with symbols. */
}
/* Check whether an existing file is an S-record file with symbols. */
-static
const bfd_target *
+static
bfd_cleanup
symbolsrec_object_p (bfd *abfd)
{
void * tdata_save;
symbolsrec_object_p (bfd *abfd)
{
void * tdata_save;
@@
-711,7
+711,7
@@
symbolsrec_object_p (bfd *abfd)
if (abfd->symcount > 0)
abfd->flags |= HAS_SYMS;
if (abfd->symcount > 0)
abfd->flags |= HAS_SYMS;
- return
abfd->xvec
;
+ return
_bfd_no_cleanup
;
}
/* Read in the contents of a section in an S-record file. */
}
/* Read in the contents of a section in an S-record file. */
This page took
0.024519 seconds
and
4
git commands to generate.