diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-03 07:02:31 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-03 07:02:31 +0000 |
commit | 61a9051e560b115478287f1030e67ee8aa493bbc (patch) | |
tree | d463c1b916e6229441da709bbbc56ccd606f9874 /gcc/configure.in | |
parent | df6edefac458b23d4eb278270fc75ba971653a12 (diff) | |
download | gcc-61a9051e560b115478287f1030e67ee8aa493bbc.tar.gz |
* configure.in (gcc_cv_as_leb128): Correct name of cache variable.
Require at least 2.11 in the version test. Specifically check
for and reject GAS version 2.10.90.
* configure: regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41039 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index a26f8a7146c..470c38c9156 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1303,9 +1303,9 @@ fi AC_MSG_RESULT($gcc_cv_as_hidden) AC_MSG_CHECKING(assembler leb128 support) -gcc_cv_as_hidden=no +gcc_cv_as_leb128=no if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then - if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 10 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then + if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 11 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then gcc_cv_as_leb128="yes" fi elif test x$gcc_cv_as != x; then @@ -1319,7 +1319,13 @@ L1: L2: EOF if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then - gcc_cv_as_leb128="yes" + # GAS versions numbered 2.10.90 do not support uleb128, despite + # appearing to. + if $gcc_cv_as --version | fgrep 2.10.90 > /dev/null; then + : + else + gcc_cv_as_leb128="yes" + fi fi rm -f conftest.s conftest.o conftest.nm1 conftest.nm2 fi |