Arla on MkLinux (Linux-ppc)
Assar Westerlund
assar at sics.se
Tue Mar 17 02:20:31 CET 1998
Artur Grabowski <art at stacken.kth.se> writes:
> Index: process.S
> ===================================================================
> RCS file: /usr/local/cvsroot/arla/lwp/process.S,v
> retrieving revision 1.1.1.1
> diff -u -w -u -r1.1.1.1 process.S
> --- process.S 1997/10/23 16:06:27 1.1.1.1
> +++ process.S 1998/03/16 20:09:48
> @@ -1276,7 +1276,7 @@
> mflr r0
> stw r0,RETURN(r4)
> mtlr r3
> - beq 90f /* No - don't muck with pointer
> + beq 90f /* No - don't muck with pointer*/
>
> mr r1,r5
> 90: blr /* Return */
It's even better having the same name on the two labels. :-)
And some assemblers don't like labels consisting of all numbers.
/assar
Index: lwp/process.S
===================================================================
RCS file: /usr/local/cvsroot/arla/lwp/process.S,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -u -w -r1.1.1.1 -r1.3
--- process.S 1997/10/23 16:06:27 1.1.1.1
+++ process.S 1998/03/17 00:38:48 1.3
@@ -1,4 +1,4 @@
-/* $Header: /usr/local/cvsroot/arla/lwp/process.S,v 1.1.1.1 1997/10/23 16:06:27 art Exp $ */
+/* $Header: /usr/local/cvsroot/arla/lwp/process.S,v 1.3 1998/03/17 00:38:48 assar Exp $ */
/* $Source: /usr/local/cvsroot/arla/lwp/process.S,v $ */
/*
@@ -1276,10 +1276,10 @@
mflr r0
stw r0,RETURN(r4)
mtlr r3
- beq 90f /* No - don't muck with pointer
+ beq L1 /* No - don't muck with pointer */
mr r1,r5
-90: blr /* Return */
+L1: blr /* Return */
/*
* returnto(struct savearea *area)
More information about the Arla-drinkers
mailing list