diff options
author | Christian Heim <phreak@gentoo.org> | 2006-04-11 10:21:29 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2006-04-11 10:21:29 +0000 |
commit | d8513d173f480d6947db2c437ed5a4e1ded8f556 (patch) | |
tree | cc38e4ee361a34fa073ee5d8da8e066824cbf109 /dietlibc/patches/0.29-r1/dietlibc-0.29-hppa-sendrecvfrom.patch | |
parent | Importing the vcontext uid fix from Daniel Hokka Zakrisson's src.rpm (diff) | |
download | misc-d8513d173f480d6947db2c437ed5a4e1ded8f556.tar.gz misc-d8513d173f480d6947db2c437ed5a4e1ded8f556.tar.bz2 misc-d8513d173f480d6947db2c437ed5a4e1ded8f556.zip |
Importing the dietlibc-(patch)-repo
svn path=/; revision=316
Diffstat (limited to 'dietlibc/patches/0.29-r1/dietlibc-0.29-hppa-sendrecvfrom.patch')
-rw-r--r-- | dietlibc/patches/0.29-r1/dietlibc-0.29-hppa-sendrecvfrom.patch | 46 |
1 files changed, 46 insertions, 0 deletions
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 |