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
/
elfcode.h
diff --git
a/bfd/elfcode.h
b/bfd/elfcode.h
index b67ea8c7d2e88dd644d2da4b0ed53f4203ddfb32..600abfe836e4bafed2a4d66777835da7257277ba 100644
(file)
--- a/
bfd/elfcode.h
+++ b/
bfd/elfcode.h
@@
-497,7
+497,7
@@
elf_file_p (Elf_External_Ehdr *x_ehdrp)
any side effects in ABFD, or any data it points to (like tdata), if the
file does not match the target vector. */
any side effects in ABFD, or any data it points to (like tdata), if the
file does not match the target vector. */
-const bfd_target *
+bfd_cleanup
elf_object_p (bfd *abfd)
{
Elf_External_Ehdr x_ehdr; /* Elf file header, external form */
elf_object_p (bfd *abfd)
{
Elf_External_Ehdr x_ehdr; /* Elf file header, external form */
@@
-853,7
+853,7
@@
elf_object_p (bfd *abfd)
s->flags |= SEC_DEBUGGING;
}
}
s->flags |= SEC_DEBUGGING;
}
}
- return
target
;
+ return
_bfd_no_cleanup
;
got_wrong_format_error:
bfd_set_error (bfd_error_wrong_format);
got_wrong_format_error:
bfd_set_error (bfd_error_wrong_format);
This page took
0.024185 seconds
and
4
git commands to generate.