Re: [tip: objtool/core] objtool: Make handle_insn_ops() unconditional
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip: objtool/core] objtool: Make handle_insn_ops() unconditional
- From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
- Date: Thu, 7 May 2020 14:38:52 +0200
- Cc: linux-tip-commits@xxxxxxxxxxxxxxx, Julien Thierry <jthierry@xxxxxxxxxx>, Miroslav Benes <mbenes@xxxxxxx>, Josh Poimboeuf <jpoimboe@xxxxxxxxxx>, x86 <x86@xxxxxxxxxx>
- In-reply-to: <158835734130.8414.1839500420306776239.tip-bot2@tip-bot2>
- References: <20200428191659.795115188@infradead.org> <158835734130.8414.1839500420306776239.tip-bot2@tip-bot2>
On Fri, May 01, 2020 at 06:22:21PM -0000, tip-bot2 for Peter Zijlstra wrote:
> diff --git a/tools/objtool/check.c b/tools/objtool/check.c
> index 068897d..6591c2d 100644
> --- a/tools/objtool/check.c
> +++ b/tools/objtool/check.c
> @@ -2259,6 +2259,9 @@ static int validate_branch(struct objtool_file *file, struct symbol *func,
> return 0;
> }
>
> + if (handle_insn_ops(insn, &state))
> + return 1;
> +
> switch (insn->type) {
>
> case INSN_RETURN:
Fun question; when an instruction has both a hint and ops, who should
win? I'm currently in that situation and I'd like the hint to win, but
is that 'right' ?
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]