From 1304b2d60198f3f47b476514040411bd23bd16e3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 3 Mar 2000 21:58:21 +0000 Subject: 2000-02-28 Roland McGrath * i386/csw.S: #undef __ELF__ before defining it, since it is usually predefined. --- libthreads/i386/csw.S | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 + * + * * 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 * @@ -78,7 +86,8 @@ * */ #define ELF -#define __ELF__ +#undef __ELF__ +#define __ELF__ 1 #include #ifdef PIC -- cgit v1.2.3