Solaris 7
assar@stacken.kth.se
assar at stacken.kth.se
Wed May 12 21:39:52 CEST 1999
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. :-(
Can you try the appended patch? 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/12 19:38:30
@@ -342,6 +342,13 @@
topstack = 0
globals = 8
+ /* These declarations are apparently required */
+
+ .register %g2, g2
+ .register %g3, g3
+ .register %g6, g6
+ .register %g7, g7
+
stx %fp,[%i1+topstack] ! area1->topstack = sp
stx %g1, [%i1 + globals + 0] /* Save all globals just in case */
More information about the Arla-drinkers
mailing list