• Linus Torvalds's avatar
    Merge tag 'objtool-core-2020-10-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 6873139e
    Linus Torvalds authored
    Pull objtool updates from Ingo Molnar:
     "Most of the changes are cleanups and reorganization to make the
      objtool code more arch-agnostic. This is in preparation for non-x86
      support.
    
      Other changes:
    
       - KASAN fixes
    
       - Handle unreachable trap after call to noreturn functions better
    
       - Ignore unreachable fake jumps
    
       - Misc smaller fixes & cleanups"
    
    * tag 'objtool-core-2020-10-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (21 commits)
      perf build: Allow nested externs to enable BUILD_BUG() usage
      objtool: Allow nested externs to enable BUILD_BUG()
      objtool: Permit __kasan_check_{read,write} under UACCESS
      objtool: Ignore unreachable trap after call to noreturn functions
      objtool: Handle calling non-function symbols in other sections
      objtool: Ignore unreachable fake jumps
      objtool: Remove useless tests before save_reg()
      objtool: Decode unwind hint register depending on architecture
      objtool: Make unwind hint definitions available to other architectures
      objtool: Only include valid definitions depending on source file type
      objtool: Rename frame.h -> objtool.h
      objtool: Refactor jump table code to support other architectures
      objtool: Make relocation in alternative handling arch dependent
      objtool: Abstract alternative special case handling
      objtool: Move macros describing structures to arch-dependent code
      objtool: Make sync-check consider the target architecture
      objtool: Group headers to check in a single list
      objtool: Define 'struct orc_entry' only when needed
      objtool: Skip ORC entry creation for non-text sections
      objtool: Move ORC logic out of check()
      ...
    6873139e
opt.c 14.2 KB