diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-10-27 11:28:13 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-11-01 13:44:10 +0100 |
commit | 9a479f766be1dd777e12e3e57b6ee4c3028a40a5 (patch) | |
tree | 5906547109c045bc9b590755b9c1ecd1218769e2 /tools/objtool/include | |
parent | b341b20d648bb7e9a3307c33163e7399f0913e66 (diff) | |
download | linux-stable-9a479f766be1dd777e12e3e57b6ee4c3028a40a5.tar.gz linux-stable-9a479f766be1dd777e12e3e57b6ee4c3028a40a5.tar.bz2 linux-stable-9a479f766be1dd777e12e3e57b6ee4c3028a40a5.zip |
objtool: Add --cfi to generate the .cfi_sites section
Add the location of all __cfi_##name symbols (as generated by kCFI) to
a section such that we might re-write things at kernel boot.
Notably; boot time re-hashing and FineIBT are the intended use of
this.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221027092842.568039454@infradead.org
Diffstat (limited to 'tools/objtool/include')
-rw-r--r-- | tools/objtool/include/objtool/builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/objtool/include/objtool/builtin.h b/tools/objtool/include/objtool/builtin.h index f341b620dead..c44ff39df80c 100644 --- a/tools/objtool/include/objtool/builtin.h +++ b/tools/objtool/include/objtool/builtin.h @@ -27,6 +27,7 @@ struct opts { bool static_call; bool uaccess; int prefix; + bool cfi; /* options: */ bool backtrace; |