aboutsummaryrefslogtreecommitdiff
path: root/devel/libcii
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-06-08 12:47:42 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-06-08 12:47:42 +0000
commitc0e4211519052bae9852ae57d6731daf7a65dcaa (patch)
treed34f83399b4fb12384d05ec8240df02a776b2ee8 /devel/libcii
parent1a08a478772fc86ef549b80490db6d7d2179cd6f (diff)
downloadports-c0e4211519052bae9852ae57d6731daf7a65dcaa.tar.gz
ports-c0e4211519052bae9852ae57d6731daf7a65dcaa.zip
Notes
Diffstat (limited to 'devel/libcii')
-rw-r--r--devel/libcii/files/patch-aa21
-rw-r--r--devel/libcii/files/patch-ab37
2 files changed, 52 insertions, 6 deletions
diff --git a/devel/libcii/files/patch-aa b/devel/libcii/files/patch-aa
index 14e70a8a8962..7f543f11ddfa 100644
--- a/devel/libcii/files/patch-aa
+++ b/devel/libcii/files/patch-aa
@@ -1,5 +1,22 @@
---- src/thread.c.orig Wed Nov 5 15:03:00 1997
-+++ src/thread.c Sat Jan 9 18:44:09 1999
+--- src/thread.c.orig Thu Nov 6 06:03:00 1997
++++ src/thread.c Tue Jun 8 21:37:09 1999
+@@ -243,13 +243,13 @@
+ critical--; } while (0);
+ args = t->sp;
+ }
+-#if alpha
+- { extern void _start(void);
++#if __alpha
++ { extern void _thrstart(void);
+ t->sp -= 112/8;
+ t->sp[(48+24)/8] = (unsigned long)Thread_exit;
+ t->sp[(48+16)/8] = (unsigned long)args;
+ t->sp[(48+ 8)/8] = (unsigned long)apply;
+- t->sp[(48+ 0)/8] = (unsigned long)_start; }
++ t->sp[(48+ 0)/8] = (unsigned long)_thrstart; }
+ #elif mips
+ { extern void _start(void);
+ t->sp -= 16/4;
@@ -269,7 +269,7 @@
*--t->sp = (unsigned long)_start - 8;
*--t->sp = (unsigned long)fp;
diff --git a/devel/libcii/files/patch-ab b/devel/libcii/files/patch-ab
index de193edc0feb..8e05f8ae602f 100644
--- a/devel/libcii/files/patch-ab
+++ b/devel/libcii/files/patch-ab
@@ -1,6 +1,35 @@
---- src/swtch.s.orig Wed Nov 5 15:03:00 1997
-+++ src/swtch.s Sat Jan 9 18:56:46 1999
-@@ -136,7 +136,7 @@
+--- src/swtch.s.orig Thu Nov 6 06:03:00 1997
++++ src/swtch.s Tue Jun 8 21:44:42 1999
+@@ -1,4 +1,4 @@
+-#if alpha
++#if __alpha
+ .globl _swtch
+ .ent _swtch
+ _swtch: lda $sp,-112($sp) # allocate _swtch's frame
+@@ -39,9 +39,10 @@
+ lda $sp,112($sp) # deallocate frame
+ ret $31,($26)
+ .end _swtch
+-.globl _start
+-.ent _start
+-_start: .frame $sp,0,$26
++.globl _thrstart
++.ent _thrstart
++_thrstart:
++ .frame $sp,0,$26
+ .mask 0x0,0
+ .prologue 0
+ mov $14,$16 # register 14 holds args
+@@ -52,7 +53,7 @@
+ mov $13,$27 # register 13 has Thread_exit
+ jsr $26,($27)
+ call_pal 0
+-.end _start
++.end _thrstart
+ .globl _ENDMONITOR
+ _ENDMONITOR:
+ #elif sparc
+@@ -136,7 +137,7 @@
.end _swtch
.globl _ENDMONITOR
_ENDMONITOR:
@@ -9,7 +38,7 @@
.align 4
.globl __swtch
.globl _swtch
-@@ -165,7 +165,11 @@
+@@ -165,7 +166,11 @@
pushl %edi
call *%esi
pushl %eax