]> 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)
commit6fcbe3b2e809b1ad32dd1812a01d7e92b9becabc
tree32bb99ed96e96fbff9e8c62e035b7fa58d18a401
parent3d39a7039e02a84b186511144fab38a2e2ff0283
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