objtool: Rename struct cfi_state
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>
This commit is contained in:
parent
c536ed2fff
commit
a3608f5954
@ -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,
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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];
|
||||
};
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user