summaryrefslogtreecommitdiff
path: root/ldso/include/dl-syscall.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-13 07:34:57 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-13 07:34:57 +0200
commitdd64f5afc19274f4e92afde3d13d1e8f0d2ee2d5 (patch)
tree4c5d9ae03a3d530f2f615229d9c726f4fd39ad98 /ldso/include/dl-syscall.h
parentfe109717435b9e62e24579559b3bf521d047d453 (diff)
parenta500a54bedc8081b9959cb03214047aead18b164 (diff)
Merge branch '1.0' of git+ssh://uclibc-ng.org/git/uclibc-ng into 1.0
Diffstat (limited to 'ldso/include/dl-syscall.h')
-rw-r--r--ldso/include/dl-syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h
index 4749d7abd..0acd2ba4a 100644
--- a/ldso/include/dl-syscall.h
+++ b/ldso/include/dl-syscall.h
@@ -51,7 +51,7 @@ extern int _dl_errno;
static __always_inline attribute_noreturn __cold void _dl_exit(int status)
{
INLINE_SYSCALL(_dl_exit, 1, status);
-#if defined __GNUC__
+#if defined __GNUC__ && !__GNUC_PREREQ (4, 4)
__builtin_unreachable(); /* shut up warning: 'noreturn' function does return*/
#else
while (1);