This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] sparc64-*-linux tweaks
- To: "David S. Miller" <davem at redhat dot com>
- Subject: [PATCH] sparc64-*-linux tweaks
- From: Jakub Jelinek <jakub at redhat dot com>
- Date: Tue, 7 Dec 1999 17:18:06 +0100
- Cc: gcc-patches at gcc dot gnu dot org
Hi!
One more patch, this time sparc64-*-linux* related.
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.18 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________
1999-12-07 Jakub Jelinek <jakub@redhat.com>
* configure.in (sparc64-*-linux*): Use posix threads if enabled.
* config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
-mcpu is given and we're doing 64bit compiles.
--- gcc/configure.in.jj Wed Dec 1 19:21:32 1999
+++ gcc/configure.in Tue Dec 7 17:01:10 1999
@@ -3414,6 +3414,9 @@ changequote([,])dnl
xmake_file=x-linux
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
+ if test x$enable_threads = xyes; then
+ thread_file='posix'
+ fi
float_format=sparc
;;
# This hasn't been upgraded to GCC 2.
--- gcc/config/sparc/linux64.h.jj Wed Dec 1 09:17:50 1999
+++ gcc/config/sparc/linux64.h Tue Dec 7 16:59:38 1999
@@ -236,6 +236,7 @@ Boston, MA 02111-1307, USA. */
%{mv8:-mcpu=v8} %{msupersparc:-mcpu=supersparc} \
%{m32:-mptr32 -mno-stack-bias \
%{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:-mcpu=cypress}}}}}}}} \
+%{!m32:%{!mcpu*:-mcpu=ultrasparc}} \
%{!mno-vis:%{!m32:%{!mcpu=v9:-mvis}}} \
"
#endif