diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2025-04-08 10:52:56 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-04-09 11:59:03 +0200 |
commit | d9fa398fe82728ee703ad2bd9cf5247df9626470 (patch) | |
tree | 084cd584addc3f233f33d149e62314df0f3616ef /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4f2d1bbc2c92a32fd612e6c3b51832d5c1c3678e (diff) |
x86/boot/startup: Disable objtool validation for library code
The library code built under arch/x86/boot/startup is not intended to be
linked into vmlinux but only into the decompressor and/or the EFI stub.
This means objtool validation is not needed here, and may result in
false positive errors for things like missing retpolines.
So disable it for all objects added to lib-y
Tested-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20250408085254.836788-10-ardb+git@google.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions