mirror of
https://github.com/libunwind/libunwind.git
synced 2026-01-12 00:04:03 +08:00
Fixed miscompilation of unw_getcontext() on ARM
This commit is contained in:
committed by
Stephen M. Webb
parent
d8766d3faf
commit
0be67323b2
@@ -288,7 +288,7 @@ unw_tdep_context_t;
|
||||
"mov r0, #0\n\t" \
|
||||
"stmia %[base]!, {r0-r15}\n\t" \
|
||||
VSTMIA \
|
||||
: [r0] "=r" (r0) : [base] "r" (unw_base) : "memory"); \
|
||||
: [r0] "=r" (r0), [base] "+r" (unw_base) : : "memory"); \
|
||||
(int)r0; })
|
||||
#else /* __thumb__ */
|
||||
#define unw_tdep_getcontext(uc) ({ \
|
||||
|
||||
Reference in New Issue
Block a user