Commit 59019b15 by Jerome Lambourg Committed by Olivier Hainque

Add missing def of TARGET_VXWORKS_HAVE_CTORS_DTORS for VxWorksAE

	* config/vxworksae.h (TARGET_VXWORKS_HAVE_CTORS_DTORS): Define.

From-SVN: r266947
parent c0fff1d0
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> 2018-12-10 Fredrik Nyström <fredrik@lysator.liu.se>
PR bootstrap/65725 PR bootstrap/65725
...@@ -2440,7 +2444,6 @@ ...@@ -2440,7 +2444,6 @@
Default to TARGET_VXWORKS_RTP. Default to TARGET_VXWORKS_RTP.
(SUPPORTS_INIT_PRIORITY): Use TARGET_VXWORKS_HAVE_CTORS_DTORS instead (SUPPORTS_INIT_PRIORITY): Use TARGET_VXWORKS_HAVE_CTORS_DTORS instead
of TARGET_VXWORKS_RTP. of TARGET_VXWORKS_RTP.
* config/vxworksae.h: Also define TARGET_VXWORKS_HAVE_CTORS_DTORS.
* config/vxworks.c: Use TARGET_VXWORKS_HAVE_CTORS_DTORS instead * config/vxworks.c: Use TARGET_VXWORKS_HAVE_CTORS_DTORS instead
of TARGET_VXWORKS_RTP to set targetm.have_ctors_dtors. of TARGET_VXWORKS_RTP to set targetm.have_ctors_dtors.
...@@ -50,6 +50,12 @@ along with GCC; see the file COPYING3. If not see ...@@ -50,6 +50,12 @@ along with GCC; see the file COPYING3. If not see
#define VXWORKS_LIBGCC_SPEC \ #define VXWORKS_LIBGCC_SPEC \
"-lgcc" "-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 #undef VXWORKS_STARTFILE_SPEC
#define VXWORKS_STARTFILE_SPEC "" #define VXWORKS_STARTFILE_SPEC ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment