https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85490

--- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Tue Apr 24 22:12:46 2018
New Revision: 259620

URL: https://gcc.gnu.org/viewcvs?rev=259620&root=gcc&view=rev
Log:
x86/CET: Add -fcf-protection to STAGE4_CFLAGS

Since profiledbootstrap uses

STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use

add

STAGE4_CFLAGS += -fcf-protection -mcet

to bootstrap-cet.mk to support profiledbootstrap with CET.

        PR bootstrap/85490
        * bootstrap-cet.mk (STAGE4_CFLAGS): New.

Modified:
    trunk/config/ChangeLog
    trunk/config/bootstrap-cet.mk

Reply via email to