aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>2025-04-15 12:20:40 +0300
committerIndu Bhagat <indu.bhagat@oracle.com>2025-04-24 08:27:16 -0700
commit3602da6fa285d6b22d87bcc39056e919e939ef07 (patch)
tree1431b703b9f38a4dd06e9a6d083197ff727e25cd /libctf
parent8c8e5b1f1abfbce913783da0f1cd1f85c60bd445 (diff)
downloadbinutils-3602da6fa285d6b22d87bcc39056e919e939ef07.zip
binutils-3602da6fa285d6b22d87bcc39056e919e939ef07.tar.gz
binutils-3602da6fa285d6b22d87bcc39056e919e939ef07.tar.bz2
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-ianculescu@oracle.com> Signed-off-by: Indu Bhagat <indu.bhagat@oracle.com>
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions