diff --git a/include/common/aarch64/asm_macros.S b/include/common/aarch64/asm_macros.S index 528e29e0e82cbae6f66a7a304fe2ccf4154aa148..6d6989c2d91bf3f1e00969217c590edbfbc03fdc 100644 --- a/include/common/aarch64/asm_macros.S +++ b/include/common/aarch64/asm_macros.S @@ -65,8 +65,12 @@ * security, robustness and potentially facilitates debugging. */ .macro vector_entry label + .cfi_sections .debug_frame .section .vectors, "ax" .align 7, 0 + .type \label, %function + .func \label + .cfi_startproc \label: .endm @@ -77,6 +81,8 @@ * vector entry as the parameter */ .macro check_vector_size since + .endfunc + .cfi_endproc .if (. - \since) > (32 * 4) .error "Vector exceeds 32 instructions" .endif