H.J. Lu
cd888f01a4
x86: Add ENDBR32/ENDBR64 at function entries for Intel CET
...
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>
2020-05-26 09:16:49 -07:00
..
2019-11-01 15:31:33 -07:00
2020-02-20 09:40:43 -07:00
2017-03-30 17:40:16 -07:00
2018-06-21 14:39:08 -07:00
2019-10-11 15:39:56 -07:00
2019-11-19 10:12:14 -07:00
2019-09-14 16:01:28 -07:00
2019-03-07 09:28:04 -07:00
2017-06-26 04:10:47 -04:00
2019-10-30 10:34:40 -07:00
2017-06-26 04:10:47 -04:00
2019-03-19 15:02:40 -07:00
2017-06-26 04:11:12 -04:00
2017-06-26 04:11:12 -04:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2017-06-26 04:10:47 -04:00
2019-03-07 09:28:04 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2017-06-26 04:10:47 -04:00
2019-03-07 09:28:04 -07:00
2020-05-26 09:16:49 -07:00
2017-06-26 04:10:47 -04:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2020-05-26 09:16:49 -07:00
2019-07-16 15:41:34 -07:00
2020-05-26 09:16:49 -07:00
2017-06-26 04:10:47 -04:00
2019-03-07 09:28:04 -07:00
2020-05-26 09:16:49 -07:00
2017-11-30 11:13:21 -07:00
2020-03-06 13:45:59 -07:00