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 :)
This commit is contained in:
parent
72ef2e6080
commit
98c4ae7b2b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13727
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user