21 lines
702 B
Text
21 lines
702 B
Text
Index: cipher/asm-common-aarch64.h
|
|
--- cipher/asm-common-aarch64.h.orig
|
|
+++ cipher/asm-common-aarch64.h
|
|
@@ -45,7 +45,7 @@
|
|
|
|
#ifdef HAVE_GCC_ASM_CFI_DIRECTIVES
|
|
/* CFI directives to emit DWARF stack unwinding information. */
|
|
-# define CFI_STARTPROC() .cfi_startproc
|
|
+# define CFI_STARTPROC() .cfi_startproc; bti c
|
|
# define CFI_ENDPROC() .cfi_endproc
|
|
# define CFI_REMEMBER_STATE() .cfi_remember_state
|
|
# define CFI_RESTORE_STATE() .cfi_restore_state
|
|
@@ -87,7 +87,7 @@
|
|
DW_SLEB128_28BIT(rsp_offs)
|
|
|
|
#else
|
|
-# define CFI_STARTPROC()
|
|
+# define CFI_STARTPROC() bti c
|
|
# define CFI_ENDPROC()
|
|
# define CFI_REMEMBER_STATE()
|
|
# define CFI_RESTORE_STATE()
|