Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 1998 00:29:13 -0500 (CDT)
From:      Joel Ray Holveck <joelh@gnu.org>
To:        bde@zeta.org.au
Cc:        jdp@polstra.com, bde@zeta.org.au, current@FreeBSD.ORG, reilly@zeta.org.au
Subject:   Re: ELF binaries size
Message-ID:  <199809020529.AAA04166@detlev.UUCP>
In-Reply-To: <199809020506.PAA02087@godzilla.zeta.org.au> (message from Bruce Evans on Wed, 2 Sep 1998 15:06:39 %2B1000)
References:   <199809020506.PAA02087@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809020529.AAA04166>