]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: sframe: Use appropriate struct cfi_insn_data union members
authorJens Remus <jremus@linux.ibm.com>
Tue, 4 Feb 2025 14:13:24 +0000 (15:13 +0100)
committerJens Remus <jremus@linux.ibm.com>
Tue, 4 Feb 2025 14:13:24 +0000 (15:13 +0100)
commit0e9555a011e8c5309efcc85b1a01a01496e2bbe3
tree201a62544da4f6833ce33df1b863b3969da272c4
parent13dad2fefb26f1972145084d58d013f12d98c5d0
gas: sframe: Use appropriate struct cfi_insn_data union members

Use the appropriate struct cfi_insn_data union members to access
fields when generating SFrame information from CFI directives.

gas/
* gen-sframe.c (sframe_xlate_do_def_cfa, sframe_xlate_do_offset,
sframe_xlate_do_val_offset): Access ri fields, as .cfi_def_cfa,
.cfi_offset, and .cfi_val_offset define a register and offset
value.
* (sframe_xlate_do_def_cfa_register): Access r field, as
.cfi_def_cfa_register defines a register.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
gas/gen-sframe.c