aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-04-28 05:42:34 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-04-28 05:42:50 -0700
commiteedc73a224df61694fe4802ddec8eb9ad1822f32 (patch)
treeec0322655b95f987b4cc5557775e4400d6a8a6dc /gcc
parent34f6b14ff33e0c64b3a4a1a2cd871df715d69151 (diff)
downloadgcc-eedc73a224df61694fe4802ddec8eb9ad1822f32.zip
gcc-eedc73a224df61694fe4802ddec8eb9ad1822f32.tar.gz
gcc-eedc73a224df61694fe4802ddec8eb9ad1822f32.tar.bz2
Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work first
GCC_CET_HOST_FLAGS uses -Wl,-z,ibt,-z,shstk to check if Linux/x86 host has Intel CET enabled by introducing an Intel CET violation on purpose. To avoid false positive, check whether -Wl,-z,ibt,-z,shstk works first. -fcf-protection=none is added to avoid false negative when -fcf-protection is enabled by default. config/ PR bootstrap/94739 * cet.m4 (GCC_CET_HOST_FLAGS): Add -fcf-protection=none to -Wl,-z,ibt,-z,shstk. Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk works first. libiberty/ PR bootstrap/94739 * configure: Regenerated. lto-plugin/ PR bootstrap/94739 * configure: Regenerated.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions