objtool: Uniquely identify alternative instruction groups
authorAlexandre Chartre <alexandre.chartre@oracle.com>
Tue, 14 Apr 2020 10:36:11 +0000 (12:36 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 30 Apr 2020 18:14:31 +0000 (20:14 +0200)
commit13fab06d9a3ad3afdfd51c7f8f87f2ae28444648
treeec89f682c874c7bdda02ac118adad22ea4a1caee
parent9e98d62aa7ea1375052895650f3e6d362336c5c9
objtool: Uniquely identify alternative instruction groups

Assign a unique identifier to every alternative instruction group in
order to be able to tell which instructions belong to what
alternative.

[peterz: extracted from a larger patch]
Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
tools/objtool/check.c
tools/objtool/check.h