aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-08-20 10:23:08 +0000
committerNick Clifton <nickc@gcc.gnu.org>2008-08-20 10:23:08 +0000
commit6e60703f413e6c124eeb17d751dc9a9bdd89443e (patch)
tree481c9b9685b452b37df46fbde94136e34f494bad /gcc
parentc4ab2baad2c3e42f8afdeccd96b4bccdefbcb19e (diff)
downloadgcc-6e60703f413e6c124eeb17d751dc9a9bdd89443e.zip
gcc-6e60703f413e6c124eeb17d751dc9a9bdd89443e.tar.gz
gcc-6e60703f413e6c124eeb17d751dc9a9bdd89443e.tar.bz2
configure.ac (HAVE_GAS_CFI_DIRECTIVE): Always test for assembler support of this feature.
* 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. From-SVN: r139266
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rwxr-xr-xgcc/configure14
-rw-r--r--gcc/configure.ac4
3 files changed, 12 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6f207e5..de65ecf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/configure b/gcc/configure
index f136d57..ba2b6d0 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -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
diff --git a/gcc/configure.ac b/gcc/configure.ac
index a0e3f56..97cf160 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -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