[PPC] Fix 32-bit build of libunwind
authorMartin Storsjo <martin@martin.st>
Thu, 16 May 2019 06:49:20 +0000 (06:49 +0000)
committerMartin Storsjo <martin@martin.st>
Thu, 16 May 2019 06:49:20 +0000 (06:49 +0000)
commit905af40cc6ce0d246e42bf7db456d8ca944caaf6
tree142e3aa4b9f8dded3abf4b8b013cd193369d0f57
parent44266b9e115ad172b1f6a88d15d4e7579812c0fc
[PPC] Fix 32-bit build of libunwind

Clang integrated assembler was unable to build libunwind PPC32 assembly code,
present in functions used to save/restore register context.

This change consists in replacing the assembly style used in libunwind source,
to one that is compatible with both Clang integrated assembler as well as
GNU assembler.

Patch by Leandro Lupori!

Differential Revision: https://reviews.llvm.org/D61792

llvm-svn: 360862
libunwind/src/UnwindRegistersRestore.S
libunwind/src/UnwindRegistersSave.S
libunwind/src/assembly.h