This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where's bfd.h


"Bill Cunningham" <billcun@suddenlink.net> writes:

> In the compiled compiled binutils-2.21 I get syscat.h ansidecl.h and
> bfd.h and the libbfd.a static library in the /lib directory. ELF's
> section struct has a referrence to SH_INFO. This is I believe where a
> vendor puts information about his ELF file. COFF maybe different.

The sh_info field of an ELF section header has a different meaning for
different section types (sh_type field).  It does not have a
vendor-specific meaning, except, of course, when using a vendor-specific
section type.

Vendor specific information is normally put in a vendor specific note
section (type SHT_NOTE).

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]