summaryrefslogtreecommitdiff
path: root/gcc/configure.in
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-12 23:02:45 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-12 23:02:45 +0000
commitd5a614bc58a329d691e378d4ded28075f4ded00e (patch)
tree382d6ed5de207c7f602d15756e5d3615dc26d066 /gcc/configure.in
parent03035422ac77a68bdaa4563b6cafc7909e5f7d3c (diff)
downloadgcc-d5a614bc58a329d691e378d4ded28075f4ded00e.tar.gz
* config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
(sparc*-*-solaris): Clean up header files. * configure.in (AS_SPARC64_FLAG): Error out if can't find it and plan on generating 64-bit code. * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2. * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code. * config/sparc/sol2-sld-64.h: Rename ... * config/sparc/sol2-bi.h: ... here. Remove the bits that checked for AS_SPARC64_FLAG not defined. * config/sparc/sol2-gld-bi.h: New. * config/sparc/sol2-sld.h: Remove. * config/sparc/sol26-sld.h: New. * config/sparc/sol2.h: Tidy comments. * doc/install.texi: Document sparc-solaris configury changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52251 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.in')
-rw-r--r--gcc/configure.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/configure.in b/gcc/configure.in
index 4dd68db6596..1a337737721 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -1794,8 +1794,8 @@ EOF
[Define if your assembler and linker support unaligned PC relative relocs against hidden symbols.])
fi
- case "$tm_file" in
- *64*)
+ case "$target" in
+ sparcv9-* | sparc64-*)
AC_CACHE_CHECK([for 64 bit support in assembler ($gcc_cv_as)],
gcc_cv_as_flags64, [
if test -n "$gcc_cv_as"; then
@@ -1818,10 +1818,8 @@ EOF
fi
])
if test "x$gcc_cv_as_flags64" = xno; then
-changequote(, )
- tmake_file=`echo " $tmake_file " | sed -e 's, sparc/t-sol2-64 , ,' -e 's,^ ,,' -e 's, $,,'`
- dep_tmake_file=`echo " $dep_tmake_file " | sed -e 's, [^ ]*/config/sparc/t-sol2-64 , ,' -e 's,^ ,,' -e 's, $,,'`
-changequote([, ])
+ AC_MSG_ERROR([Assembler does not support 64-bit compilation.])
+ exit 1
else
AC_DEFINE_UNQUOTED(AS_SPARC64_FLAG, "$gcc_cv_as_flags64",
[Define if the assembler supports 64bit sparc.])