Re: Choosing a default text address for user programs for a new port

Jason R Thorpe <[email protected]> Thu, 18 Apr 2002 15:36:54 -0700
Newsgroups gmane.os.netbsd.devel.ports
Organization Wasabi Systems, Inc.
Message-ID <[email protected]>
On Thu, Apr 18, 2002 at 03:23:10PM -0700, Glenn Serre wrote:

 > I'm trying to get a new port running (I'm currently trying to exec init
 > for the first time) and I'm wondering what I should use as the default
 > text address for user programs.  I searched the list archives a bit, but
 > didn't see anything particularly informative.

Can you give an indication of what kind of architecture it is?

For ELF, what is generally done is "pick the largest page size
that is both reasonable and that the architecture provides and
use that".

The GNU Binutils should provide some hints as what to use, too.

-- 
        -- Jason R. Thorpe <[email protected]>