* final.c (HAVE_READONLY_DATA_SECTION): New.
[official-gcc.git] / gcc / config / rs6000 / vxppc.h
blobb13f6f5cf86dc0d862546deb5ab0c783178d104c
1 /* Definitions of target machine for GNU compiler. Vxworks PowerPC version.
2 Copyright (C) 1996, 2000 Free Software Foundation, Inc.
4 This file is part of GNU CC.
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.
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.
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. */
21 /* This file just exists to give specs for the PowerPC running on VxWorks. */
23 /* Reset defaults */
24 #undef CPP_OS_DEFAULT_SPEC
25 #define CPP_OS_DEFAULT_SPEC "%(cpp_os_vxworks)"
27 #undef LIB_DEFAULT_SPEC
28 #define LIB_DEFAULT_SPEC "%(lib_vxworks)"
30 #undef STARTFILE_DEFAULT_SPEC
31 #define STARTFILE_DEFAULT_SPEC "%(startfile_vxworks)"
33 #undef ENDFILE_DEFAULT_SPEC
34 #define ENDFILE_DEFAULT_SPEC "%(endfile_vxworks)"
36 #undef LINK_START_DEFAULT_SPEC
37 #define LINK_START_DEFAULT_SPEC "%(link_start_vxworks)"
39 #undef LINK_OS_DEFAULT_SPEC
40 #define LINK_OS_DEFAULT_SPEC "%(link_os_vxworks)"
42 #undef CPP_PREDEFINES
43 #define CPP_PREDEFINES "\
44 -D__vxworks -D__vxworks__ -Asystem=vxworks -Asystem=embedded \
45 -Acpu=powerpc -Amachine=powerpc"
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"
51 #undef CPP_ENDIAN_LITTLE_SPEC
52 #define CPP_ENDIAN_LITTLE_SPEC "-D__LITTLE_ENDIAN__ -Amachine=littleendian"
54 /* We use stabs-in-elf for debugging */
55 #undef PREFERRED_DEBUGGING_TYPE
56 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG