Subject: Re: Mysterious sun3x cores explained
To: Gordon W. Ross <gwr@mc.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sun3
Date: 05/09/1997 09:56:45
On Fri, 9 May 97 09:53:49 EDT
gwr@mc.com (Gordon W. Ross) wrote:
> An excellent solution already exists.
>
> There is a new variable that should be used instead:
>
> #include <sys/exec.h>
> extern struct ps_strings *__ps_strings;
>
> Use that and all will be well.
...yes, we were planning on changing the definition of PS_STRINGS to
use __ps_strings as soon as all of the crt0.o's were updated... are they
all up to snuff?
If not, the ones that aren't currently could be changed to set __ps_strings
to the old definition, until those ports' setregs() are fixed up. (setregs
is supposed to pass __ps_strings to crt0.o)
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939