From 8818c27776ee8869377ab746d6f24d2703ef5c3d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 3 Jun 2008 14:56:45 +0000 Subject: - Revert _dl_exit touch-up. It breaks on arches that don't define proper/complete/nice syscall facilities. --- ldso/include/dl-syscall.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ldso') diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h index 96d704d85..d017866eb 100644 --- a/ldso/include/dl-syscall.h +++ b/ldso/include/dl-syscall.h @@ -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); -- cgit v1.2.3