diff options
author | Nick Clifton <nickc@redhat.com> | 2020-03-25 11:58:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-03-25 11:58:49 +0000 |
commit | aac88046e6cccf13fc408fc4e515aaf2548fe898 (patch) | |
tree | 794c543718979d6d3cdf3b75b35b56bc1ca53281 /bfd/libbfd.h | |
parent | b77809577782d8798bc86dde3a2a28c30d7805f0 (diff) | |
download | gdb-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.h')
-rw-r--r-- | bfd/libbfd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h index 348ccfd..fc8b81c 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -859,6 +859,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. */ |