objtool: Rename struct cfi_state
authorPeter Zijlstra <peterz@infradead.org>
Wed, 25 Mar 2020 14:34:50 +0000 (15:34 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 22 Apr 2020 08:53:50 +0000 (10:53 +0200)
There's going to be a new struct cfi_state, rename this one to make
place.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20200416115118.986441913@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/objtool/arch.h
tools/objtool/arch/x86/decode.c
tools/objtool/cfi.h
tools/objtool/check.c

index 55396dfe0d07b5c78d9f21c97174af73fa947531..561c3162d177e95ec19d11bd9eec0e1c121b51fb 100644 (file)
@@ -70,7 +70,7 @@ struct stack_op {
 
 struct instruction;
 
-void arch_initial_func_cfi_state(struct cfi_state *state);
+void arch_initial_func_cfi_state(struct cfi_init_state *state);
 
 int arch_decode_instruction(struct elf *elf, struct section *sec,
                            unsigned long offset, unsigned int maxlen,
index 32736383ead116209ebe6183b351e98a161594b9..f0d42ad7d5fffe1502a7c1eef6252d6a973ad35a 100644 (file)
@@ -512,7 +512,7 @@ int arch_decode_instruction(struct elf *elf, struct section *sec,
        return 0;
 }
 
-void arch_initial_func_cfi_state(struct cfi_state *state)
+void arch_initial_func_cfi_state(struct cfi_init_state *state)
 {
        int i;
 
index 1a3e7b8079940b33c7c27c95d0d42ee3384b3fd7..6faf97666d6be547b582e98626bcac7e7a912991 100644 (file)
@@ -18,7 +18,7 @@ struct cfi_reg {
        int offset;
 };
 
-struct cfi_state {
+struct cfi_init_state {
        struct cfi_reg cfa;
        struct cfi_reg regs[CFI_NUM_REGS];
 };
index 464f10c0a5ac43236833818945268ff981df1771..538b462fe7ea9a2a641f1ff72088d18364a1a01b 100644 (file)
@@ -27,7 +27,7 @@ struct alternative {
 };
 
 const char *objname;
-struct cfi_state initial_func_cfi;
+struct cfi_init_state initial_func_cfi;
 
 struct instruction *find_insn(struct objtool_file *file,
                              struct section *sec, unsigned long offset)