From owner-freebsd-current Tue Sep 1 21:36:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA04259 for freebsd-current-outgoing; Tue, 1 Sep 1998 21:36:49 -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 VAA04221 for ; Tue, 1 Sep 1998 21:36:33 -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 XAA02097; Tue, 1 Sep 1998 23:37:14 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.9.1/8.9.1) id XAA03897; Tue, 1 Sep 1998 23:35:21 -0500 (CDT) (envelope-from joelh) Date: Tue, 1 Sep 1998 23:35:21 -0500 (CDT) Message-Id: <199809020435.XAA03897@detlev.UUCP> To: jdp@polstra.com CC: bde@zeta.org.au, reilly@zeta.org.au, current@FreeBSD.ORG In-reply-to: <199809020221.TAA17213@austin.polstra.com> (message from John Polstra on Tue, 01 Sep 1998 19:21:07 -0700) Subject: Re: ELF binaries size From: Joel Ray Holveck Reply-to: joelh@gnu.org References: <199809020221.TAA17213@austin.polstra.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> I think it implies that elf wastes a full page of memory (the space >> between the ':'s above) most of the time (unless the ':'s are on a >> page boundary), while aout only wastes an average of half a page >> (the space between the text ':' and the end of the page). > But a.out has a repeat of the same situation at the juncture of data > and bss, and ELF does not. 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. Happy hacking, 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