@@ -212,7 +212,7 @@ no_unhandled_cfa (rtx_insn *insn)
case REG_CFA_SET_VDRAP:
case REG_CFA_WINDOW_SAVE:
case REG_CFA_FLUSH_QUEUE:
- case REG_CFA_TOGGLE_RA_MANGLE:
+ case REG_CFA_NEGATE_RA_STATE:
return false;
}
@@ -9612,7 +9612,7 @@ aarch64_expand_prologue (void)
default:
gcc_unreachable ();
}
- add_reg_note (insn, REG_CFA_TOGGLE_RA_MANGLE, const0_rtx);
+ add_reg_note (insn, REG_CFA_NEGATE_RA_STATE, const0_rtx);
RTX_FRAME_RELATED_P (insn) = 1;
}
@@ -10033,7 +10033,7 @@ aarch64_expand_epilogue (rtx_call_insn *sibcall)
default:
gcc_unreachable ();
}
- add_reg_note (insn, REG_CFA_TOGGLE_RA_MANGLE, const0_rtx);
+ add_reg_note (insn, REG_CFA_NEGATE_RA_STATE, const0_rtx);
RTX_FRAME_RELATED_P (insn) = 1;
}
@@ -1547,13 +1547,13 @@ dwarf2out_frame_debug_cfa_window_save (void)
cur_row->window_save = true;
}
-/* A subroutine of dwarf2out_frame_debug, process a REG_CFA_TOGGLE_RA_MANGLE.
+/* A subroutine of dwarf2out_frame_debug, process a REG_CFA_NEGATE_RA_STATE.
Note: DW_CFA_GNU_window_save dwarf opcode is reused for toggling RA mangle
state, this is a target specific operation on AArch64 and can only be used
on other targets if they don't use the window save operation otherwise. */
static void
-dwarf2out_frame_debug_cfa_toggle_ra_mangle (void)
+dwarf2out_frame_debug_cfa_negate_ra_state (void)
{
dw_cfi_ref cfi = new_cfi ();
@@ -2341,8 +2341,8 @@ dwarf2out_frame_debug (rtx_insn *insn)
handled_one = true;
break;
- case REG_CFA_TOGGLE_RA_MANGLE:
- dwarf2out_frame_debug_cfa_toggle_ra_mangle ();
+ case REG_CFA_NEGATE_RA_STATE:
+ dwarf2out_frame_debug_cfa_negate_ra_state ();
handled_one = true;
break;
@@ -180,10 +180,10 @@ REG_CFA_NOTE (CFA_WINDOW_SAVE)
the rest of the compiler as a CALL_INSN. */
REG_CFA_NOTE (CFA_FLUSH_QUEUE)
-/* Attached to insns that are RTX_FRAME_RELATED_P, toggling the mangling status
- of return address. Currently it's only used by AArch64. The argument is
- ignored. */
-REG_CFA_NOTE (CFA_TOGGLE_RA_MANGLE)
+/* Attached to insns that are RTX_FRAME_RELATED_P, indicating an authentication
+ of the return address. Currently it's only used by AArch64.
+ The argument is ignored. */
+REG_CFA_NOTE (CFA_NEGATE_RA_STATE)
/* Indicates what exception region an INSN belongs in. This is used
to indicate what region to which a call may throw. REGION 0