arm64/kernel: Remove needless Call Frame Information annotations
authorKees Cook <keescook@chromium.org>
Fri, 21 Aug 2020 19:42:50 +0000 (12:42 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 1 Sep 2020 07:50:36 +0000 (09:50 +0200)
Remove last instance of an .eh_frame section by removing the needless Call
Frame Information annotations which were likely leftovers from 32-bit ARM.

Suggested-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200821194310.3089815-10-keescook@chromium.org
arch/arm64/kernel/smccc-call.S

index 1f93809528a4f19fde0a4964fc4cfd1fdc8b7fa7..d62447964ed91a4982b56720d78806f5c505afc3 100644 (file)
@@ -9,7 +9,6 @@
 #include <asm/assembler.h>
 
        .macro SMCCC instr
-       .cfi_startproc
        \instr  #0
        ldr     x4, [sp]
        stp     x0, x1, [x4, #ARM_SMCCC_RES_X0_OFFS]
@@ -21,7 +20,6 @@
        b.ne    1f
        str     x6, [x4, ARM_SMCCC_QUIRK_STATE_OFFS]
 1:     ret
-       .cfi_endproc
        .endm
 
 /*