[git commit 0_9_30] Make __UCLIBC_HAVE_ASM_CFI_DIRECTIVES__ visible in case the arch supports this feature. SH4 will use this in some aseembly files for the NPTL implementation. Add now safely on trunk.

Carmelo Amoroso carmelo.amoroso at st.com
Sat Oct 10 16:44:02 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=b3b129eb1b3e26e0977957edbdf5a0c96230371c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0_9_30

Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 include/libc-symbols.h                            |    6 ++++++
 libc/sysdeps/linux/sh/bits/uClibc_arch_features.h |    3 +++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index dacc03c..246b61a 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -118,6 +118,12 @@
 # undef HAVE_ASM_GLOBAL_DOT_NAME
 #endif
 
+#ifdef __UCLIBC_HAVE_ASM_CFI_DIRECTIVES__
+# define HAVE_ASM_CFI_DIRECTIVES
+#else
+# undef HAVE_ASM_CFI_DIRECTIVES
+#endif
+
 #if defined HAVE_ASM_WEAK_DIRECTIVE || defined HAVE_ASM_WEAKEXT_DIRECTIVE
 # define HAVE_WEAK_SYMBOLS
 #endif
diff --git a/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h b/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
index 55e3480..4d08453 100644
--- a/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
@@ -39,6 +39,9 @@
 /* needed probably only for ppc64 */
 #undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
 
+/* define if target supports CFI pseudo ops */
+#define __UCLIBC_HAVE_ASM_CFI_DIRECTIVES__
+
 /* define if target supports IEEE signed zero floats */
 #define __UCLIBC_HAVE_SIGNED_ZERO__
 
-- 
1.6.3.3



More information about the uClibc-cvs mailing list