From d8513d173f480d6947db2c437ed5a4e1ded8f556 Mon Sep 17 00:00:00 2001 From: Christian Heim Date: Tue, 11 Apr 2006 10:21:29 +0000 Subject: Importing the dietlibc-(patch)-repo svn path=/; revision=316 --- .../0.29-r1/dietlibc-0.29-hppa-sendrecvfrom.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 dietlibc/patches/0.29-r1/dietlibc-0.29-hppa-sendrecvfrom.patch (limited to 'dietlibc/patches/0.29-r1/dietlibc-0.29-hppa-sendrecvfrom.patch') diff --git a/dietlibc/patches/0.29-r1/dietlibc-0.29-hppa-sendrecvfrom.patch b/dietlibc/patches/0.29-r1/dietlibc-0.29-hppa-sendrecvfrom.patch new file mode 100644 index 0000000..3ad8d77 --- /dev/null +++ b/dietlibc/patches/0.29-r1/dietlibc-0.29-hppa-sendrecvfrom.patch @@ -0,0 +1,46 @@ +Index: dietlibc-0.29/parisc/clone.S +=================================================================== +--- dietlibc-0.29.orig/parisc/clone.S ++++ dietlibc-0.29/parisc/clone.S +@@ -37,4 +37,4 @@ __clone: + bl _exit,%r2 /* exit thread */ + copy %r28,%r26 /* return -> arg0 */ + +- iitlbp %r0,(%r0) /* DIE ! DIE ! */ ++ iitlbp %r0,(%sr0,%r0) /* DIE ! DIE ! */ +Index: dietlibc-0.29/parisc/recvfrom.S +=================================================================== +--- dietlibc-0.29.orig/parisc/recvfrom.S ++++ dietlibc-0.29/parisc/recvfrom.S +@@ -1,3 +1,12 @@ + #include "syscalls.h" + +-syscall(recvfrom, recvfrom); ++.level 1.1 ++.globl recvfrom ++.type recvfrom,@function ++recvfrom: ++ /* Just load the arguments from the ++ stack into %r21 and %r22 */ ++ ldw -56(%sr0, %sp), %r21 ; 0x78 ++ ldw -52(%sr0, %sp), %r22 ; 0x74 ++ b __unified_syscall ++ ldi __NR_recvfrom, %r20 +Index: dietlibc-0.29/parisc/sendto.S +=================================================================== +--- dietlibc-0.29.orig/parisc/sendto.S ++++ dietlibc-0.29/parisc/sendto.S +@@ -1,3 +1,12 @@ + #include "syscalls.h" + +-syscall(sendto, sendto); ++.level 1.1 ++.globl sendto ++.type sendto,@function ++sendto: ++ /* Just load the arguments from the ++ stack into %r21 and %r22 */ ++ ldw -56(%sr0, %sp), %r21 ; 0x78 ++ ldw -52(%sr0, %sp), %r22 ; 0x74 ++ b __unified_syscall ++ ldi __NR_sendto, %r20 -- cgit v1.2.3-65-gdbad