diff options
author | Sathvika Vasireddy <sv@linux.ibm.com> | 2022-11-14 23:27:50 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-11-18 19:00:16 +1100 |
commit | de6fbcedf5abce4c321eeb15d7d286b79804b8b6 (patch) | |
tree | ba070be03befad24b1fd7bb14285a43443f4bd58 /tools/objtool/arch | |
parent | 280981d6994e0700abd36647b141e73059851e66 (diff) |
objtool: Read special sections with alts only when specific options are selected
Call add_special_section_alts() only when stackval or orc or uaccess or
noinstr options are passed to objtool.
Tested-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Sathvika Vasireddy <sv@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221114175754.1131267-13-sv@linux.ibm.com
Diffstat (limited to 'tools/objtool/arch')
0 files changed, 0 insertions, 0 deletions