Solaris 7
assar@stacken.kth.se
assar at stacken.kth.se
Tue May 18 00:59:36 CEST 1999
assar at stacken.kth.se writes:
> Dominic Lai <dominic at cs.ust.hk> writes:
> > On Wed, May 12, 1999 at 06:20:00AM +0200, assar at stacken.kth.se (assar at stacken.kth.se) wrote:
> > % as -V
> > as: WorkShop Compilers 5.0 98/12/21
> > % ls -lF /usr/ccs/bin/as
> > -rwxr-xr-x 1 bin bin 342072 Jan 13 08:40 /usr/ccs/bin/as*
> >
> > I wonder if this patched version supplies the new feature
> > (.register pseudo-op) which causes the problem in compiling
> > lwp routine. :-(
I finally got hold of an assembler of the same vintage and with that
the following patch seems to be the right thing. Can you try it and
see if it also works for you? Thanks.
/assar
Index: lwp/process.S
===================================================================
RCS file: /usr/local/cvsroot/arla/lwp/process.S,v
retrieving revision 1.18
diff -u -w -u -w -r1.18 process.S
--- process.S 1999/01/13 14:38:48 1.18
+++ process.S 1999/05/17 22:53:11
@@ -341,6 +341,15 @@
topstack = 0
globals = 8
+
+#if 1 /* These might be required if you have a recent as */
+ /* These declarations are apparently required */
+
+ .register %g2, #scratch
+ .register %g3, #scratch
+ .register %g6, #scratch
+ .register %g7, #scratch
+#endif
stx %fp,[%i1+topstack] ! area1->topstack = sp
More information about the Arla-drinkers
mailing list