Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
84108f44cc
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  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