summaryrefslogtreecommitdiff
path: root/gcc/config/vxworks.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-03-07 07:37:16 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-03-07 07:37:16 +0000
commit26b5109ffe854436b7146e9eea898083a3b063de (patch)
tree3853b5871fee695133821de7f2a0aecbc37dd03f /gcc/config/vxworks.h
parent18fa3240db054b98ef9464cbcedb186d819217fd (diff)
vxworks.h (VXWORKS_GOTT_BASE, [...]): Undefine before defining.
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. From-SVN: r122653
Diffstat (limited to 'gcc/config/vxworks.h')
-rw-r--r--gcc/config/vxworks.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/vxworks.h b/gcc/config/vxworks.h
index 4c668116c31..055bf09813b 100644
--- a/gcc/config/vxworks.h
+++ b/gcc/config/vxworks.h
@@ -97,11 +97,11 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
extern void vxworks_asm_out_constructor (rtx symbol, int priority);
extern void vxworks_asm_out_destructor (rtx symbol, int priority);
-/* The name of the symbol for the table of GOTs in a particular
- RTP. */
+/* Override the vxworks-dummy.h definitions. TARGET_VXWORKS_RTP
+ is defined by vxworks.opt. */
+#undef VXWORKS_GOTT_BASE
#define VXWORKS_GOTT_BASE "__GOTT_BASE__"
-/* The name of the symbol for the index into the table of GOTs for the
- GOT associated with the current shared library. */
+#undef VXWORKS_GOTT_INDEX
#define VXWORKS_GOTT_INDEX "__GOTT_INDEX__"
#define VXWORKS_KIND VXWORKS_KIND_NORMAL