From f9eaaae5b3f13b5202f00f34ed30f18d027ad582 Mon Sep 17 00:00:00 2001 From: mmitchel Date: Tue, 7 May 2002 14:42:29 +0000 Subject: * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss. (LINK_START_SPEC): Handle it. (LINK_OS_SPEC): Likewise. (CPP_SPEC): Likewise. (STARTFILE_SPEC): Likewise. (LIB_SPEC): Likewise. (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on all platforms. (CRTSAVRES_DEFAULT_SPEC): New macro. (LIB_WINDISS_SPEC): New macro. (CPP_OS_WINDISS_SPEC): Likewise. (STARTFILE_WINDISS_SPEC): Likewise. (ENDFILE_WINDISS_SPEC): Likewise. (LINK_START_WINDISS_SPEC): Likewise. (LINK_OS_WINDISS_SPEC): Likewise. * config/rs6000/windiss.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53257 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/rs6000/windiss.h | 49 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 gcc/config/rs6000/windiss.h (limited to 'gcc/config/rs6000/windiss.h') diff --git a/gcc/config/rs6000/windiss.h b/gcc/config/rs6000/windiss.h new file mode 100644 index 00000000000..32f925aba35 --- /dev/null +++ b/gcc/config/rs6000/windiss.h @@ -0,0 +1,49 @@ +/* Support for GCC on PowerPC using WindISS simulator. + Copyright (C) 2002 Free Software Foundation, Inc. + Contributed by CodeSourcery, LLC. + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +#undef TARGET_VERSION +#define TARGET_VERSION fprintf (stderr, " (PowerPC WindISS)"); + +#undef LIB_DEFAULT_SPEC +#define LIB_DEFAULT_SPEC "%(lib_windiss)" + +#undef STARTFILE_DEFAULT_SPEC +#define STARTFILE_DEFAULT_SPEC "%(startfile_windiss)" + +#undef ENDFILE_DEFAULT_SPEC +#define ENDFILE_DEFAULT_SPEC "%(endfile_windiss)" + +#undef LINK_START_DEFAULT_SPEC +#define LINK_START_DEFAULT_SPEC "%(link_start_windiss)" + +#undef LINK_OS_DEFAULT_SPEC +#define LINK_OS_DEFAULT_SPEC "%(link_os_windiss)" + +#undef CRTSAVRES_DEFAULT_SPEC +#define CRTSAVRES_DEFAULT_SPEC "" + +#undef WCHAR_TYPE +#define WCHAR_TYPE "short unsigned int" + +#undef WCHAR_TYPE_SIZE +#define WCHAR_TYPE_SIZE 16 + +#define NO_IMPLICIT_EXTERN_C -- cgit v1.2.1