[PATCH 0/8] x86/asm: Add unwind hint annotations to head code

From: Josh Poimboeuf
Date: Thu Aug 31 2017 - 16:25:40 EST


Add some annotations to allow objtool to understand the head code.

Also do a few cleanups while I'm there.

Josh Poimboeuf (8):
objtool: Don't report end of section error after an empty unwind hint
x86/head: Remove confusing comment
x86/head: Remove unused 'bad_address' code
x86/head: Fix head ELF function annotations
x86/boot: Annotate verify_cpu() as a callable function
x86/xen: Fix xen head ELF annotations
x86/xen: Add unwind hint annotations
x86/head: Add unwind hint annotations

arch/x86/kernel/Makefile | 1 -
arch/x86/kernel/head_64.S | 27 +++++++++++++++------------
arch/x86/kernel/verify_cpu.S | 3 ++-
arch/x86/xen/xen-head.S | 10 +++++++---
tools/objtool/check.c | 7 +++++--
5 files changed, 29 insertions(+), 19 deletions(-)

--
2.13.5