Displaying 1 result from an estimated 1 matches for "a4f26f5".
Did you mean:
a4326fe
2005 Nov 25
0
Fix syscalls with more than four arguments on parisc
...ile.inc
@@ -14,6 +14,3 @@ ARCHOBJS = \
ARCHOOBJS = $(patsubst %o,%.lo,%(ARCHOBJS))
archclean:
-
-arch/$(ARCH)/syscall.o: arch/$(ARCH)/syscall.c
- $(CC) $(CFLAGS) -ffixed-r20 -c -o $@ $<
diff --git a/klibc/arch/parisc/syscall.S b/klibc/arch/parisc/syscall.S
new file mode 100644
index 0000000..a4f26f5
--- /dev/null
+++ b/klibc/arch/parisc/syscall.S
@@ -0,0 +1,36 @@
+/*
+ * arch/parisc/syscall.S
+ *
+ * %r20 contains the system call number, %r2 contains whence we came
+ *
+ */
+
+ .text
+ .align 64 ; cache-width aligned
+ .globl __syscall_common
+ .type __syscall_common,@function
+__syscall_c...