revert: configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.

Reverted:
2001-06-07  Nathan Sidwell  <nathan@codesourcery.com>
* configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
* configure: Rebuilt.

From-SVN: r43300
This commit is contained in:
Alexandre Oliva 2001-06-13 03:10:44 +00:00 committed by Alexandre Oliva
parent 97ebd24c89
commit cb65112ade
3 changed files with 332 additions and 399 deletions

View File

@ -1,3 +1,10 @@
2001-06-12 Alexandre Oliva <aoliva@redhat.com>
Reverted:
2001-06-07 Nathan Sidwell <nathan@codesourcery.com>
* configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
* configure: Rebuilt.
2001-06-12 Jim Wilson <wilson@redhat.com>
* loop.c (strength_reduce): Move bl->all_reduced set before

687
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1587,42 +1587,7 @@ changequote([, ])
[Define if your assembler supports offsetable %lo().])
fi
fi
AC_CACHE_CHECK([assembler R_SPARC_UA32 relocation support],
gcc_cv_as_ua32_reloc, [
gcc_cv_as_ua32_reloc=
cat >conftest.s << EOF
.byte 0x1
.uaword foo
EOF
if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then
if (readelf -r conftest.o > conftest.elf) 2>/dev/null ; then
true
elif (elfdump -r conftest.o > conftest.elf) 2>/dev/null ; then
true
elif (`dirname $gcc_cv_as`/readelf -r conftest.o > conftest.elf) 2>/dev/null ; then
true
elif (`dirname $gcc_cv_as`/elfdump -r conftest.o > conftest.elf) 2>/dev/null ; then
true
else
gcc_cv_as_ua32_reloc=unknown
fi
if test x$gcc_cv_as_ua32_reloc = x && test `grep -c R_SPARC_UA32 conftest.elf` = 1 ; then
gcc_cv_as_ua32_reloc=yes
else
gcc_cv_as_ua32_reloc=no
fi
else
gcc_cv_as_ua32_reloc=unknown
fi
rm -f conftest.s conftest.o conftest.elf
])
if test "x$gcc_cv_as_ua32_reloc" = xno; then
AC_MSG_ERROR([Assembler does not support R_SPARC_UA32 correctly.
Please use native assembler or upgrade to binutils >= 2.11.1])
elif test "x$gcc_cv_as_ua32_reloc" != xyes ; then
AC_MSG_WARN([Cannot determine whether assembler supports R_SPARC_UA32 correctly.
The resulting compiler might not produce useable executables.])
fi
;;
changequote(,)dnl