r266201 - in /trunk/gcc: ChangeLog config/vxwor...

hainque@gcc.gnu.org hainque@gcc.gnu.org
Fri Nov 16 09:23:00 GMT 2018


Author: hainque
Date: Fri Nov 16 09:23:22 2018
New Revision: 266201

URL: https://gcc.gnu.org/viewcvs?rev=266201&root=gcc&view=rev
Log:
Allow target overrides of ctors/dtors support advertisement on VxWorks

2018-11-16  Jerome Lambourg  <lambourg@adacore.com>

        * config/vxworks.h (TARGET_VXWORKS_HAVE_CTORS_DTORS): New macro.
        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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/vxworks.c
    trunk/gcc/config/vxworks.h



More information about the Gcc-cvs mailing list