aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/clk.py
diff options
context:
space:
mode:
authorSami Tolvanen <[email protected]>2020-04-27 09:00:11 -0700
committerWill Deacon <[email protected]>2020-05-15 16:35:49 +0100
commitda64e9d1f8c3dad6898dac6edb39a68d3aa9ce93 (patch)
treedf04377d65e9c322df4a1fd0824ca27457427e99 /scripts/gdb/linux/clk.py
parentddc9863e9e9025e2fc0c8dba31cc060cd626606f (diff)
arm64: Reserve register x18 from general allocation with SCS
Reserve the x18 register from general allocation when SCS is enabled, because the compiler uses the register to store the current task's shadow stack pointer. Note that all external kernel modules must also be compiled with -ffixed-x18 if the kernel has SCS enabled. Signed-off-by: Sami Tolvanen <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Reviewed-by: Kees Cook <[email protected]> Acked-by: Will Deacon <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions