Commit a3608f59 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar

objtool: Rename struct cfi_state

There's going to be a new struct cfi_state, rename this one to make
place.
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarMiroslav Benes <mbenes@suse.cz>
Reviewed-by: default avatarAlexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20200416115118.986441913@infradead.orgSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent c536ed2f
...@@ -70,7 +70,7 @@ struct stack_op { ...@@ -70,7 +70,7 @@ struct stack_op {
struct instruction; 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, int arch_decode_instruction(struct elf *elf, struct section *sec,
unsigned long offset, unsigned int maxlen, unsigned long offset, unsigned int maxlen,
......
...@@ -512,7 +512,7 @@ int arch_decode_instruction(struct elf *elf, struct section *sec, ...@@ -512,7 +512,7 @@ int arch_decode_instruction(struct elf *elf, struct section *sec,
return 0; 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; int i;
......
...@@ -18,7 +18,7 @@ struct cfi_reg { ...@@ -18,7 +18,7 @@ struct cfi_reg {
int offset; int offset;
}; };
struct cfi_state { struct cfi_init_state {
struct cfi_reg cfa; struct cfi_reg cfa;
struct cfi_reg regs[CFI_NUM_REGS]; struct cfi_reg regs[CFI_NUM_REGS];
}; };
......
...@@ -27,7 +27,7 @@ struct alternative { ...@@ -27,7 +27,7 @@ struct alternative {
}; };
const char *objname; 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 instruction *find_insn(struct objtool_file *file,
struct section *sec, unsigned long offset) struct section *sec, unsigned long offset)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment