lkml.org 
[lkml]   [2020]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 10/17] arm64/kernel: Remove needless Call Frame Information annotations
    Date
    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>
    Acked-by: Will Deacon <will@kernel.org>
    Signed-off-by: Kees Cook <keescook@chromium.org>
    ---
    arch/arm64/kernel/smccc-call.S | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/arch/arm64/kernel/smccc-call.S b/arch/arm64/kernel/smccc-call.S
    index 1f93809528a4..d62447964ed9 100644
    --- a/arch/arm64/kernel/smccc-call.S
    +++ b/arch/arm64/kernel/smccc-call.S
    @@ -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

    /*
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-06-29 22:44    [W:4.269 / U:0.524 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site