diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-09-15 13:11:08 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-10-17 16:41:07 +0200 |
commit | 6644ee846cb983437063da8fd24b7cae671fd019 (patch) | |
tree | 50b0daea032de24114f31f76fdf4555d7b0e8f77 /tools/objtool/include | |
parent | 61c6065ef7ec0447a280179d04b2d81c80c2f479 (diff) | |
download | linux-stable-6644ee846cb983437063da8fd24b7cae671fd019.tar.gz linux-stable-6644ee846cb983437063da8fd24b7cae671fd019.tar.bz2 linux-stable-6644ee846cb983437063da8fd24b7cae671fd019.zip |
objtool: Track init section
For future usage of .init.text exclusion track the init section in the
instruction decoder and use the result in retpoline validation.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111145.910334431@infradead.org
Diffstat (limited to 'tools/objtool/include')
-rw-r--r-- | tools/objtool/include/objtool/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/include/objtool/elf.h b/tools/objtool/include/objtool/elf.h index 16f4067b82ae..baa808583c4f 100644 --- a/tools/objtool/include/objtool/elf.h +++ b/tools/objtool/include/objtool/elf.h @@ -38,7 +38,7 @@ struct section { Elf_Data *data; char *name; int idx; - bool changed, text, rodata, noinstr; + bool changed, text, rodata, noinstr, init; }; struct symbol { |