aboutsummaryrefslogtreecommitdiffstats
path: root/tools/objtool/elf.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2019-02-25 10:31:24 +0100
committerIngo Molnar <mingo@kernel.org>2019-04-03 11:02:24 +0200
commita4d09dde9093a04a9b48fb9e5ef3177bdfaff199 (patch)
tree515fea511c16de926622d6751ed97390f826edba /tools/objtool/elf.h
parentx86/uaccess, kcov: Disable stack protector (diff)
downloadlinux-dev-a4d09dde9093a04a9b48fb9e5ef3177bdfaff199.tar.xz
linux-dev-a4d09dde9093a04a9b48fb9e5ef3177bdfaff199.zip
objtool: Set insn->func for alternatives
In preparation of function attributes, we need each instruction to have a valid link back to its function. Therefore make sure we set the function association for alternative instruction sequences; they are, after all, still part of the function. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions