From 4d5e60d5a4fce9be60a6a1477bc3fe07fa689bf6 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Thu, 18 Sep 2008 15:16:30 +0000 Subject: sh_nptl: Enable CFI directives for sh Enable CFI directives for sh to add proper CFI information into assembly functions. This provides stack frame information used during stack unwinding as well by debugger for backtracing. Signed-off-by: Filippo Arcidiacono Signed-off-by: Carmelo Amoroso --- libc/sysdeps/linux/sh/bits/uClibc_arch_features.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc') 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__ -- cgit v1.2.3