Add a new function to the BFD library to allow users access to the COFF internal_extr...
[deliverable/binutils-gdb.git] / bfd / cofflink.c
index e52f543ee6e66ec8afd2724ffdb3e9690d2a1faf..845d1e58467b78cf667451de62fc9ee175de4505 100644 (file)
@@ -3157,3 +3157,12 @@ _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;
+}
This page took 0.023594 seconds and 4 git commands to generate.