]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
arm: Add unwind support for mixed register lists
authorVictor Do Nascimento <victor.donascimento@arm.com>
Wed, 18 May 2022 15:25:12 +0000 (16:25 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 18 May 2022 15:25:12 +0000 (16:25 +0100)
commit3363d8560ff5229b724827a77b533ec8b2a23729
treeb382bac127e4523e867f22a2e8fa9a95fdc9a65a
parent301fe55e9c44d03ebdfbd2b34c9b8570cc2f9f18
arm: Add unwind support for mixed register lists

* config/tc-arm.c (parse_reg_list): Add handling of mixed register
types.
(reg_names): Enumerate pseudoregister according to mapped physical
register number.
(s_arm_unwind_save_pseudo): Modify function signature.
(s_arm_unwind_save_core): Likewise.
(s_arm_unwind_save_mixed): New function.
(s_arm_unwind_save): Generate register list mask to pass to nested
functions.
* testsuite/gas/arm/unwind-pacbti-m.s: Expand test for mixed
  register type lists.
  * testsuite/gas/arm/unwind-pacbti-m.d: Likewise.
* testsuite/gas/arm/unwind-pacbti-m-readelf.d: Likewise.
gas/config/tc-arm.c
gas/testsuite/gas/arm/unwind-pacbti-m-readelf.d
gas/testsuite/gas/arm/unwind-pacbti-m.d
gas/testsuite/gas/arm/unwind-pacbti-m.s