configure: Add a wrapper macro for .cfi pseudo-ops in assembly code.
This commit is contained in:
parent
d3b3b3e0b9
commit
e1f0a0db1f
|
@ -18207,6 +18207,16 @@ if test "$ac_cv_c_cfi_support" = "yes"
|
||||||
then
|
then
|
||||||
asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
|
asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
|
||||||
asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
|
asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
|
||||||
|
|
||||||
|
cat >>confdefs.h <<\_ACEOF
|
||||||
|
#define __ASM_CFI(str) str
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
else
|
||||||
|
cat >>confdefs.h <<\_ACEOF
|
||||||
|
#define __ASM_CFI(str) ""
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
|
asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
|
||||||
|
|
|
@ -1519,6 +1519,9 @@ if test "$ac_cv_c_cfi_support" = "yes"
|
||||||
then
|
then
|
||||||
asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
|
asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
|
||||||
asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
|
asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
|
||||||
|
AC_DEFINE([__ASM_CFI(str)],[str],[Define to a macro to output a .cfi assembly pseudo-op])
|
||||||
|
else
|
||||||
|
AC_DEFINE([__ASM_CFI(str)],[""])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
|
asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
|
||||||
|
|
|
@ -1188,6 +1188,9 @@
|
||||||
/* Define to 1 if the X Window System is missing or not being used. */
|
/* Define to 1 if the X Window System is missing or not being used. */
|
||||||
#undef X_DISPLAY_MISSING
|
#undef X_DISPLAY_MISSING
|
||||||
|
|
||||||
|
/* Define to a macro to output a .cfi assembly pseudo-op */
|
||||||
|
#undef __ASM_CFI
|
||||||
|
|
||||||
/* Define to a macro to define an assembly function */
|
/* Define to a macro to define an assembly function */
|
||||||
#undef __ASM_DEFINE_FUNC
|
#undef __ASM_DEFINE_FUNC
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue