Date: Wed, 2 Sep 1998 15:06:39 +1000 From: Bruce Evans <bde@zeta.org.au> To: jdp@polstra.com, joelh@gnu.org Cc: bde@zeta.org.au, current@FreeBSD.ORG, reilly@zeta.org.au Subject: Re: ELF binaries size Message-ID: <199809020506.PAA02087@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>>> 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. 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. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809020506.PAA02087>