linux.h: Define WCHAR_TYPE as "int" and undef MAX_WCHAR_TYPE defined in sparc.h.

* config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
        MAX_WCHAR_TYPE defined in sparc.h.
        * config/sparc/linuxaout.h: Likewise.
        * config/sparc/linux64.h: Likewise.
        Also default to -mvis if CPU is UltraSPARC.

From-SVN: r28416
This commit is contained in:
Jakub Jelinek 1999-08-03 01:06:52 +02:00 committed by Richard Henderson
parent a48328531e
commit 247cfc5c36
4 changed files with 24 additions and 8 deletions

View File

@ -1,3 +1,11 @@
1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
* config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
MAX_WCHAR_TYPE defined in sparc.h.
* config/sparc/linuxaout.h: Likewise.
* config/sparc/linux64.h: Likewise.
Also default to -mvis if CPU is UltraSPARC.
1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
* config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.

View File

@ -64,10 +64,12 @@ Boston, MA 02111-1307, USA. */
#define PTRDIFF_TYPE "int"
#undef WCHAR_TYPE
#define WCHAR_TYPE "long int"
#define WCHAR_TYPE "int"
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#define WCHAR_TYPE_SIZE 32
#undef MAX_WCHAR_TYPE_SIZE
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -Dsparc -Dlinux -Asystem(unix) -Asystem(posix)"

View File

@ -97,10 +97,12 @@ Boston, MA 02111-1307, USA. */
#define PTRDIFF_TYPE "int"
#undef WCHAR_TYPE
#define WCHAR_TYPE "long int"
#define WCHAR_TYPE "int"
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#define WCHAR_TYPE_SIZE 32
#undef MAX_WCHAR_TYPE_SIZE
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__ELF__ -Dunix -D__sparc__ -Dlinux -Asystem(unix) -Asystem(posix)"

View File

@ -135,10 +135,12 @@ Boston, MA 02111-1307, USA. */
#define SPARC_DEFAULT_CMODEL CM_MEDLOW
#undef WCHAR_TYPE
#define WCHAR_TYPE "long int"
#define WCHAR_TYPE "int"
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#define WCHAR_TYPE_SIZE 32
#undef MAX_WCHAR_TYPE_SIZE
#undef LONG_DOUBLE_TYPE_SIZE
#define LONG_DOUBLE_TYPE_SIZE 128
@ -226,7 +228,8 @@ Boston, MA 02111-1307, USA. */
%{msparclite:-mcpu=sparclite} %{mf930:-mcpu=f930} %{mf934:-mcpu=f934} \
%{mv8:-mcpu=v8} %{msupersparc:-mcpu=supersparc} \
%{m64:-mptr64 -mstack-bias \
%{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:-mcpu=ultrasparc}}}}}}}} \
%{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:-mcpu=ultrasparc}}}}}}} \
%{!mno-vis:%{!mcpu=v9:-mvis}}} \
"
#else
#define CC1_SPEC "\
@ -236,6 +239,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}}}}}}}} \
%{!mno-vis:%{!m32:%{!mcpu=v9:-mvis}}} \
"
#endif