[ARM/Unwind] Fix wrong usage of write-back on register save

The register save routine in libunwind was using write-back addressing
mode to r0 for thumb, when that was not only different from the ARM
version and more importantly the register restore, but also saving the
wrong address.

Patch by Manuel Freiberger.

Fixes PR24331.

git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@244237 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed
tree: 50a15a5e684ce26bfd89fb72893cb3bd5b936f61
  1. cmake/
  2. include/
  3. src/
  4. test/
  5. .arcconfig
  6. .clang-format
  7. CMakeLists.txt