aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJerome Lambourg <lambourg@adacore.com>2018-12-10 10:44:28 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2018-12-10 10:44:28 +0000
commit59019b1515fb03800fa154378d82dbbefb59a4a1 (patch)
tree3446c2f53720f54059b0d49ec5728386bdc2f34d /gcc
parentc0fff1d0e70da9dcd70c099b22fdb2f1344b633b (diff)
downloadgcc-59019b1515fb03800fa154378d82dbbefb59a4a1.zip
gcc-59019b1515fb03800fa154378d82dbbefb59a4a1.tar.gz
gcc-59019b1515fb03800fa154378d82dbbefb59a4a1.tar.bz2
Add missing def of TARGET_VXWORKS_HAVE_CTORS_DTORS for VxWorksAE
* config/vxworksae.h (TARGET_VXWORKS_HAVE_CTORS_DTORS): Define. From-SVN: r266947
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/vxworksae.h6
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 69f7da6..5f2ed0a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2018-12-10 Jerome Lambourg <lambourg@adacore.com>
+
+ * config/vxworksae.h (TARGET_VXWORKS_HAVE_CTORS_DTORS): Define.
+
2018-12-10 Fredrik Nyström <fredrik@lysator.liu.se>
PR bootstrap/65725
@@ -2440,7 +2444,6 @@
Default to TARGET_VXWORKS_RTP.
(SUPPORTS_INIT_PRIORITY): Use TARGET_VXWORKS_HAVE_CTORS_DTORS instead
of TARGET_VXWORKS_RTP.
- * config/vxworksae.h: Also define TARGET_VXWORKS_HAVE_CTORS_DTORS.
* config/vxworks.c: Use TARGET_VXWORKS_HAVE_CTORS_DTORS instead
of TARGET_VXWORKS_RTP to set targetm.have_ctors_dtors.
diff --git a/gcc/config/vxworksae.h b/gcc/config/vxworksae.h
index 8c34dee..8578494 100644
--- a/gcc/config/vxworksae.h
+++ b/gcc/config/vxworksae.h
@@ -50,6 +50,12 @@ along with GCC; see the file COPYING3. If not see
#define VXWORKS_LIBGCC_SPEC \
"-lgcc"
+/* The VxWorks AE ports features are restricted on purpose. No RTPs,
+ for example. */
+
+#undef TARGET_VXWORKS_HAVE_CTORS_DTORS
+#define TARGET_VXWORKS_HAVE_CTORS_DTORS 0
+
#undef VXWORKS_STARTFILE_SPEC
#define VXWORKS_STARTFILE_SPEC ""