diff options
author | Alan Modra <amodra@gmail.com> | 2022-07-21 16:28:50 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-07-21 16:37:06 +0930 |
commit | e4e340a3ff2ccc825f4a40abf947cdf32b3fdbbf (patch) | |
tree | 366c743d26db8a209b1b18ed16471ef04df0dd1d /gas | |
parent | e82295b23d0e52b0dadffb8c0d0b99462cd20fa8 (diff) | |
download | gdb-e4e340a3ff2ccc825f4a40abf947cdf32b3fdbbf.zip gdb-e4e340a3ff2ccc825f4a40abf947cdf32b3fdbbf.tar.gz gdb-e4e340a3ff2ccc825f4a40abf947cdf32b3fdbbf.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/gas/aarch64/pac_ab_key.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/pac_negate_ra_state.d | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gas/testsuite/gas/aarch64/pac_ab_key.d b/gas/testsuite/gas/aarch64/pac_ab_key.d index ea9cf2f..5e7496a 100644 --- a/gas/testsuite/gas/aarch64/pac_ab_key.d +++ b/gas/testsuite/gas/aarch64/pac_ab_key.d @@ -18,7 +18,7 @@ Contents of the .eh_frame section: 0+14 0+18 0+18 FDE cie=0+ pc=0+\.\.0+8 DW_CFA_advance_loc: 4 to 0+4 - DW_CFA_GNU_window_save + DW_CFA_AARCH64_negate_ra_state DW_CFA_advance_loc: 4 to 0+8 DW_CFA_def_cfa_offset: 16 DW_CFA_offset: r29 \(x29\) at cfa-16 @@ -40,7 +40,7 @@ Contents of the .eh_frame section: 0+48 0+1(c|8) 0+1c FDE cie=0+30 pc=0+8\.\.0+10 DW_CFA_advance_loc: 4 to 0+c - DW_CFA_GNU_window_save + DW_CFA_AARCH64_negate_ra_state DW_CFA_advance_loc: 4 to 0+10 DW_CFA_def_cfa_offset: 16 DW_CFA_offset: r29 \(x29\) at cfa-16 diff --git a/gas/testsuite/gas/aarch64/pac_negate_ra_state.d b/gas/testsuite/gas/aarch64/pac_negate_ra_state.d index cef533a..6271776 100644 --- a/gas/testsuite/gas/aarch64/pac_negate_ra_state.d +++ b/gas/testsuite/gas/aarch64/pac_negate_ra_state.d @@ -15,7 +15,7 @@ Contents of the .eh_frame section: 0+14 0+18 0+18 FDE cie=0+ pc=0+\.\.0+8 DW_CFA_advance_loc: 4 to 0+4 - DW_CFA_GNU_window_save + DW_CFA_AARCH64_negate_ra_state DW_CFA_advance_loc: 4 to 0+8 DW_CFA_def_cfa_offset: 16 DW_CFA_offset: r29 \(x29\) at cfa-16 |