From owner-freebsd-current Tue Sep 1 22:30:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA13620 for freebsd-current-outgoing; Tue, 1 Sep 1998 22:30:27 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail.camalott.com (mail.camalott.com [208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA13614 for ; Tue, 1 Sep 1998 22:30:23 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-127.camalott.com [208.229.74.127]) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id AAA04474; Wed, 2 Sep 1998 00:31:06 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.9.1/8.9.1) id AAA04166; Wed, 2 Sep 1998 00:29:13 -0500 (CDT) (envelope-from joelh) Date: Wed, 2 Sep 1998 00:29:13 -0500 (CDT) Message-Id: <199809020529.AAA04166@detlev.UUCP> To: bde@zeta.org.au CC: jdp@polstra.com, bde@zeta.org.au, current@FreeBSD.ORG, reilly@zeta.org.au In-reply-to: <199809020506.PAA02087@godzilla.zeta.org.au> (message from Bruce Evans on Wed, 2 Sep 1998 15:06:39 +1000) Subject: Re: ELF binaries size From: Joel Ray Holveck Reply-to: joelh@gnu.org References: <199809020506.PAA02087@godzilla.zeta.org.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> Not to mention that this wastage only happens after a bit of data in >> the first data page is written to. Before that, it's being shared >> with text, anyway. > This page is almost certain to be written to. In all (2) cases that > I looked at, the data section begins with `__progname', which is always > written to very early by __main(). This page should be mapped writable > to begin with. True, I guess I didn't research that bit too closely. (Although it's actually written to in _start, not main, of course.) Thanks for pointing that out. Best, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message