[PATCH] doubt in _dl_exit
Bernhard Fischer
rep.dot.nop at gmail.com
Fri May 23 22:29:49 UTC 2008
Could somebody who uses ldso please have a look if this breaks his
setup?
$ size ldso/ldso/ldso.oS*
text data bss dec hex filename
12424 12 72 12508 30dc ldso/ldso/ldso.oS.old
12290 12 72 12374 3056 ldso/ldso/ldso.oS
@@ -59,7 +59,11 @@
dynamic linking at all, so we cannot return any error codes.
We just punt if there is an error. */
#define __NR__dl_exit __NR_exit
-static __always_inline _syscall1(void, _dl_exit, int, status);
+static __always_inline attribute_noreturn void _dl_exit(int status)
+{
+ while (1)
+ INLINE_SYSCALL(exit, 1, status);
+}
More information about the uClibc
mailing list