projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9c3310
)
[libunwind] Further fix for 32-bit PowerPC processors without AltiVec
author
George Koehler
<kernigh@gmail.com>
Mon, 21 Feb 2022 20:15:53 +0000
(15:15 -0500)
committer
Brad Smith
<brad@comstyle.com>
Mon, 21 Feb 2022 20:31:23 +0000
(15:31 -0500)
https://reviews.llvm.org/D91906 did most of the work necessary to fix libunwind on
32-bit PowerPC processors without AltiVec, but there was one more piece necessary.
Reviewed By: luporl
Differential Revision: https://reviews.llvm.org/D120197
libunwind/src/UnwindRegistersSave.S
patch
|
blob
|
history
diff --git
a/libunwind/src/UnwindRegistersSave.S
b/libunwind/src/UnwindRegistersSave.S
index
9566bb0
..
b394892
100644
(file)
--- a/
libunwind/src/UnwindRegistersSave.S
+++ b/
libunwind/src/UnwindRegistersSave.S
@@
-603,9
+603,11
@@
DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext)
stw 30,128(3)
stw 31,132(3)
+#if defined(__ALTIVEC__)
// save VRSave register
mfspr 0, 256
stw 0, 156(3)
+#endif
// save CR registers
mfcr 0
stw 0, 136(3)