• Linus Torvalds's avatar
    Merge tag 'objtool-core-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 69fc06f7
    Linus Torvalds authored
    Pull objtool updates from Ingo Molnar:
     "There are a lot of objtool changes in this cycle, all across the map:
    
       - Speed up objtool significantly, especially when there are large
         number of sections
    
       - Improve objtool's understanding of special instructions such as
         IRET, to reduce the number of annotations required
    
       - Implement 'noinstr' validation
    
       - Do baby steps for non-x86 objtool use
    
       - Simplify/fix retpoline decoding
    
       - Add vmlinux validation
    
       - Improve documentation
    
       - Fix various bugs and apply smaller cleanups"
    
    * tag 'objtool-core-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (54 commits)
      objtool: Enable compilation of objtool for all architectures
      objtool: Move struct objtool_file into arch-independent header
      objtool: Exit successfully when requesting help
      objtool: Add check_kcov_mode() to the uaccess safelist
      samples/ftrace: Fix asm function ELF annotations
      objtool: optimize add_dead_ends for split sections
      objtool: use gelf_getsymshndx to handle >64k sections
      objtool: Allow no-op CFI ops in alternatives
      x86/retpoline: Fix retpoline unwind
      x86: Change {JMP,CALL}_NOSPEC argument
      x86: Simplify retpoline declaration
      x86/speculation: Change FILL_RETURN_BUFFER to work with objtool
      objtool: Add support for intra-function calls
      objtool: Move the IRET hack into the arch decoder
      objtool: Remove INSN_STACK
      objtool: Make handle_insn_ops() unconditional
      objtool: Rework allocating stack_ops on decode
      objtool: UNWIND_HINT_RET_OFFSET should not check registers
      objtool: is_fentry_call() crashes if call has no destination
      x86,smap: Fix smap_{save,restore}() alternatives
      ...
    69fc06f7
processor.h 25.3 KB