*BSD News Article 49210


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!noc.near.net!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-mannheim.de!rummelplatz.uni-mannheim.de!fs29
From: fs29@rummelplatz.uni-mannheim.de (User fs29)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Q: How to build a relocation entry
Date: 21 Aug 1995 21:30:25 GMT
Organization: Rechenzentrum Uni Mannheim
Lines: 19
Message-ID: <41atth$nb3@trumpet.uni-mannheim.de>
NNTP-Posting-Host: rummelplatz.uni-mannheim.de
X-Newsreader: TIN [version 1.2 PL2]

Hi all,

I'm going to port an x86 code generator to FreeBSD in the next time.
It should produce statically linked, demand pageable ZMAGIC executables.
I have extracted all required information from the kernel sources and
header files, but I didn't manage to find out how to build a relocation
entry. I have spotted the file machine/reloc.h which describes the
format of a relocation entry, but I do not understand all elements
of the bit field inside the struct relocation_info.

So could anybody please send me a brief explanation of the creation
of a relocation entry?

Thanks in advance,

	nmh.

--
/*  Nils M. Holm                         <fs29@rummelplatz.uni-mannheim.de>  */