From: Ryzhenkov Ilya Newsgroups: comp.os.msdos.djgpp Subject: COFF relocation tables Date: Thu, 24 Oct 1996 13:08:27 -0700 Organization: ISPh SB RAS Lines: 22 Distribution: world Message-ID: <326FCCBB.276@spy.isp.nsc.ru> NNTP-Posting-Host: arab.isp.nsc.ru Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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