coff-go32-exe: support variable-length stubs
[deliverable/binutils-gdb.git] / bfd / libcoff.h
index eeb7b6b9954073412cff1ea07f9b7be40be31d29..44c85d96c151c66fe2af36a2953c8d6506ab7b7e 100644 (file)
@@ -118,9 +118,11 @@ typedef struct coff_tdata
      used by ARM code.  */
   flagword flags;
 
-  /* coff-stgo32 EXE stub header after BFD tdata has been allocated.  Its data
-     is kept in internal_filehdr.go32stub beforehand.  */
-  char *go32stub;
+  /* A stub (extra data prepended before the COFF image) and its size.
+     Used by coff-go32-exe, it contains executable data that loads the
+     COFF object into memory.  */
+  char * stub;
+  bfd_size_type stub_size;
 } coff_data_type;
 
 /* Tdata for pe image files.  */
This page took 0.023726 seconds and 4 git commands to generate.