Mail Archives: djgpp/1996/10/25/00:16:10
Ryzhenkov Ilya wrote:
>
> Hi!
>
> Can anyone help with COFF relocation tables ?
> I mean the following information WANTED :
> 1. What information is stored in the place of relocation
> in the .o files (for ADDR32 and REL32 types)
> As I guess, for ADDR32 the offset from r_symndx symbol
> is stored. Am I right ?
> What is that number for REL32 ?
> 2. What is standard way to resolve relocations ?
> I need a sample algorithm WITH COMMENTS ! ;-)
> I have a few peaces of code, but they are poor commented
> at that very place.
> 3. What is those ".lib" standard section ? I've never saw one in
> my object files.
>
> Thanx for any help!
> --
> Sincerely yours,
> Ilya
> mailto:ilya AT spy DOT isp DOT nsc DOT ru
> http://spy.isp.nsc.ru
Hi... try and get your hands on the AT&T Unix System V Programmers
Guide. It has an entire section on the COFF format...as well as
tables, etc, explaining how to implement COFF files.
Leathal.
- Raw text -