[PATCH] x86: Detect CFI support in the assembler at runtime
... instead of using a CONFIG option. The config option still controls
if the resulting executable actually has unwind information.
This is useful to prevent compilation errors when users select
CONFIG_STACK_UNWIND on old binutils and also allows to use
CFI in the future for non kernel debugging applications.
Cc: jbeulich@novell.com
Cc: sam@ravnborg.org
Signed-off-by:
Andi Kleen <ak@suse.de>
Showing
- Documentation/kbuild/makefiles.txt 5 additions, 0 deletionsDocumentation/kbuild/makefiles.txt
- arch/i386/Makefile 4 additions, 0 deletionsarch/i386/Makefile
- arch/x86_64/Makefile 3 additions, 0 deletionsarch/x86_64/Makefile
- include/asm-x86_64/dwarf2.h 1 addition, 1 deletioninclude/asm-x86_64/dwarf2.h
- scripts/Kbuild.include 7 additions, 0 deletionsscripts/Kbuild.include
Loading
Please register or sign in to comment