OSDN Git Service

* configure.ac (HAVE_GAS_CFI_DIRECTIVE): Always test for assembler
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Aug 2008 10:23:08 +0000 (10:23 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Aug 2008 10:23:08 +0000 (10:23 +0000)
        support of this feature.  Do not assume that a sufficiently new
        assembler will support the feature regardless of the target type.
        (HAVE_GAS_CFI_PERSONALITY_DIRECTIVE): Likewise.
        * configure: Regenerate.

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

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 6f207e5..de65ecf 100644 (file)
@@ -1,3 +1,11 @@
+2008-08-20  Nick Clifton  <nickc@redhat.com>
+
+       * configure.ac (HAVE_GAS_CFI_DIRECTIVE): Always test for assembler
+       support of this feature.  Do not assume that a sufficiently new
+       assembler will support the feature regardless of the target type.
+       (HAVE_GAS_CFI_PERSONALITY_DIRECTIVE): Likewise.
+        * configure: Regenerate.
+
 2008-08-20  Richard Guenther  <rguenther@suse.de>
 
        * tree-vrp.c (found_in_subgraph): Remove.
index f136d57..ba2b6d0 100755 (executable)
@@ -20839,12 +20839,7 @@ if test "${gcc_cv_as_cfi_directive+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   gcc_cv_as_cfi_directive=no
-    if test $in_tree_gas = yes; then
-    if test $in_tree_gas_is_elf = yes \
-  && test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 17 \) \* 1000 + 0`
-  then gcc_cv_as_cfi_directive=yes
-fi
-  elif test x$gcc_cv_as != x; then
+  if test x$gcc_cv_as != x; then
     echo '     .text
        .cfi_startproc
        .cfi_offset 0, 0
@@ -20882,12 +20877,7 @@ if test "${gcc_cv_as_cfi_personality_directive+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   gcc_cv_as_cfi_personality_directive=no
-    if test $in_tree_gas = yes; then
-    if test $in_tree_gas_is_elf = yes \
-  && test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 17 \) \* 1000 + 0`
-  then gcc_cv_as_cfi_personality_directive=yes
-fi
-  elif test x$gcc_cv_as != x; then
+  if test x$gcc_cv_as != x; then
     echo '     .text
        .cfi_startproc,
        .cfi_personality 0, symbol
index a0e3f56..97cf160 100644 (file)
@@ -2182,7 +2182,7 @@ changequote([,])dnl
 
 # Check if we have assembler support for unwind directives.
 gcc_GAS_CHECK_FEATURE([cfi directives], gcc_cv_as_cfi_directive,
-  [elf,2,17,0],,
+  ,,
 [      .text
        .cfi_startproc
        .cfi_offset 0, 0
@@ -2195,7 +2195,7 @@ AC_DEFINE_UNQUOTED(HAVE_GAS_CFI_DIRECTIVE,
   [Define 0/1 if your assembler supports CFI directives.])
 
 gcc_GAS_CHECK_FEATURE([cfi personality directive],
-  gcc_cv_as_cfi_personality_directive, [elf,2,17,0],,
+  gcc_cv_as_cfi_personality_directive, ,,
 [      .text
        .cfi_startproc,
        .cfi_personality 0, symbol