1 /* Support for GCC on simulated PowerPC systems targeted to embedded ELF
3 Copyright (C) 1995, 1996 Free Software Foundation, Inc.
4 Contributed by Cygnus Support.
6 This file is part of GNU CC.
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING. If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
23 #include "rs6000/eabi.h"
26 #define TARGET_VERSION fprintf (stderr, " (PowerPC Simulated)");
29 #define CPP_PREDEFINES \
30 "-DPPC -D__embedded__ -D__simulator__ -Asystem(embedded) -Asystem(simulator) -Acpu(powerpc) -Amachine(powerpc)"
32 /* Make the simulator the default */
33 #undef LIB_DEFAULT_SPEC
34 #define LIB_DEFAULT_SPEC LIB_SIM_SPEC
36 #undef STARTFILE_DEFAULT_SPEC
37 #define STARTFILE_DEFAULT_SPEC STARTFILE_SIM_SPEC
39 #undef ENDFILE_DEFAULT_SPEC
40 #define ENDFILE_DEFAULT_SPEC ENDFILE_SIM_SPEC
42 #undef LINK_START_DEFAULT_SPEC
43 #define LINK_START_DEFAULT_SPEC LINK_START_SIM_SPEC