• Linus Torvalds's avatar
    Merge tag 'objtool-core-2021-02-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a56ff24e
    Linus Torvalds authored
    Pull objtool updates from Thomas Gleixner:
    
     - Make objtool work for big-endian cross compiles
    
     - Make stack tracking via stack pointer memory operations match
       push/pop semantics to prepare for architectures w/o PUSH/POP
       instructions.
    
     - Add support for analyzing alternatives
    
     - Improve retpoline detection and handling
    
     - Improve assembly code coverage on x86
    
     - Provide support for inlined stack switching
    
    * tag 'objtool-core-2021-02-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (33 commits)
      objtool: Support stack-swizzle
      objtool,x86: Additionally decode: mov %rsp, (%reg)
      x86/unwind/orc: Change REG_SP_INDIRECT
      x86/power: Support objtool validation in hibernate_asm_64.S
      x86/power: Move restore_registers() to top of the file
      x86/power: Annotate indirect branches as safe
      x86/acpi: Support objtool validation in wakeup_64.S
      x86/acpi: Annotate indirect branch as safe
      x86/ftrace: Support objtool vmlinux.o validation in ftrace_64.S
      x86/xen/pvh: Annotate indirect branch as safe
      x86/xen: Support objtool vmlinux.o validation in xen-head.S
      x86/xen: Support objtool validation in xen-asm.S
      objtool: Add xen_start_kernel() to noreturn list
      objtool: Combine UNWIND_HINT_RET_OFFSET and UNWIND_HINT_FUNC
      objtool: Add asm version of STACK_FRAME_NON_STANDARD
      objtool: Assume only ELF functions do sibling calls
      x86/ftrace: Add UNWIND_HINT_FUNC annotation for ftrace_stub
      objtool: Support retpoline jump detection for vmlinux.o
      objtool: Fix ".cold" section suffix check for newer versions of GCC
      objtool: Fix retpoline detection in asm code
      ...
    a56ff24e
check.c 72.2 KB