]> git.baikalelectronics.ru Git - kernel.git/commit
objtool: Provide elf_write_{insn,reloc}()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 12 Jun 2020 13:43:00 +0000 (15:43 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 18 Jun 2020 15:36:33 +0000 (17:36 +0200)
commit64b05aa88665b95812443c4bd5a4f86c923c0c42
tree32bb99ed96e96fbff9e8c62e035b7fa58d18a401
parent5584067b1e83b44d8a65878313315c857e44339d
objtool: Provide elf_write_{insn,reloc}()

This provides infrastructure to rewrite instructions; this is
immediately useful for helping out with KCOV-vs-noinstr, but will
also come in handy for a bunch of variable sized jump-label patches
that are still on ice.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
tools/objtool/elf.c
tools/objtool/elf.h