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
/
peicode.h
diff --git
a/bfd/peicode.h
b/bfd/peicode.h
index f569ccf389321c969ea1a01bc9a417c39c97c8b4..c5a92afefc4604b29c92a2ac0f56dbc4a4546df9 100644
(file)
--- a/
bfd/peicode.h
+++ b/
bfd/peicode.h
@@
-122,7
+122,7
@@
typedef struct
pe_ILF_vars;
#endif /* COFF_IMAGE_WITH_PE */
pe_ILF_vars;
#endif /* COFF_IMAGE_WITH_PE */
-
const bfd_target *
coff_real_object_p
+
bfd_cleanup
coff_real_object_p
(bfd *, unsigned, struct internal_filehdr *, struct internal_aouthdr *);
\f
#ifndef NO_COFF_RELOCS
(bfd *, unsigned, struct internal_filehdr *, struct internal_aouthdr *);
\f
#ifndef NO_COFF_RELOCS
@@
-1142,7
+1142,7
@@
pe_ILF_build_a_bfd (bfd * abfd,
/* We have detected a Image Library Format archive element.
Decode the element and return the appropriate target. */
/* We have detected a Image Library Format archive element.
Decode the element and return the appropriate target. */
-static
const bfd_target *
+static
bfd_cleanup
pe_ILF_object_p (bfd * abfd)
{
bfd_byte buffer[14];
pe_ILF_object_p (bfd * abfd)
{
bfd_byte buffer[14];
@@
-1300,7
+1300,7
@@
pe_ILF_object_p (bfd * abfd)
return NULL;
}
return NULL;
}
- return
abfd->xvec
;
+ return
_bfd_no_cleanup
;
}
static void
}
static void
@@
-1394,7
+1394,7
@@
pe_bfd_read_buildid (bfd *abfd)
free (data);
}
free (data);
}
-static
const bfd_target *
+static
bfd_cleanup
pe_bfd_object_p (bfd * abfd)
{
bfd_byte buffer[6];
pe_bfd_object_p (bfd * abfd)
{
bfd_byte buffer[6];
@@
-1404,7
+1404,7
@@
pe_bfd_object_p (bfd * abfd)
struct internal_aouthdr internal_a;
bfd_size_type opt_hdr_size;
file_ptr offset;
struct internal_aouthdr internal_a;
bfd_size_type opt_hdr_size;
file_ptr offset;
-
const bfd_target *
result;
+
bfd_cleanup
result;
/* Detect if this a Microsoft Import Library Format element. */
/* First read the beginning of the header. */
/* Detect if this a Microsoft Import Library Format element. */
/* First read the beginning of the header. */
This page took
0.023917 seconds
and
4
git commands to generate.