diff options
-rw-r--r-- | include/libc-symbols.h | 6 | ||||
-rw-r--r-- | 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 34be37c5d..91124bf2f 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -133,6 +133,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 55e34804f..4d0845351 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__ |