Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 1998 07:12:35 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        jdp@polstra.com, reilly@zeta.org.au, current@FreeBSD.ORG
Subject:   Re: ELF binaries size
Message-ID:  <199809020712.AAA22111@usr02.primenet.com>
In-Reply-To: <199809020214.MAA20550@godzilla.zeta.org.au> from "Bruce Evans" at Sep 2, 98 12:14:40 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >The mapping of the data in the address space is such that the first
> >data page is mapped after the last text page.  So in the address
> >space, it looks like this:
> >
> >        +---+---+---+---+
> >text    |   |   |   | : |
> >        +---+---+---+---+
> >                        +---+---+---+---+
> >data                    | : |   |   |   |

[ ... ]

> 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).

Actually, it implies that the x86 architecture wastes a full page of
memory, by not supportin byte-level protection resoloution.

This is not limited to the x86, in fact...


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

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?199809020712.AAA22111>