objtool: Split out arch-specific CFI definitions
authorJulien Thierry <jthierry@redhat.com>
Fri, 27 Mar 2020 15:28:46 +0000 (15:28 +0000)
committerIngo Molnar <mingo@kernel.org>
Wed, 22 Apr 2020 08:53:49 +0000 (10:53 +0200)
commit6f8ca67683962d408c7a337664212669bd3e8355
tree503ab5c9435f1b12293ce45555ec2986a6270ecd
parentbfb08f220312a4634532114eb3e7062f17dfb707
objtool: Split out arch-specific CFI definitions

Some CFI definitions used by generic objtool code have no reason to vary
from one architecture to another.  Keep those definitions in generic
code and move the arch-specific ones to a new arch-specific header.

Signed-off-by: Julien Thierry <jthierry@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/objtool/Makefile
tools/objtool/arch/x86/include/cfi_regs.h [new file with mode: 0644]
tools/objtool/cfi.h