Revert earlier delta adding bfd_coff_get_internal_extra_pe_aouthdr() function.
authorNick Clifton <nickc@redhat.com>
Thu, 26 Mar 2020 10:46:25 +0000 (10:46 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 26 Mar 2020 10:46:25 +0000 (10:46 +0000)
* cofflink.c (bfd_coff_get_internal_extra_pe_aouthdr): Delete.
* libbfd-in.h (bfd_coff_get_internal_extra_pe_aouthdr): Remove
prototype.
* libbfd.h: Regenerate.

bfd/ChangeLog
bfd/cofflink.c
bfd/libbfd-in.h
bfd/libbfd.h

index 441725f0ebf2ee80974bb8035d6625e384affbd6..22508d09878c64a3dc705bc52aedae605c90aa02 100644 (file)
@@ -1,3 +1,10 @@
+2020-03-26  Nick Clifton  <nickc@redhat.com>
+
+       * cofflink.c (bfd_coff_get_internal_extra_pe_aouthdr): Delete.
+       * libbfd-in.h (bfd_coff_get_internal_extra_pe_aouthdr): Remove
+       prototype.
+       * libbfd.h: Regenerate.
+
 2020-03-26  Alan Modra  <amodra@gmail.com>
 
        * i386msdos.c (msdos_object_p): Catch -1 return from bfd_bread.
index 845d1e58467b78cf667451de62fc9ee175de4505..e52f543ee6e66ec8afd2724ffdb3e9690d2a1faf 100644 (file)
@@ -3157,12 +3157,3 @@ _bfd_coff_generic_relocate_section (bfd *output_bfd,
     }
   return TRUE;
 }
-
-
-struct internal_extra_pe_aouthdr *
-bfd_coff_get_internal_extra_pe_aouthdr (bfd* abfd)
-{
-  if (abfd == NULL || bfd_get_flavour (abfd) != bfd_target_coff_flavour)
-    return NULL;
-  return & pe_data (abfd)->pe_opthdr;
-}
index 2f1f88644edbae3bf3299d897cf106d72614a5aa..5d24efbeb269ddb91f425dc14d0db20e0397d509 100644 (file)
@@ -854,11 +854,6 @@ 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.  */
 
index fc8b81c45f079a94d8eda4f32cf7d8def9c33a5a..348ccfd4b5758cf361424032664375105b720564 100644 (file)
@@ -859,11 +859,6 @@ 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.  */