* config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
[official-gcc.git] / gcc / config / sparc / splet.h
blob0d3f0546abe22480fff49e38c536988b2defcbad
1 /* Definitions of target machine for GNU compiler, for SPARClet.
2 Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
3 Contributed by Doug Evans (dje@cygnus.com).
5 This file is part of GNU CC.
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 #undef TARGET_DEFAULT
23 #define TARGET_DEFAULT MASK_APP_REGS
25 #define CPP_PREDEFINES "-Dsparc -Acpu=sparc -Amachine=sparc"
27 #undef SUBTARGET_SWITCHES
28 #define SUBTARGET_SWITCHES \
29 {"big-endian", -MASK_LITTLE_ENDIAN, N_("Generate code for big endian") }, \
30 {"little-endian", MASK_LITTLE_ENDIAN, N_("Generate code for little endian") },
32 #undef ASM_SPEC
33 #define ASM_SPEC "%{mlittle-endian:-EL} %(asm_cpu)"
35 /* Require the user to supply crt0.o. */
36 #undef STARTFILE_SPEC
37 #define STARTFILE_SPEC ""
39 #undef LINK_SPEC
40 #define LINK_SPEC "%{mlittle-endian:-EL}"
42 /* sparclet chips are bi-endian. */
43 #undef BYTES_BIG_ENDIAN
44 #define BYTES_BIG_ENDIAN (! TARGET_LITTLE_ENDIAN)
45 #undef WORDS_BIG_ENDIAN
46 #define WORDS_BIG_ENDIAN (! TARGET_LITTLE_ENDIAN)