From: ian Date: Tue, 28 Sep 2010 18:24:54 +0000 (+0000) Subject: * config/i386/i386.c (ix86_supports_split_stack): Test X-Git-Tag: upstream/4.9.2~26320 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9caae97dddde9b0a7b07268b628f43801c354225;p=platform%2Fupstream%2Flinaro-gcc.git * config/i386/i386.c (ix86_supports_split_stack): Test 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a2b7b62..989d77d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2010-09-28 Ian Lance Taylor + * 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 + PR target/45815 * opts.c (decode_options): Don't test whether the target supports split stack if flag_split_stack == 0. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index e164c4b..c13479a 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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 "