diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-07 07:37:16 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-07 07:37:16 +0000 |
commit | 2522d9ead13fadef65121e8aab6b112ee649cb3b (patch) | |
tree | 3853b5871fee695133821de7f2a0aecbc37dd03f /gcc/config/vxworks-dummy.h | |
parent | f20fe604499aca5125597268deecab241fc55e95 (diff) | |
download | gcc-2522d9ead13fadef65121e8aab6b112ee649cb3b.tar.gz |
gcc/
* config/vxworks.h (VXWORKS_GOTT_BASE, VXWORKS_GOTT_INDEX): Undefine
before defining.
* config/vxworks-dummy.h: New file.
* config/i386/i386.h: Include it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122653 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/vxworks-dummy.h')
-rw-r--r-- | gcc/config/vxworks-dummy.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/config/vxworks-dummy.h b/gcc/config/vxworks-dummy.h new file mode 100644 index 00000000000..f9098555ea4 --- /dev/null +++ b/gcc/config/vxworks-dummy.h @@ -0,0 +1,31 @@ +/* Dummy definitions of VxWorks-related macros + Copyright (C) 2007 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to the Free +Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301, USA. */ + +/* True if generating code for a VxWorks RTP. */ +#ifndef TARGET_VXWORKS_RTP +#define TARGET_VXWORKS_RTP false +#endif + +/* The symbol that points to an RTP's table of GOTs. */ +#define VXWORKS_GOTT_BASE (gcc_unreachable (), "") + +/* The symbol that holds the index of the current module's GOT in + VXWORKS_GOTT_BASE. */ +#define VXWORKS_GOTT_INDEX (gcc_unreachable (), "") |