[git commit master 1/1] libc: define cfi_personality and cfi_lsda
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Thu Jun 17 17:49:54 UTC 2010
commit: http://git.uclibc.org/uClibc/commit/?id=150a0c95535578ac5ebabdeda59e5399d3bb44e1
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
required for proper, current subarch handling
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libc/sysdeps/linux/common/sysdep.h | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/libc/sysdeps/linux/common/sysdep.h b/libc/sysdeps/linux/common/sysdep.h
index dae74d7..a7ec954 100644
--- a/libc/sysdeps/linux/common/sysdep.h
+++ b/libc/sysdeps/linux/common/sysdep.h
@@ -67,6 +67,9 @@
# define cfi_remember_state .cfi_remember_state
# define cfi_restore_state .cfi_restore_state
# define cfi_window_save .cfi_window_save
+# define cfi_personality(enc, exp) .cfi_personality enc, exp
+# define cfi_lsda(enc, exp) .cfi_lsda enc, exp
+
# else
# define cfi_startproc
# define cfi_endproc
@@ -84,6 +87,8 @@
# define cfi_remember_state
# define cfi_restore_state
# define cfi_window_save
+# define cfi_personality(enc, exp)
+# define cfi_lsda(enc, exp)
# endif
#else /* ! ASSEMBLER */
@@ -118,6 +123,10 @@
".cfi_restore_state"
# define CFI_WINDOW_SAVE \
".cfi_window_save"
+# define CFI_PERSONALITY(enc, exp) \
+ ".cfi_personality " CFI_STRINGIFY(enc) "," CFI_STRINGIFY(exp)
+# define CFI_LSDA(enc, exp) \
+ ".cfi_lsda " CFI_STRINGIFY(enc) "," CFI_STRINGIFY(exp)
# else
# define CFI_STARTPROC
# define CFI_ENDPROC
@@ -134,6 +143,8 @@
# define CFI_REMEMBER_STATE
# define CFI_RESTORE_STATE
# define CFI_WINDOW_SAVE
+# define CFI_PERSONALITY(enc, exp)
+# define CFI_LSDA(enc, exp)
# endif
#endif /* __ASSEMBLER__ */
--
1.7.1
More information about the uClibc-cvs
mailing list