[klibc] [PATCH 1/2] switch sh4 to RT signals

Thorsten Glaser tg at mirbsd.org
Fri May 18 09:26:55 PDT 2012


tested on sumotsu.debian.net (Debian non-DSA porterbox)
note: this unbreaks the build and fixes a regression, but any
klibc executable (static or shared) still throws SIGILL on sh4

Signed-off-by: Thorsten Glaser <tg at mirbsd.org>
---
 usr/include/arch/sh/klibc/archconfig.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/usr/include/arch/sh/klibc/archconfig.h b/usr/include/arch/sh/klibc/archconfig.h
index 9c9e3d8..923c563 100644
--- a/usr/include/arch/sh/klibc/archconfig.h
+++ b/usr/include/arch/sh/klibc/archconfig.h
@@ -9,6 +9,7 @@
 #ifndef _KLIBC_ARCHCONFIG_H
 #define _KLIBC_ARCHCONFIG_H
 
-/* All defaults */
+/* Use rt_* signals */
+#define _KLIBC_USE_RT_SIG 1
 
 #endif				/* _KLIBC_ARCHCONFIG_H */
-- 
1.7.10



More information about the klibc mailing list