svn commit: r233986 - stable/9/libexec/rtld-elf
Konstantin Belousov
kib at FreeBSD.org
Sat Apr 7 05:42:38 UTC 2012
Author: kib
Date: Sat Apr 7 05:42:37 2012
New Revision: 233986
URL: http://svn.freebsd.org/changeset/base/233986
Log:
MFC r233430:
Provide short-circuit exit(3) implementation for rtld.
Modified:
stable/9/libexec/rtld-elf/rtld.c
Directory Properties:
stable/9/libexec/rtld-elf/ (props changed)
Modified: stable/9/libexec/rtld-elf/rtld.c
==============================================================================
--- stable/9/libexec/rtld-elf/rtld.c Sat Apr 7 05:41:02 2012 (r233985)
+++ stable/9/libexec/rtld-elf/rtld.c Sat Apr 7 05:42:37 2012 (r233986)
@@ -4384,6 +4384,17 @@ __getosreldate(void)
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.
*/
More information about the svn-src-stable-9
mailing list