Prechádzať zdrojové kódy

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>
Vineet Gupta 10 rokov pred
rodič
commit
84108f44cc
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 5 0
      libc/sysdeps/linux/arc/sigaction.c

+ 5 - 0
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