i386.c (ix86_supports_split_stack): Test HAVE_GAS_CFI_PERSONALITY_DIRECTIVE rather than dwarf2out_do_cfi_asm.

* config/i386/i386.c (ix86_supports_split_stack): Test
	HAVE_GAS_CFI_PERSONALITY_DIRECTIVE rather than
	dwarf2out_do_cfi_asm.

From-SVN: r164696
This commit is contained in:
Ian Lance Taylor 2010-09-28 18:24:54 +00:00 committed by Ian Lance Taylor
parent bb4698728b
commit 7647b12769
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-09-28 Ian Lance Taylor <iant@google.com>
* config/i386/i386.c (ix86_supports_split_stack): Test
HAVE_GAS_CFI_PERSONALITY_DIRECTIVE rather than
dwarf2out_do_cfi_asm.
2010-09-28 Ian Lance Taylor <iant@google.com>
PR target/45815

View File

@ -8380,7 +8380,7 @@ ix86_supports_split_stack (bool report ATTRIBUTE_UNUSED)
error ("%<-fsplit-stack%> currently only supported on GNU/Linux");
ret = false;
#else
if (!dwarf2out_do_cfi_asm ())
if (!HAVE_GAS_CFI_PERSONALITY_DIRECTIVE)
{
if (report)
error ("%<-fsplit-stack%> requires "