]> gcc.gnu.org Git - gcc.git/commit
libcpp: Enable Intel CET on Intel CET enabled host for jit
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 12 May 2020 16:17:34 +0000 (09:17 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 12 May 2020 16:17:45 +0000 (09:17 -0700)
commit051da74259d5ebbfaa5b363dd09dbe16a955d8a1
treea94dd898309fea2bc4cab17cc7e7b5e5f5de2813
parent7e9c5bb0fd22fb4573d270de241d9b56de17f7f5
libcpp: Enable Intel CET on Intel CET enabled host for jit

Since on Intel CET enabled host, dlopen in Intel CET enabled applications
fails on shared libraries which aren't Intel CET enabled, compile with
-fcf-protection on Intel CET enabled host when jit is enabled to enable
Intel CET on libgccjit.

* Makefile.in (CET_HOST_FLAGS): New.
(COMPILER): Add $(CET_HOST_FLAGS).
* configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
AC_SUBST(CET_HOST_FLAGS).  Clear CET_HOST_FLAGS if jit isn't
enabled.
* aclocal.m4: Regenerated.
* configure: Likewise.
libcpp/ChangeLog
libcpp/Makefile.in
libcpp/aclocal.m4
libcpp/configure
libcpp/configure.ac
This page took 0.059733 seconds and 5 git commands to generate.