]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: Validate SFrame RA tracking and fixed RA offset
authorJens Remus <jremus@linux.ibm.com>
Thu, 4 Jul 2024 08:34:12 +0000 (10:34 +0200)
committerJens Remus <jremus@linux.ibm.com>
Thu, 4 Jul 2024 08:34:12 +0000 (10:34 +0200)
commit68e549ee5497d90a7921b4c676789b55f91ba08b
treef057fa9f58541078a4f40ac69c9a31cfb73c0c12
parentcd1fab1330da92e755ca6336a33f27441e693a8d
gas: Validate SFrame RA tracking and fixed RA offset

Verify all architectures participating in SFrame generation do define
the mandatory SFrame return address (RA) tracking predicate function
sframe_ra_tracking_p. Do so by explicitly not testing for the macro
SFRAME_FRE_RA_TRACKING as otherwise required.

Verify that architectures not using SFrame RA tracking specify a valid
fixed RA offset.

gas/
* gen-sframe.c (output_sframe_internal): Validate SFrame
RA tracking and fixed RA offset.

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