diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/gen-sframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/gen-sframe.c b/gas/gen-sframe.c index 2222d76..31f2e51 100644 --- a/gas/gen-sframe.c +++ b/gas/gen-sframe.c @@ -1158,7 +1158,7 @@ sframe_xlate_do_register (struct sframe_xlate_ctx *xlate_ctx ATTRIBUTE_UNUSED, stack trace information. */ if (cfi_insn->u.rr.reg1 == SFRAME_CFA_SP_REG #ifdef SFRAME_FRE_RA_TRACKING - || (cfi_insn->u.rr.reg1 == SFRAME_CFA_RA_REG) + || (sframe_ra_tracking_p () && cfi_insn->u.rr.reg1 == SFRAME_CFA_RA_REG) #endif || cfi_insn->u.rr.reg1 == SFRAME_CFA_FP_REG) { |