aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-05-08 15:13:04 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-05-08 15:13:25 -0700
commit9e20d0f0ce97c34e2424a3342ea573f3255f5ee3 (patch)
tree5872313d212c8c4a8c36081023761515ee6ddb22 /gcc
parent08c1d39d3a822dfe7d91524ec290e0f230504242 (diff)
downloadgcc-9e20d0f0ce97c34e2424a3342ea573f3255f5ee3.zip
gcc-9e20d0f0ce97c34e2424a3342ea573f3255f5ee3.tar.gz
gcc-9e20d0f0ce97c34e2424a3342ea573f3255f5ee3.tar.bz2
switchcontext.S: Include <cet.h> and use _CET_ENDBR
When __CET__ is defined, <cet.h> should be included to add Intel CET marker to object file and _CET_ENDBR should be placed at function entry to indicate indirect branch target. * libdruntime/config/x86/switchcontext.S: Include <cet.h> if __CET__ is defined. (_CET_ENDBR): New. Define if __CET__ is not defined. (fiber_switchContext): Add _CET_ENDBR after .cfi_startproc.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions