https://sourceware.org/bugzilla/show_bug.cgi?id=32879
--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Indu Bhagat <ibha...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3602da6fa285d6b22d87bcc39056e919e939ef07 commit 3602da6fa285d6b22d87bcc39056e919e939ef07 Author: Claudiu Zissulescu <claudiu.zissulescu-iancule...@oracle.com> Date: Tue Apr 15 12:20:40 2025 +0300 gas: sframe: fix handling of .cfi_def_cfa_register Fix PR gas/32879 sframe: Assembler internal error when translating cfi_def_cfa_register As per the documentation, .cfi_def_cfa_register modifies a rule for computing CFA; the register is updated, but the offset remains the same. While translating .cfi_def_cfa_register into SFrame context, we use the information from last translated FRE to set the CFA offset. However, there may be cases when the last translated FRE is empty. Use last FRE only if available. Signed-off-by: Claudiu Zissulescu <claudiu.zissulescu-iancule...@oracle.com> Signed-off-by: Indu Bhagat <indu.bha...@oracle.com> -- You are receiving this mail because: You are on the CC list for the bug.