Re: [PATCH 09/13] objtool: Add --output option
From: Miroslav Benes
Date: Mon Mar 17 2025 - 08:49:42 EST
On Fri, 14 Mar 2025, Josh Poimboeuf wrote:
> Add option to allow writing the changed binary to a separate file rather
> than changing it in place.
>
> Libelf makes this suprisingly hard, so take the easy way out and just
> copy the file before editing it.
>
> Also steal the -o short option from --orc. Nobody will notice ;-)
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>
M