| From | Josh Poimboeuf <> | Subject | [PATCH 12/13] objtool: Add support for new .pv_altinstructions section | Date | Wed, 4 Oct 2017 10:58:33 -0500 |
| |
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> --- tools/objtool/special.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/tools/objtool/special.c b/tools/objtool/special.c index 84f001d52322..dc15a3564fc9 100644 --- a/tools/objtool/special.c +++ b/tools/objtool/special.c @@ -63,6 +63,16 @@ struct special_entry entries[] = { .feature = ALT_FEATURE_OFFSET, }, { + .sec = ".pv_altinstructions", + .group = true, + .size = ALT_ENTRY_SIZE, + .orig = ALT_ORIG_OFFSET, + .orig_len = ALT_ORIG_LEN_OFFSET, + .new = ALT_NEW_OFFSET, + .new_len = ALT_NEW_LEN_OFFSET, + .feature = ALT_FEATURE_OFFSET, + }, + { .sec = "__jump_table", .jump_or_nop = true, .size = JUMP_ENTRY_SIZE, -- 2.13.6
|