Subject: Re: Mysterious sun3x cores explained
To: Gordon W. Ross <>
From: Jason Thorpe <>
List: port-sun3
Date: 05/09/1997 09:56:45
On Fri, 9 May 97 09:53:49 EDT (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                             
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