[PATCH 2/4] gas: sframe: i386: have the backend specify the RA too

Claudiu Zissulescu-Ianculescu claudiu.zissulescu-ianculescu@oracle.com
Mon May 12 07:43:37 GMT 2025


Hi Indu,

> @@ -3656,6 +3657,7 @@ md_begin (void)
>  #ifdef OBJ_ELF
>        x86_sframe_cfa_sp_reg = REG_SP;
>        x86_sframe_cfa_fp_reg = REG_FP;
> +      x86_sframe_cfa_ra_reg = 16;

It will be better a define for register 16 like it is done for
REG_FP/REG_SP macros.

Best regards,
Claudiu


More information about the Binutils mailing list