* config/i386/i386.c (ix86_supports_split_stack): Test
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Sep 2010 18:24:54 +0000 (18:24 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Sep 2010 18:24:54 +0000 (18:24 +0000)
HAVE_GAS_CFI_PERSONALITY_DIRECTIVE rather than
dwarf2out_do_cfi_asm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164696 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index a2b7b62..989d77d 100644 (file)
@@ -1,5 +1,11 @@
 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
        * opts.c (decode_options): Don't test whether the target supports
        split stack if flag_split_stack == 0.
index e164c4b..c13479a 100644 (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 "