Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 1996 12:31:11 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        rminnich@Sarnoff.COM (Ron G. Minnich)
Subject:   Re: So will this run or not :-)
Message-ID:  <199607271031.MAA29771@uriah.heep.sax.de>
In-Reply-To: <Pine.SUN.3.91.960726134341.6992A-100000@terra> from "Ron G. Minnich" at "Jul 26, 96 01:44:39 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.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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