This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: binutils and BSD/OS 4.1


On Mon, 31 Jul 2000, Mark Kettenis wrote:
> That will almost certainly *not* work.  HOST_STACK_END_ADDR is
> supposed to be the VM address of the user stack.  With your patch it
> becomes the address of the string "_USRSTACK" wherever it ends up in
> the final binary.

Attribute that one to working on too many things at one while messing with
things I don't understand. ;-)

> If the BSD/OS 4.1 include files really don't define USRSTACK anymore,
> and NL_USRSTACK is indeed all that's available, they probably want you
> to use the nlist() interface (or whatever BSDi provides) to poke
> around in the kernel to get the stack address.

__USRSTACK appears to be available, although it's looking like that's been
deprecated; playing around with nlist() hasn't been very productive just
yet, but I'll keep poking at it.

-- 
Edward S. Marshall <emarshall@mercantec.com>                 UNIX Administrator
http://www.nyx.net/~emarshal/                                   Mercantec, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]