summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-06-26 11:33:32 +0530
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-07-22 09:50:50 +0200
commit84108f44ccbb94f9d34b13beefa1e2527807fdbc (patch)
tree03f000a9118632436f8c079ace3b16d6971a9c1c /libc
parente16dc639784ffbe64df198f518c433fb14d230e5 (diff)
ARC: make sigaction inline with other arches
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/arc/sigaction.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arc/sigaction.c b/libc/sysdeps/linux/arc/sigaction.c
index a4bc5f34b..73c496d2a 100644
--- a/libc/sysdeps/linux/arc/sigaction.c
+++ b/libc/sysdeps/linux/arc/sigaction.c
@@ -42,6 +42,11 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
}
#ifndef LIBC_SIGACTION
+# ifndef __UCLIBC_HAS_THREADS__
+strong_alias(__libc_sigaction,sigaction)
+libc_hidden_def(sigaction)
+# else
weak_alias(__libc_sigaction,sigaction)
libc_hidden_weak(sigaction)
+# endif
#endif