binutils and BSD/OS 4.1
Edward S. Marshall
emarshall@mercantec.com
Mon Jul 31 15:07:00 GMT 2000
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.
More information about the Binutils
mailing list