configure.in (HAVE_AS_LEB128): New assembler check.

* configure.in (HAVE_AS_LEB128): New assembler check.
        * configure, config.in: Rebuilt.

From-SVN: r40326
This commit is contained in:
Richard Henderson 2001-03-08 11:36:21 -08:00 committed by Richard Henderson
parent cadcffb3fd
commit b7460f2463
4 changed files with 297 additions and 243 deletions

View File

@ -1,3 +1,8 @@
2001-03-08 Richard Henderson <rth@redhat.com>
* configure.in (HAVE_AS_LEB128): New assembler check.
* configure, config.in: Rebuilt.
Thu Mar 8 19:54:04 CET 2001 Jan Hubicka <jh@suse.cz>
* reg-stack.c (move_for_stack_reg): Avoid non-poping fst for

View File

@ -412,6 +412,9 @@
/* Define if your assembler supports .hidden. */
#undef HAVE_GAS_HIDDEN
/* Define if your assembler supports .uleb128. */
#undef HAVE_AS_LEB128
/* Define if your assembler supports .register. */
#undef HAVE_AS_REGISTER_PSEUDO_OP

505
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1314,6 +1314,33 @@ if test x"$gcc_cv_as_hidden" = xyes; then
fi
AC_MSG_RESULT($gcc_cv_as_hidden)
AC_MSG_CHECKING(assembler leb128 support)
gcc_cv_as_hidden=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
gcc_cv_as_leb128="yes"
fi
elif test x$gcc_cv_as != x; then
# Check if we have .[us]leb128, and support symbol arithmetic with it.
cat > conftest.s <<EOF
.data
.uleb128 L2 - L1
L1:
.uleb128 1280
.sleb128 -1010
L2:
EOF
if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then
gcc_cv_as_leb128="yes"
fi
rm -f conftest.s conftest.o conftest.nm1 conftest.nm2
fi
if test x"$gcc_cv_as_leb128" = xyes; then
AC_DEFINE(HAVE_AS_LEB128, 1,
[Define if your assembler supports .uleb128.])
fi
AC_MSG_RESULT($gcc_cv_as_leb128)
case "$target" in
sparc*-*-*)
AC_CACHE_CHECK([assembler .register pseudo-op support],