debug: Add CONFIG_READABLE_ASM
authorAndi Kleen <ak@linux.intel.com>
Wed, 28 Mar 2012 18:51:18 +0000 (11:51 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 30 Mar 2012 17:15:21 +0000 (10:15 -0700)
commit1873e870fd63ee4b87dbe0125ca373e420fb4987
tree2c4d4244c653e374a1d0040e581be60f614f23a7
parent35372a7d45291140a97518a8d1c8cb0e31ee2bb7
debug: Add CONFIG_READABLE_ASM

Add a config option to disable various gcc compiler optimizations that
make assembler listings much harder to read. This is everything that reorders
code significantly or creates partial functions.

This is mainly to keep kernel hackers sane.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1332960678-11879-2-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Makefile
lib/Kconfig.debug