summaryrefslogtreecommitdiff
path: root/libthreads/i386
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-03 21:58:21 +0000
committerRoland McGrath <roland@gnu.org>2000-03-03 21:58:21 +0000
commit1304b2d60198f3f47b476514040411bd23bd16e3 (patch)
tree0d811fbbbe6ff73c5e2724d7b4f2c154c3bb1d0d /libthreads/i386
parent5eab6bf4252d1d737e87b55fc95dafdadc31b7f6 (diff)
2000-02-28 Roland McGrath <roland@baalperazim.frob.com>
* i386/csw.S: #undef __ELF__ before defining it, since it is usually predefined.
Diffstat (limited to 'libthreads/i386')
-rw-r--r--libthreads/i386/csw.S11
1 files changed, 10 insertions, 1 deletions
diff --git a/libthreads/i386/csw.S b/libthreads/i386/csw.S
index 5579db5c..69c93652 100644
--- a/libthreads/i386/csw.S
+++ b/libthreads/i386/csw.S
@@ -26,6 +26,14 @@
/*
* HISTORY
* $Log: csw.S,v $
+ * Revision 1.9 1998/07/20 06:58:28 roland
+ * 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>
+ *
+ * * i386/csw.S (cproc_prepare): Take address of cthread_body as third
+ * arg, so we don't have to deal with PIC magic to find its address
+ * without producing a text reloc.
+ * * cprocs.c (cproc_create): Pass &cthread_body to cproc_prepare.
+ *
* Revision 1.8 1997/04/04 01:31:16 thomas
* Thu Apr 3 20:29:27 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
*
@@ -78,7 +86,8 @@
*
*/
#define ELF
-#define __ELF__
+#undef __ELF__
+#define __ELF__ 1
#include <mach/i386/asm.h>
#ifdef PIC