mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 17:33:50 +01:00
cd888f01a4
To support Intel CET, all indirect branch targets must start with ENDBR32/ENDBR64. Here is a patch to define endbranch and add it to function entries in x86 assembly codes which are indirect branch targets as discovered by running testsuite on Intel CET machine and visual inspection. Verified with $ CC="gcc -Wl,-z,cet-report=error -fcf-protection" CXX="g++ -Wl,-z,cet-report=error -fcf-protection" .../configure x86_64-linux $ make -j8 $ make -j8 check with both nasm and yasm on both CET and non-CET machines. Change-Id: I9822578e7294fb5043a64ab7de5c41de81a7d337 Signed-off-by: H.J. Lu <hjl.tools@gmail.com> |
||
---|---|---|
.. | ||
aarch64 | ||
Makefile.am | ||
mem_multibinary.asm | ||
mem_zero_detect_avx.asm | ||
mem_zero_detect_base_aliases.c | ||
mem_zero_detect_base.c | ||
mem_zero_detect_perf.c | ||
mem_zero_detect_sse.asm | ||
mem_zero_detect_test.c |