This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
reading coff files
- From: "Sander Wichers" <wichers at usa dot net>
- To: <binutils at sources dot redhat dot com>
- Date: Sat, 31 May 2003 15:19:33 +0200
- Subject: 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?!