diff options
author | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 1999-06-08 12:47:42 +0000 |
---|---|---|
committer | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 1999-06-08 12:47:42 +0000 |
commit | c0e4211519052bae9852ae57d6731daf7a65dcaa (patch) | |
tree | d34f83399b4fb12384d05ec8240df02a776b2ee8 /devel/libcii/files/patch-ab | |
parent | I carelessly unbroke elf. rebroke. (diff) |
Make this build on alpha.
Notes
Notes:
svn path=/head/; revision=19311
Diffstat (limited to '')
-rw-r--r-- | devel/libcii/files/patch-ab | 37 |
1 files changed, 33 insertions, 4 deletions
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 |