summaryrefslogtreecommitdiffstats
path: root/scons/custom.py
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-08-09 13:25:56 +1000
committerDave Airlie <[email protected]>2019-08-16 09:00:35 +1000
commitf3af7886fe46706df9d21deb1ccb5de3d04a5507 (patch)
treea42a5e2bb6972438ba1187b7638bec5d8e51ac37 /scons/custom.py
parent78eda70892ebaa03e2c1d87cceb386828a1ce64b (diff)
mesa: add support for CET to x86/x86-64 asm files.
Control-flow enforcement technology is a new instructions on x86 processors to denote where indirect jumps can land. Gcc auto adds the instruction (which encodes as a NOP on older CPUs) to entrypoints but assembler files need manual adding. This adds it to all the entry points in the mesa x86/x86-64 assembler files. This will only happen if mesa is built with the -fcf-protection flag to gcc as some distros are wanting to do. Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'scons/custom.py')
0 files changed, 0 insertions, 0 deletions