OSDN Git Service

* config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / vxppc.h
1 /* Definitions of target machine for GNU compiler.  Vxworks PowerPC version.
2    Copyright (C) 1996, 2000 Free Software Foundation, Inc.
3
4 This file is part of GNU CC.
5
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING.  If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 /* This file just exists to give specs for the PowerPC running on VxWorks.  */
22
23 /* Reset defaults */
24 #undef  CPP_OS_DEFAULT_SPEC
25 #define CPP_OS_DEFAULT_SPEC "%(cpp_os_vxworks)"
26
27 #undef  LIB_DEFAULT_SPEC
28 #define LIB_DEFAULT_SPEC "%(lib_vxworks)"
29
30 #undef  STARTFILE_DEFAULT_SPEC
31 #define STARTFILE_DEFAULT_SPEC "%(startfile_vxworks)"
32
33 #undef  ENDFILE_DEFAULT_SPEC
34 #define ENDFILE_DEFAULT_SPEC "%(endfile_vxworks)"
35
36 #undef  LINK_START_DEFAULT_SPEC
37 #define LINK_START_DEFAULT_SPEC "%(link_start_vxworks)"
38
39 #undef  LINK_OS_DEFAULT_SPEC
40 #define LINK_OS_DEFAULT_SPEC "%(link_os_vxworks)"
41
42 #undef CPP_PREDEFINES
43 #define CPP_PREDEFINES "\
44 -D__vxworks -D__vxworks__ -Asystem=vxworks -Asystem=embedded \
45 -Acpu=powerpc -Amachine=powerpc"
46
47 /* Don't define _LITTLE_ENDIAN or _BIG_ENDIAN */
48 #undef  CPP_ENDIAN_BIG_SPEC
49 #define CPP_ENDIAN_BIG_SPEC "-D__BIG_ENDIAN__ -Amachine=bigendian"
50
51 #undef  CPP_ENDIAN_LITTLE_SPEC
52 #define CPP_ENDIAN_LITTLE_SPEC "-D__LITTLE_ENDIAN__ -Amachine=littleendian"
53
54 /* We use stabs-in-elf for debugging */
55 #undef PREFERRED_DEBUGGING_TYPE
56 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG