summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-03 14:56:45 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-03 14:56:45 +0000
commit8818c27776ee8869377ab746d6f24d2703ef5c3d (patch)
treef9558872a244672d0a1860a3f9f958c0eeddf9f1 /ldso
parente211e88fc845b883885b0c99373b03d4ac1cf87c (diff)
- Revert _dl_exit touch-up.
It breaks on arches that don't define proper/complete/nice syscall facilities.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/include/dl-syscall.h6
1 files changed, 1 insertions, 5 deletions
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);