From owner-freebsd-hackers Sat Jul 27 04:45:27 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA03285 for hackers-outgoing; Sat, 27 Jul 1996 04:45:27 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA03263 for ; Sat, 27 Jul 1996 04:45:22 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id NAA21593; Sat, 27 Jul 1996 13:45:07 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id NAA27426; Sat, 27 Jul 1996 13:45:07 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id MAA29771; Sat, 27 Jul 1996 12:31:12 +0200 (MET DST) From: J Wunsch Message-Id: <199607271031.MAA29771@uriah.heep.sax.de> Subject: Re: So will this run or not :-) To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Sat, 27 Jul 1996 12:31:11 +0200 (MET DST) Cc: rminnich@Sarnoff.COM (Ron G. Minnich) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Ron G. Minnich" at "Jul 26, 96 01:44:39 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)