This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils and BSD/OS 4.1
- To: Mark Kettenis <kettenis at wins dot uva dot nl>
- Subject: Re: binutils and BSD/OS 4.1
- From: "Edward S. Marshall" <emarshall at mercantec dot com>
- Date: Mon, 31 Jul 2000 17:05:56 -0500 (CDT)
- cc: binutils at sources dot redhat dot com
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.