summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/c6x
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/c6x')
-rw-r--r--libc/sysdeps/linux/c6x/sigaction.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/c6x/sigaction.c b/libc/sysdeps/linux/c6x/sigaction.c
index 1865998ee..c65a85dc7 100644
--- a/libc/sysdeps/linux/c6x/sigaction.c
+++ b/libc/sysdeps/linux/c6x/sigaction.c
@@ -75,10 +75,16 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa
}
#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
+
/* NOTE: Please think twice before making any changes to the bits of
code below. GDB needs some intimate knowledge about it to
recognize them as signal trampolines, and make backtraces through