objtool: Add wide output for disassembly

Add the --wide option to provide a wide output when disassembling.
With this option, the disassembly of alternatives is displayed
side-by-side instead of one above the other.

Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://patch.msgid.link/20251121095340.464045-30-alexandre.chartre@oracle.com
This commit is contained in:
Alexandre Chartre
2025-11-21 10:53:39 +01:00
committed by Peter Zijlstra
parent 07d70b271a
commit aff95e0d4e
3 changed files with 96 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ struct opts {
const char *trace;
bool verbose;
bool werror;
bool wide;
};
extern struct opts opts;