x86: Use .cfi_sections for assembly code
authorRoland McGrath <roland@redhat.com>
Fri, 14 May 2010 04:43:03 +0000 (21:43 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 14 May 2010 05:15:18 +0000 (22:15 -0700)
commit9e565292270a2d55524be38835104c564ac8f795
treea4a2c6e5b2013e142b866b1f4dcca44a8f7384a4
parent5967ed87ade85a421ef814296c3c7f182b08c225
x86: Use .cfi_sections for assembly code

The newer assemblers support the .cfi_sections directive so we can put
the CFI from .S files into the .debug_frame section that is preserved
in unstripped vmlinux and in separate debuginfo, rather than the
.eh_frame section that is now discarded by vmlinux.lds.S.

Signed-off-by: Roland McGrath <roland@redhat.com>
LKML-Reference: <20100514044303.A6FE7400BE@magilla.sf.frob.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/Makefile
arch/x86/include/asm/dwarf2.h