problems to compile arla on NetBSD m68k
Love
lha at stacken.kth.se
Sun Jul 23 23:51:22 CEST 2000
Christoph Wissing <wissing at mail.desy.de> writes:
> Hi Arla-trinkers,
>
> I try to compile arla on my m68k NetBSD system. The procedure stopps in
> the directory lwp. This is the critical part where we deal with some
> assembler routines. Since I am no assembler expert I cannot debug or
> localize the problem. I attached the output in a file to this mail.
I would guess that the the register names are missing, can you please try
to apply the following patch ?
Love
Index: process.m68k.S
===================================================================
RCS file:
/afs/stacken.kth.se/src/SourceRepository/arla/lwp/process.m68k.S,v
retrieving revision 1.3
diff -u -w -u -w -r1.3 process.m68k.S
--- lwp/process.m68k.S 2000/03/28 12:24:07 1.3
+++ lwp/process.m68k.S 2000/07/23 21:47:36
@@ -57,6 +57,29 @@
.globl _C_LABEL(savecontext)
.globl _C_LABEL(returnto)
+#define d0 (0)
+#define d1 (1)
+#define d2 (2)
+#define d3 (3)
+#define d4 (4)
+#define d5 (5)
+#define d6 (6)
+#define d7 (7)
+#define a0 (8)
+#define a1 (9)
+#define a2 (10)
+#define a3 (11)
+#define a4 (12)
+#define a5 (13)
+#define a6 (14)
+#define a7 (15)
+
+#define fp a6
+#define sp a7
+#define ps (16)
+#define pc (17)
+
+
topstack = 0
/* Stuff to allow saving/restoring registers */
More information about the Arla-drinkers
mailing list