summaryrefslogtreecommitdiffstats
path: root/lib/csu
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-01-30 05:55:20 +0000
committernate <nate@FreeBSD.org>1996-01-30 05:55:20 +0000
commit33641076c593580a9b2c61127ae3000cf0e846b6 (patch)
tree8ee0d1bd253e21726afb6dc6eaf02080110bea01 /lib/csu
parent98f22e8f6828dc3fd4b1f2652762c96bee78f4fe (diff)
downloadFreeBSD-src-33641076c593580a9b2c61127ae3000cf0e846b6.zip
FreeBSD-src-33641076c593580a9b2c61127ae3000cf0e846b6.tar.gz
Back out the thread_init code in order to allow -current to bootstrap
from -stable, until a better solution is found. Submitted by: Consensus of mailing list and the almighty Jordan :)
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/i386/crt0.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/csu/i386/crt0.c b/lib/csu/i386/crt0.c
index 2cd03c3..d36cc29 100644
--- a/lib/csu/i386/crt0.c
+++ b/lib/csu/i386/crt0.c
@@ -98,7 +98,6 @@ extern start() asm("start");
extern mcount() asm ("mcount");
extern int main(int argc, char **argv, char **envp);
int __syscall(int syscall,...);
-void _thread_init();
#ifdef MCRT0
void monstartup(void *low, void *high);
#endif /* MCRT0 */
@@ -182,13 +181,6 @@ asm("eprol:");
monstartup(&eprol, &etext);
#endif /* MCRT0 */
- /*
- * Initialize the initial thread.
- * This function might be a stub if libc does not
- * contain thread support.
- */
- _thread_init();
-
asm ("__callmain:"); /* Defined for the benefit of debuggers */
exit(main(kfp->kargc, argv, environ));
}
OpenPOWER on IntegriCloud