Provide short-circuit exit(3) implementation for rtld.
There is no atexit finalizers in rtld to call on rtld exiting (due to errors). Submitted by: bde No objections from: kan MFC after: 2 weeks
This commit is contained in:
parent
1233083107
commit
83dd177761
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233430
@ -4364,6 +4364,17 @@ __getosreldate(void)
|
|||||||
return (osreldate);
|
return (osreldate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
exit(int status)
|
||||||
|
{
|
||||||
|
|
||||||
|
_exit(status);
|
||||||
|
}
|
||||||
|
|
||||||
|
void (*__cleanup)(void);
|
||||||
|
int __isthreaded = 0;
|
||||||
|
int _thread_autoinit_dummy_decl = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* No unresolved symbols for rtld.
|
* No unresolved symbols for rtld.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user