configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9 unconditionally when gcc_cv_as_flags64 checks are gone.
* configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9 unconditionally when gcc_cv_as_flags64 checks are gone. * configure: Rebuilt. From-SVN: r56880
This commit is contained in:
parent
78fdd6f637
commit
2225262510
3 changed files with 47 additions and 45 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-09-06 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
|
||||
unconditionally when gcc_cv_as_flags64 checks are gone.
|
||||
* configure: Rebuilt.
|
||||
|
||||
2002-09-06 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
|
||||
|
|
42
gcc/configure
vendored
42
gcc/configure
vendored
|
@ -7707,42 +7707,40 @@ EOF
|
|||
|
||||
fi
|
||||
|
||||
if test "x$gcc_cv_as_flags64" != xno; then
|
||||
echo $ac_n "checking for assembler offsetable %lo() support""... $ac_c" 1>&6
|
||||
echo $ac_n "checking for assembler offsetable %lo() support""... $ac_c" 1>&6
|
||||
echo "configure:7713: checking for assembler offsetable %lo() support" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_offsetable_lo10'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
||||
gcc_cv_as_offsetable_lo10=unknown
|
||||
if test "x$gcc_cv_as" != x; then
|
||||
# Check if assembler has offsetable %lo()
|
||||
echo "or %g1, %lo(ab) + 12, %g1" > conftest.s
|
||||
echo "or %g1, %lo(ab + 12), %g1" > conftest1.s
|
||||
if $gcc_cv_as $gcc_cv_as_flags64 -o conftest.o conftest.s \
|
||||
> /dev/null 2>&1 &&
|
||||
$gcc_cv_as $gcc_cv_as_flags64 -o conftest1.o conftest1.s \
|
||||
> /dev/null 2>&1; then
|
||||
if cmp conftest.o conftest1.o > /dev/null 2>&1; then
|
||||
gcc_cv_as_offsetable_lo10=no
|
||||
else
|
||||
gcc_cv_as_offsetable_lo10=yes
|
||||
fi
|
||||
else
|
||||
gcc_cv_as_offsetable_lo10=unknown
|
||||
if test "x$gcc_cv_as" != x; then
|
||||
# Check if assembler has offsetable %lo()
|
||||
echo "or %g1, %lo(ab) + 12, %g1" > conftest.s
|
||||
echo "or %g1, %lo(ab + 12), %g1" > conftest1.s
|
||||
if $gcc_cv_as -xarch=v9 -o conftest.o conftest.s \
|
||||
> /dev/null 2>&1 &&
|
||||
$gcc_cv_as -xarch=v9 -o conftest1.o conftest1.s \
|
||||
> /dev/null 2>&1; then
|
||||
if cmp conftest.o conftest1.o > /dev/null 2>&1; then
|
||||
gcc_cv_as_offsetable_lo10=no
|
||||
else
|
||||
gcc_cv_as_offsetable_lo10=yes
|
||||
fi
|
||||
rm -f conftest.s conftest.o conftest1.s conftest1.o
|
||||
else
|
||||
gcc_cv_as_offsetable_lo10=no
|
||||
fi
|
||||
|
||||
rm -f conftest.s conftest.o conftest1.s conftest1.o
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
echo "$ac_t""$gcc_cv_as_offsetable_lo10" 1>&6
|
||||
if test "x$gcc_cv_as_offsetable_lo10" = xyes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
if test "x$gcc_cv_as_offsetable_lo10" = xyes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define HAVE_AS_OFFSETABLE_LO10 1
|
||||
EOF
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
;;
|
||||
|
|
|
@ -1980,33 +1980,31 @@ EOF
|
|||
[Define if your assembler and linker support unaligned PC relative relocs against hidden symbols.])
|
||||
fi
|
||||
|
||||
if test "x$gcc_cv_as_flags64" != xno; then
|
||||
AC_CACHE_CHECK([for assembler offsetable %lo() support],
|
||||
gcc_cv_as_offsetable_lo10, [
|
||||
gcc_cv_as_offsetable_lo10=unknown
|
||||
if test "x$gcc_cv_as" != x; then
|
||||
# Check if assembler has offsetable %lo()
|
||||
echo "or %g1, %lo(ab) + 12, %g1" > conftest.s
|
||||
echo "or %g1, %lo(ab + 12), %g1" > conftest1.s
|
||||
if $gcc_cv_as $gcc_cv_as_flags64 -o conftest.o conftest.s \
|
||||
> /dev/null 2>&1 &&
|
||||
$gcc_cv_as $gcc_cv_as_flags64 -o conftest1.o conftest1.s \
|
||||
> /dev/null 2>&1; then
|
||||
if cmp conftest.o conftest1.o > /dev/null 2>&1; then
|
||||
gcc_cv_as_offsetable_lo10=no
|
||||
else
|
||||
gcc_cv_as_offsetable_lo10=yes
|
||||
fi
|
||||
else
|
||||
AC_CACHE_CHECK([for assembler offsetable %lo() support],
|
||||
gcc_cv_as_offsetable_lo10, [
|
||||
gcc_cv_as_offsetable_lo10=unknown
|
||||
if test "x$gcc_cv_as" != x; then
|
||||
# Check if assembler has offsetable %lo()
|
||||
echo "or %g1, %lo(ab) + 12, %g1" > conftest.s
|
||||
echo "or %g1, %lo(ab + 12), %g1" > conftest1.s
|
||||
if $gcc_cv_as -xarch=v9 -o conftest.o conftest.s \
|
||||
> /dev/null 2>&1 &&
|
||||
$gcc_cv_as -xarch=v9 -o conftest1.o conftest1.s \
|
||||
> /dev/null 2>&1; then
|
||||
if cmp conftest.o conftest1.o > /dev/null 2>&1; then
|
||||
gcc_cv_as_offsetable_lo10=no
|
||||
else
|
||||
gcc_cv_as_offsetable_lo10=yes
|
||||
fi
|
||||
rm -f conftest.s conftest.o conftest1.s conftest1.o
|
||||
else
|
||||
gcc_cv_as_offsetable_lo10=no
|
||||
fi
|
||||
])
|
||||
if test "x$gcc_cv_as_offsetable_lo10" = xyes; then
|
||||
AC_DEFINE(HAVE_AS_OFFSETABLE_LO10, 1,
|
||||
[Define if your assembler supports offsetable %lo().])
|
||||
rm -f conftest.s conftest.o conftest1.s conftest1.o
|
||||
fi
|
||||
])
|
||||
if test "x$gcc_cv_as_offsetable_lo10" = xyes; then
|
||||
AC_DEFINE(HAVE_AS_OFFSETABLE_LO10, 1,
|
||||
[Define if your assembler supports offsetable %lo().])
|
||||
fi
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue