Skip to content

Commit

Permalink
x86: use AS_CFI instead of UNWIND_INFO
Browse files Browse the repository at this point in the history
In dwarf2_32.h, test for CONFIG_AS_CFI instead of
CONFIG_UNWIND_INFO. Turns out that searching for UNWIND_INFO
returns no match in any Kconfig or Makefile, so we're really
just throwing everything away regarding dwarf frames for i386.

The test that generates CONFIG_AS_CFI does not have anything
x86_64-specific, and right now, checking V=1 builds shows me
that the flags is there anyway, although unused.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Glauber Costa authored and Ingo Molnar committed Jul 11, 2008
1 parent 70f1bba commit d73a731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-x86/dwarf2_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
away for older version.
*/

#ifdef CONFIG_UNWIND_INFO
#ifdef CONFIG_AS_CFI

#define CFI_STARTPROC .cfi_startproc
#define CFI_ENDPROC .cfi_endproc
Expand Down

0 comments on commit d73a731

Please sign in to comment.