objtool: Add 'alt_group' struct
authorJosh Poimboeuf <jpoimboe@redhat.com>
Fri, 18 Dec 2020 20:19:32 +0000 (14:19 -0600)
committerJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 14 Jan 2021 15:53:48 +0000 (09:53 -0600)
commitb23cc71c62747f2e4c3e56138872cf47e1294f8a
tree5c8b897f91385b546a6f7ab7115ac3d0a41e0801
parentab4e0744e99b87e1a223e89fc3c9ae44f727c9a6
objtool: Add 'alt_group' struct

Create a new struct associated with each group of alternatives
instructions.  This will help with the removal of fake jumps, and more
importantly with adding support for stack layout changes in
alternatives.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
tools/objtool/check.c
tools/objtool/include/objtool/check.h