aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd-in.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-03-25 11:58:49 +0000
committerNick Clifton <nickc@redhat.com>2020-03-25 11:58:49 +0000
commitaac88046e6cccf13fc408fc4e515aaf2548fe898 (patch)
tree794c543718979d6d3cdf3b75b35b56bc1ca53281 /bfd/libbfd-in.h
parentb77809577782d8798bc86dde3a2a28c30d7805f0 (diff)
downloadgdb-aac88046e6cccf13fc408fc4e515aaf2548fe898.zip
gdb-aac88046e6cccf13fc408fc4e515aaf2548fe898.tar.gz
gdb-aac88046e6cccf13fc408fc4e515aaf2548fe898.tar.bz2
Add a new function to the BFD library to allow users access to the COFF internal_extra_pe_outhdr structure.
* cofflink.c (bfd_coff_get_internal_extra_pe_aouthdr): New function. * libbfd-in.h (bfd_coff_get_internal_extra_pe_aouthdr): Prototype. * libbfd.h: Regenerate.
Diffstat (limited to 'bfd/libbfd-in.h')
-rw-r--r--bfd/libbfd-in.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h
index 5d24efb..2f1f886 100644
--- a/bfd/libbfd-in.h
+++ b/bfd/libbfd-in.h
@@ -854,6 +854,11 @@ extern bfd_vma _bfd_get_gp_value
extern void _bfd_set_gp_value
(bfd *, bfd_vma) ATTRIBUTE_HIDDEN;
+/* Provide access to the internal_extra_pe_aouthdr structure which
+ contains interesting information for PE format binaries. */
+extern struct internal_extra_pe_aouthdr *
+ bfd_coff_get_internal_extra_pe_aouthdr (bfd *);
+
/* Function shared by the COFF and ELF SH backends, which have no
other common header files. */