gcc/config
H.J. Lu 8fc8bf801e Enable Intel CET in liblto_plugin.so on Intel CET enabled host
Since ld is Intel CET enabled on Intel CET enabled host, dlopen fails on
liblto_plugin.so if it isn't Intel CET enabled.  Add GCC_CET_HOST_FLAGS
to cet.m4, use it in libiberty and lto-plugin to always enable Intel
CET in liblto_plugin.so on Intel CET enabled host.

On Linux/x86 host, enable Intel CET by default if assembler and compiler
support Intel CET so that the generated liblto_plugin.so can be used on
both CET and non-CET machines.  It is an error to disable Intel CET in
liblto_plugin.so on Intel CET enabled host.

config/

	PR bootstrap/94739
	* cet.m4 (GCC_CET_HOST_FLAGS): New.

libiberty/

	PR bootstrap/94739
	* Makefile.in (COMPILE.c): Add @CET_HOST_FLAGS@.
	(configure_deps): Add $(srcdir)/../config/cet.m4 and
	$(srcdir)/../config/enable.m4.
	* aclocal.m4: Include ../config/cet.m4 and ../config/enable.m4.
	* configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
	AC_SUBST(CET_HOST_FLAGS).
	* configure: Regenerated.

lto-plugin/

	PR bootstrap/94739
	* Makefile.am (AM_CFLAGS): Add $(CET_HOST_FLAGS).
	* configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
	AC_SUBST(CET_HOST_FLAGS).
	* Makefile.in: Regenerated.
	* aclocal.m4: Likewise.
	* configure: Likewise.
2020-04-25 10:07:16 -07:00
..
acinclude.m4
acx.m4
asmcfi.m4
ax_check_define.m4
ax_count_cpus.m4 Generalize getconf _NPROCESSORS_ONLN 2019-05-30 09:06:48 +00:00
ax_pthread.m4
bitfields.m4
bootstrap-asan.mk
bootstrap-cet.mk
bootstrap-debug-big.mk
bootstrap-debug-ckovw.mk
bootstrap-debug-lean.mk
bootstrap-debug-lib.mk
bootstrap-debug.mk
bootstrap-lto-lean.mk Filter out LTO in config/bootstrap-lto-lean.mk. 2019-04-16 15:24:53 +00:00
bootstrap-lto-noplugin.mk
bootstrap-lto.mk re PR lto/85574 (LTO bootstapped binaries differ) 2019-05-02 13:58:47 +00:00
bootstrap-O1.mk
bootstrap-O3.mk
bootstrap-Og.mk Add a build config for bootstrapping at -Og 2019-07-08 06:21:11 +00:00
bootstrap-time.mk
bootstrap-ubsan.mk
cet.m4 Enable Intel CET in liblto_plugin.so on Intel CET enabled host 2020-04-25 10:07:16 -07:00
ChangeLog Enable Intel CET in liblto_plugin.so on Intel CET enabled host 2020-04-25 10:07:16 -07:00
codeset.m4
depstand.m4
dfp.m4 Add missing '|' as wrong patch was applied. 2018-07-05 14:28:01 -06:00
elf.m4
enable.m4
extensions.m4
futex.m4 [ARM/FDPIC v6 02/24] [ARM] FDPIC: Handle arm*-*-uclinuxfdpiceabi in configure scripts 2019-09-10 09:37:00 +02:00
gc++filt.m4
gcc-plugin.m4
gettext-sister.m4
gettext.m4
glibc21.m4
gthr.m4 Create GCN-specific gthreads 2019-06-25 11:41:29 +00:00
gxx-include-dir.m4
hwcaps.m4
iconv.m4 iconv.m4 (AM_ICONV_LINK): Don't overwrite CPPFLAGS. 2018-11-07 15:41:21 -07:00
intdiv0.m4
inttypes_h.m4
inttypes-pri.m4
inttypes.m4
isl.m4
largefile.m4
lcmessage.m4
ld-symbolic.m4
lead-dot.m4
lib-ld.m4
lib-link.m4 Fixes after recent configure changes relating to static libraries 2020-02-01 00:34:28 +00:00
lib-prefix.m4
libstdc++-raw-cxx.m4
lthostflags.m4
math.m4 libgfortran: Provide some further math library fallbacks [PR94694] 2020-04-22 21:34:19 +02:00
mh-alpha-linux
mh-cygwin
mh-darwin
mh-djgpp
mh-mingw mh-mingw: Also set __USE_MINGW_ACCESS flag for C++ code. 2019-03-18 22:36:56 +00:00
mh-pa
mh-pa-hpux10
mh-ppc-aix
mmap.m4
mt-alphaieee
mt-android
mt-d30v
mt-gnu
mt-mips16-compat
mt-mips-elfoabi
mt-mips-gnu
mt-nios2-elf
mt-ospace
mt-sde
mt-spu
multi.m4 Add D front-end, libphobos library, and D2 testsuite. 2018-10-28 19:51:47 +00:00
nls.m4
no-executables.m4 Use a non-empty test program to test ability to link. 2020-02-12 13:22:07 -08:00
override.m4 Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
picflag.m4
plugins.m4
po.m4
proginstall.m4
progtest.m4
sjlj.m4
stdint_h.m4
stdint.m4
target-posix
tcl.m4
tls.m4 [ARM/FDPIC v6 02/24] [ARM] FDPIC: Handle arm*-*-uclinuxfdpiceabi in configure scripts 2019-09-10 09:37:00 +02:00
toolexeclibdir.m4 Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
uintmax_t.m4
ulonglong.m4
unwind_ipinfo.m4
warnings.m4
weakref.m4
zlib.m4