Merged with mainline at revision 128810.
[official-gcc.git] / gcc / config / vxworks-dummy.h
blobf310d0808d33b71370d5e610fc243b04b965b5fa
1 /* Dummy definitions of VxWorks-related macros
2 Copyright (C) 2007 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 /* True if we're targetting VxWorks. */
21 #ifndef TARGET_VXWORKS
22 #define TARGET_VXWORKS 0
23 #endif
25 /* True if generating code for a VxWorks RTP. */
26 #ifndef TARGET_VXWORKS_RTP
27 #define TARGET_VXWORKS_RTP false
28 #endif
30 /* The symbol that points to an RTP's table of GOTs. */
31 #define VXWORKS_GOTT_BASE (gcc_unreachable (), "")
33 /* The symbol that holds the index of the current module's GOT in
34 VXWORKS_GOTT_BASE. */
35 #define VXWORKS_GOTT_INDEX (gcc_unreachable (), "")