From 40081c11c42ca4ed534c3d1ec1bb7c7b208d68d3 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 10 Jan 1999 19:05:23 +0000 Subject: Initial import of libcii version 1.1. Library from "C Interfaces and Implementations" by David Hanson. PR: 6504 Submitted by: J Han --- devel/libcii/files/patch-ab | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 devel/libcii/files/patch-ab (limited to 'devel/libcii/files/patch-ab') diff --git a/devel/libcii/files/patch-ab b/devel/libcii/files/patch-ab new file mode 100644 index 000000000000..de193edc0feb --- /dev/null +++ b/devel/libcii/files/patch-ab @@ -0,0 +1,23 @@ +--- 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 @@ + .end _swtch + .globl _ENDMONITOR + _ENDMONITOR: +-#elif linux && i386 ++#elif (linux || unix) && i386 + .align 4 + .globl __swtch + .globl _swtch +@@ -165,7 +165,11 @@ + pushl %edi + call *%esi + pushl %eax ++#ifdef __ELF__ + call Thread_exit ++#else ++ call _Thread_exit ++#endif + .globl __ENDMONITOR + .globl _ENDMONITOR + __ENDMONITOR: -- cgit v1.2.3