aboutsummaryrefslogtreecommitdiff
path: root/gprofng/src
diff options
context:
space:
mode:
authorJens Remus <jremus@linux.ibm.com>2024-07-04 10:34:12 +0200
committerJens Remus <jremus@linux.ibm.com>2024-07-04 10:34:12 +0200
commitcd1fab1330da92e755ca6336a33f27441e693a8d (patch)
tree60add4bd392464feb16740703f8dab8f6995bc7c /gprofng/src
parent42e6e6904bd9f49231045b62e0d1eb6a8ac9d176 (diff)
downloadbinutils-cd1fab1330da92e755ca6336a33f27441e693a8d.zip
binutils-cd1fab1330da92e755ca6336a33f27441e693a8d.tar.gz
binutils-cd1fab1330da92e755ca6336a33f27441e693a8d.tar.bz2
gas: Test predicate whether SFrame RA tracking is used
The existence of the macro SFRAME_FRE_RA_TRACKING only ensures the existence of the macro SFRAME_CFA_RA_REG and the predicate function sframe_ra_tracking_p. It does not indicate whether SFrame RA tracking is actually used. Test the return value of the SFrame RA tracking predicate function sframe_ra_tracking_p to determine whether RA tracking is used. This aligns the logic in functions get_fre_num_offsets and output_sframe_row_entry to the one used in all other places. gas/ * gen-sframe.c (get_fre_num_offsets, output_sframe_row_entry): Test predicate to determine whether SFrame RA tracking is used. Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Diffstat (limited to 'gprofng/src')
0 files changed, 0 insertions, 0 deletions