Subject: Re: Choosing a default text address for user programs for a new port
To: Glenn Serre <gaserre@spiresoftware.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-ports
Date: 04/18/2002 15:36:54
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 <thorpej@wasabisystems.com>