x86: don't open-code REG_{SP,FP}
Checks
Context |
Check |
Description |
linaro-tcwg-bot/tcwg_binutils_build--master-arm |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_binutils_check--master-arm |
success
|
Testing passed
|
Commit Message
Since we have the #define-s, we should also use them.
@@ -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