X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Flibcoff-in.h;h=b7fcea30bb4754d72bea70206fd7f8218e57317f;hb=160f8a8f32f5566077e4a4b13943bc7c70bc5da2;hp=e4155d286f4140b498712aad16d295f83aba8a5e;hpb=4d095f5b5e57584133f85df42da2123e20834aec;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/libcoff-in.h b/bfd/libcoff-in.h index e4155d286f..b7fcea30bb 100644 --- a/bfd/libcoff-in.h +++ b/bfd/libcoff-in.h @@ -33,8 +33,9 @@ extern "C" { #define coff_data(bfd) ((bfd)->tdata.coff_obj_data) #define obj_pe(bfd) (coff_data (bfd)->pe) +#define obj_go32(bfd) (coff_data (bfd)->go32) #define obj_symbols(bfd) (coff_data (bfd)->symbols) -#define obj_sym_filepos(bfd) (coff_data (bfd)->sym_filepos) +#define obj_sym_filepos(bfd) (coff_data (bfd)->sym_filepos) #define obj_relocbase(bfd) (coff_data (bfd)->relocbase) #define obj_raw_syments(bfd) (coff_data (bfd)->raw_syments) #define obj_raw_syment_count(bfd) (coff_data (bfd)->raw_syment_count) @@ -114,6 +115,9 @@ typedef struct coff_tdata used by ARM code. */ flagword flags; + /* Is this a GO32 coff file? */ + bfd_boolean go32; + /* 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. */ @@ -239,8 +243,9 @@ struct coff_link_hash_entry { struct bfd_link_hash_entry root; - /* Symbol index in output file. Set to -1 initially. Set to -2 if - there is a reloc against this symbol. */ + /* Symbol index in output file. This is initialized to -1. It is + set to -2 if the symbol is used by a reloc. It is set to -3 if + this symbol is defined in a discarded section. */ long indx; /* Symbol type. */