Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 1996 11:14:09 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-hackers@FreeBSD.ORG, rminnich@Sarnoff.COM
Subject:   Re: So will this run or not :-)
Message-ID:  <199607271614.LAA11370@dyson.iquest.net>
In-Reply-To: <199607271031.MAA29771@uriah.heep.sax.de> from "J Wunsch" at Jul 27, 96 12:31:11 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> As Ron G. Minnich wrote:
> 
> > I have a file which needs to have text at a fairly high place. So i do:
> 
> Why?
> 
> > p0 24% make 
> > cc -o zclient -T 100000 zclient.o ../lib/libzounds.a
> 
> This is certainly wrong.  The -T option is a `special purpose' one,
> and i think only used to link the kernel by now.
> 
> The exact mapping of the text and data segment is a matter of the
> kernel (imgact_aout.c, i suppose), and nothing you can simply change
> by relinking the binary to another address.
> 
I was just looking at the a.out format, and there appears to be
no explicit indication of where the a.out is mapped.  If there
was (perhaps like in ELF) we could accomodate it.  So, it appears
that the a.out format simply doesn't/can't tell us (except
by magic number.)

John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607271614.LAA11370>