diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-09-18 15:16:30 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-09-18 15:16:30 +0000 |
| commit | 4d5e60d5a4fce9be60a6a1477bc3fe07fa689bf6 (patch) | |
| tree | 810e694de4ba29ad78971dac0f107aab5575bf59 /include/libc-symbols.h | |
| parent | 0f8269c12af221c163ed28b0388242506d3aee8a (diff) | |
| download | uClibc-alpine-4d5e60d5a4fce9be60a6a1477bc3fe07fa689bf6.tar.bz2 uClibc-alpine-4d5e60d5a4fce9be60a6a1477bc3fe07fa689bf6.tar.xz | |
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 <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'include/libc-symbols.h')
| -rw-r--r-- | include/libc-symbols.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index e491aff5f..098a837cf 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -112,6 +112,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 |
