mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
x86: don't open-code REG_{SP,FP}
Since we have the #define-s, we should also use them.
This commit is contained in:
parent
64e215c15b
commit
788b11d9c6
@ -3285,8 +3285,8 @@ md_begin (void)
|
||||
#endif
|
||||
x86_cie_data_alignment = -8;
|
||||
#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)
|
||||
x86_sframe_cfa_sp_reg = 7;
|
||||
x86_sframe_cfa_fp_reg = 6;
|
||||
x86_sframe_cfa_sp_reg = REG_SP;
|
||||
x86_sframe_cfa_fp_reg = REG_FP;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user