]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Support Clang RAX DRAP sequence
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 17 Mar 2026 00:47:56 +0000 (17:47 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 18 Mar 2026 08:38:52 +0000 (09:38 +0100)
commit96f3b16a9de552538b810f773645d43f3b661b50
treef0ac7b3bee316c66c02fe14e357d98b696033db8
parent51a0b7c4ede5c775e9d362e5f465ca993e076823
objtool: Support Clang RAX DRAP sequence

Recent Clang can use RAX as a temporary register for the DRAP stack
alignment sequence.  Add support for that.

Fixes the following warning:

  vmlinux.o: error: objtool: vmw_host_printf+0xd: unknown CFA base reg 0

Closes: https://lore.kernel.org/cefefdd1-7b82-406d-8ff4-e4b167e45ee6@app.fastmail.com
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/3f33dc720b83dc6d3a2b7094f75a5c90a0b1cbc5.1773708458.git.jpoimboe@kernel.org
arch/x86/include/asm/orc_types.h
arch/x86/kernel/unwind_orc.c
tools/arch/x86/include/asm/orc_types.h
tools/objtool/arch/x86/decode.c
tools/objtool/arch/x86/orc.c