This is the mail archive of the binutils@sources.redhat.com 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]

reading coff files


Hi,

My application has to know where the relocation in a function are. It get's
this information by reading the coff file.

I've already got it working with the microsoft coff files. But I cannot seem
to get this thing going with the gcc generated coff files (mingw).

This is what I do for the MS coff files:
 1. walk through the symbol table
 2. get the section listed in the symbol table
 3. read the relocations (info from section table)

The symbols in the gcc coff files all point to the same section?!



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