]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add missing def of TARGET_VXWORKS_HAVE_CTORS_DTORS for VxWorksAE
authorhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Dec 2018 10:44:28 +0000 (10:44 +0000)
committerhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Dec 2018 10:44:28 +0000 (10:44 +0000)
* config/vxworksae.h (TARGET_VXWORKS_HAVE_CTORS_DTORS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266947 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/vxworksae.h

index 69f7da68f612068a573c47a5981f3bdaf67dc017..5f2ed0a897b0aacebcabe449c5010054142aced3 100644 (file)
@@ -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
        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.
 
index 8c34deedab2305c3176dcacadc45df7d22842bc7..857849474be7d2a37f284531ae905fd667abed97 100644 (file)
@@ -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 ""