summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads
diff options
context:
space:
mode:
authorbriggs <briggs@pkgsrc.org>2001-01-10 03:18:17 +0000
committerbriggs <briggs@pkgsrc.org>2001-01-10 03:18:17 +0000
commit04d6d1a28a294700b838fbaf90374035bbf32b86 (patch)
tree651e7cbb3e3572e04ab20cadbf2f14bf8b222bdc /devel/mit-pthreads
parent274110f8d8b7a3f457c6b30350f95b9c41ff0334 (diff)
downloadpkgsrc-04d6d1a28a294700b838fbaf90374035bbf32b86.tar.gz
Make the PIC relocations correct on the powerpc.
Diffstat (limited to 'devel/mit-pthreads')
-rw-r--r--devel/mit-pthreads/files/patch-sum4
-rw-r--r--devel/mit-pthreads/patches/patch-ch12
2 files changed, 8 insertions, 8 deletions
diff --git a/devel/mit-pthreads/files/patch-sum b/devel/mit-pthreads/files/patch-sum
index 96c48de605a..56cfb534336 100644
--- a/devel/mit-pthreads/files/patch-sum
+++ b/devel/mit-pthreads/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.19 2001/01/10 01:28:50 briggs Exp $
+$NetBSD: patch-sum,v 1.20 2001/01/10 03:19:27 briggs Exp $
MD5 (patch-aa) = 5af930f67e251f5eb89b5414426d2396
MD5 (patch-ab) = 9bb4e83bd91f0159a522d8bfbba89362
@@ -58,5 +58,5 @@ MD5 (patch-cd) = 80e3861754c64174e3c799ef63b8f650
MD5 (patch-ce) = c1f4412685f89d377f4d04955b590231
MD5 (patch-cf) = 06f2bf984d0f346f91e3cb95a1c02940
MD5 (patch-cg) = e9ab42bf814853fc58d154cf14ca03e5
-MD5 (patch-ch) = 249de01870ab2895ee24ba84a7884fa0
+MD5 (patch-ch) = 8d723c010f01cfb9911c099b6b5208e7
MD5 (patch-ci) = 83e4f278aa81c2fb9a2b583514c7dde9
diff --git a/devel/mit-pthreads/patches/patch-ch b/devel/mit-pthreads/patches/patch-ch
index 4e4e8198e7b..9d91c02f76f 100644
--- a/devel/mit-pthreads/patches/patch-ch
+++ b/devel/mit-pthreads/patches/patch-ch
@@ -1,4 +1,4 @@
-$NetBSD: patch-ch,v 1.1 2001/01/10 01:28:51 briggs Exp $
+$NetBSD: patch-ch,v 1.2 2001/01/10 03:19:27 briggs Exp $
--- /dev/null Wed Dec 31 19:00:00 1969
+++ machdep/syscall-powerpc-netbsd.S Tue Jan 9 10:42:07 2001
@@ -50,7 +50,7 @@ $NetBSD: patch-ch,v 1.1 2001/01/10 01:28:51 briggs Exp $
+ENTRY(machdep_sys_fork)
+ li 0, SYS_fork
+ sc
-+ bso _C_LABEL(machdep_cerror)
++ bso PIC_PLT(_C_LABEL(machdep_cerror))
+ addi 4,4,-1
+ blr
+
@@ -59,7 +59,7 @@ $NetBSD: patch-ch,v 1.1 2001/01/10 01:28:51 briggs Exp $
+ mr 5,3
+ li 0,SYS_pipe
+ sc
-+ bso _C_LABEL(machdep_cerror)
++ bso PIC_PLT(_C_LABEL(machdep_cerror))
+ stw 3,0(5) # Success, store fds
+ stw 4,4(5)
+ li 3,0
@@ -71,7 +71,7 @@ $NetBSD: patch-ch,v 1.1 2001/01/10 01:28:51 briggs Exp $
+ lwz 3,0(3)
+ li 0,SYS_compat_13_sigsuspend13
+ sc
-+ b _C_LABEL(machdep_cerror)
++ b PIC_PLT(_C_LABEL(machdep_cerror))
+#endif /* SYS_sigsuspend14 */
+
+#ifndef SYS___sigprocmask14
@@ -85,7 +85,7 @@ $NetBSD: patch-ch,v 1.1 2001/01/10 01:28:51 briggs Exp $
+Ldoit: mr 3,6 # ... using sigprocmask(SIG_BLOCK)
+ li 0,SYS_compat_13_sigprocmask13
+ sc
-+ bso _C_LABEL(machdep_cerror)
++ bso PIC_PLT(_C_LABEL(machdep_cerror))
+ or. 5,5,5 # Check to see if oset requested
+ beq Ldone # if oset != NULL
+ stw 3,0(5) # *oset = oldmask
@@ -101,7 +101,7 @@ $NetBSD: patch-ch,v 1.1 2001/01/10 01:28:51 briggs Exp $
+ li 0, SYS___fstat13
+ sc
+ bnslr
-+ b _C_LABEL(machdep_cerror)
++ b PIC_PLT(_C_LABEL(machdep_cerror))
+
+/* Do we need to save the entire floating point state? I think so... */
+ENTRY(__machdep_save_fp_state)