Message-ID: <327057BC.6BA6@gbrmpa.gov.au> Date: Fri, 25 Oct 1996 14:01:36 +0800 From: Leath Muller Reply-To: leathm AT gbrmpa DOT gov DOT au Organization: Great Barrier Reef Marine Park Authority MIME-Version: 1.0 To: Ryzhenkov Ilya CC: djgpp AT delorie DOT com Subject: Re: COFF relocation tables References: <326FCCBB DOT 276 AT spy DOT isp DOT nsc DOT ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.