svn commit: trunk/uClibc/ldso/include

aldot at uclibc.org aldot at uclibc.org
Tue Jun 3 14:56:46 UTC 2008


Author: aldot
Date: 2008-06-03 07:56:45 -0700 (Tue, 03 Jun 2008)
New Revision: 22205

Log:
- Revert _dl_exit touch-up.
  It breaks on arches that don't define proper/complete/nice syscall facilities.


Modified:
   trunk/uClibc/ldso/include/dl-syscall.h


Changeset:
Modified: trunk/uClibc/ldso/include/dl-syscall.h
===================================================================
--- trunk/uClibc/ldso/include/dl-syscall.h	2008-06-03 14:38:18 UTC (rev 22204)
+++ trunk/uClibc/ldso/include/dl-syscall.h	2008-06-03 14:56:45 UTC (rev 22205)
@@ -59,11 +59,7 @@
    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 attribute_noreturn void _dl_exit(int status)
-{
-	while (1)
-		INLINE_SYSCALL(exit, 1, status);
-}
+static __always_inline _syscall1(void, _dl_exit, int, status);
 
 #define __NR__dl_close __NR_close
 static __always_inline _syscall1(int, _dl_close, int, fd);




More information about the uClibc-cvs mailing list