[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 12/13] objtool: Add support for new .pv_altinstructions section



Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
---
 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.