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

objtool,x86: Renumber CFI_reg

Make them match the instruction encoding numbering.
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Acked-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
Tested-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Link: https://lkml.kernel.org/r/20210211173627.033720313@infradead.org
parent d54dba41
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
#define _OBJTOOL_CFI_REGS_H #define _OBJTOOL_CFI_REGS_H
#define CFI_AX 0 #define CFI_AX 0
#define CFI_DX 1 #define CFI_CX 1
#define CFI_CX 2 #define CFI_DX 2
#define CFI_BX 3 #define CFI_BX 3
#define CFI_SI 4 #define CFI_SP 4
#define CFI_DI 5 #define CFI_BP 5
#define CFI_BP 6 #define CFI_SI 6
#define CFI_SP 7 #define CFI_DI 7
#define CFI_R8 8 #define CFI_R8 8
#define CFI_R9 9 #define CFI_R9 9
#define CFI_R10 10 #define CFI_R10 10
......
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