binutils-gdb/libsframe/testsuite/libsframe.decode
Indu Bhagat 4edeb9be08 include: libsframe: rename SFrame V3 Flexible FDE macros to CTRLWORD
The existing SFrame V3 macros for Flexible FDEs used the term 'OFFSET'
to refer to the data word encoding control/register data word. This can
be confusing, as the control data word (register ID, dereference flags)
is distinct from a stack offset.

This patch renames these macros to use 'CTRLWORD' to better reflect
their purpose. It also updates the assembler and libsframe dumper to
use the new nomenclature.

No functional change.

Reviewed-by: Jens Remus <jremus@linux.ibm.com>

gas/
	* gen-sframe.c (sframe_get_fre_dataword_size): Use
	SFRAME_V3_FLEX_FDE_CTRLWORD_ENCODE.
	(output_sframe_row_entry_datawords): Likewise.
include/
	* sframe.h (SFRAME_V3_FLEX_FDE_REG_ENCODE): Rename from ..
	(SFRAME_V3_FLEX_FDE_CTRLWORD_ENCODE): .. to.
	(SFRAME_V3_FLEX_FDE_CTRLWORD_REGNUM): Rename from
	SFRAME_V3_FLEX_FDE_OFFSET_REG_NUM to this.
	(SFRAME_V3_FLEX_FDE_CTRLWORD_DEREF_P): Rename from
	SFRAME_V3_FLEX_FDE_OFFSET_REG_DEREF_P to this.
	(SFRAME_V3_FLEX_FDE_CTRLWORD_REG_P): Rename from
	SFRAME_V3_FLEX_FDE_OFFSET_REG_P to this.
	(SFRAME_V3_FRE_RA_UNDEFINED_P): Add new V3 macro.
libsframe/
	* sframe-dump.c (dump_sframe_func_fres_flex): Update all
	callers to use the new CTRLWORD macros.
libsframe/testsuite/
	* libsframe.decode/be-flipping-v3.c: Use renamed macros.
2026-01-29 20:02:57 -08:00
..
be-flipping-v3.c include: libsframe: rename SFrame V3 Flexible FDE macros to CTRLWORD 2026-01-29 20:02:57 -08:00
be-flipping.c Update year range in copyright notice of binutils files 2026-01-01 23:22:14 +10:30
DATA-BE sframe: bfd: gas: ld: format bump to SFrame version 2 2023-06-29 16:31:58 -07:00
DATA-BE-V3 [SFrame-V3] libsframe: testsuite: add new testcases for SFRAME_FDE_TYPE_FLEX 2026-01-15 17:02:28 -08:00
DATA-V2 [SFrame-V3] libsframe: testsuite: add a new test for SFrame V2 2026-01-15 17:02:23 -08:00
DATA1 sframe: bfd: gas: ld: format bump to SFrame version 2 2023-06-29 16:31:58 -07:00
DATA2 [SFrame-V3] include: gas: libsframe: split FDE into idx and attr 2026-01-15 17:02:27 -08:00
decode.exp [SFrame-V3] libsframe: testsuite: add new testcases for SFRAME_FDE_TYPE_FLEX 2026-01-15 17:02:28 -08:00
frecnt-1.c Update year range in copyright notice of binutils files 2026-01-01 23:22:14 +10:30
frecnt-2.c Update year range in copyright notice of binutils files 2026-01-01 23:22:14 +10:30
frecnt-v2.c [SFrame-V3] libsframe: testsuite: add a new test for SFrame V2 2026-01-15 17:02:23 -08:00
local.mk [SFrame-V3] libsframe: testsuite: add new testcases for SFRAME_FDE_TYPE_FLEX 2026-01-15 17:02:28 -08:00
README-be-flipping-v3 [SFrame-V3] libsframe: testsuite: add new testcases for SFRAME_FDE_TYPE_FLEX 2026-01-15 17:02:28 -08:00