PR29390, DW_CFA_AARCH64_negate_ra_state vs. DW_CFA_GNU_window_save
authorAlan Modra <amodra@gmail.com>
Thu, 21 Jul 2022 06:58:50 +0000 (16:28 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 21 Jul 2022 07:07:06 +0000 (16:37 +0930)
commite4e340a3ff2ccc825f4a40abf947cdf32b3fdbbf
tree366c743d26db8a209b1b18ed16471ef04df0dd1d
parente82295b23d0e52b0dadffb8c0d0b99462cd20fa8
PR29390, DW_CFA_AARCH64_negate_ra_state vs. DW_CFA_GNU_window_save

PR 29390
binutils/
* dwarf.c (is_aarch64, DW_CFA_GNU_window_save_name): New.
(display_debug_frames): Use them.
(init_dwarf_regnames_aarch64): Set is_aarch64.
(init_dwarf_regnames_by_elf_machine_code): Clear is_aarch64.
(init_dwarf_regnames_by_bfd_arch_and_mach): Likewise.
gas/
* testsuite/gas/aarch64/pac_ab_key.d: Adjust expected output.
* testsuite/gas/aarch64/pac_negate_ra_state.d: Likewise.
binutils/dwarf.c
gas/testsuite/gas/aarch64/pac_ab_key.d
gas/testsuite/gas/aarch64/pac_negate_ra_state.d