diff options
author | Matthieu Longo <matthieu.longo@arm.com> | 2024-09-23 15:03:35 +0100 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2024-09-23 15:12:07 +0100 |
commit | ba3e597681b640f6f9a676ec4f6cd3ca3878cefc (patch) | |
tree | 561658a46303033d053851abbd386c4473420816 /gcc | |
parent | f531673917e4f80ad51eda0d806f0479c501a907 (diff) | |
download | gcc-ba3e597681b640f6f9a676ec4f6cd3ca3878cefc.zip gcc-ba3e597681b640f6f9a676ec4f6cd3ca3878cefc.tar.gz gcc-ba3e597681b640f6f9a676ec4f6cd3ca3878cefc.tar.bz2 |
aarch64: skip copy of RA state register into target context
The RA state register is local to a frame, so it should not be copied to
the target frame during the context installation.
This patch adds a new backend handler that check whether a register
needs to be skipped or not before its installation.
libgcc/ChangeLog:
* config/aarch64/aarch64-unwind.h
(MD_FRAME_LOCAL_REGISTER_P): new handler checking whether a register
from the current context needs to be skipped before installation into
the target context.
(aarch64_frame_local_register): Likewise.
* unwind-dw2.c (uw_install_context_1): use MD_FRAME_LOCAL_REGISTER_P.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions