ntdll/tests: Avoid referencing a global variable from inline asm.
It breaks on old gccs. Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6a0d678abb
commit
bf3ef684e2
|
@ -9068,7 +9068,7 @@ static DWORD test_extended_context_handler(EXCEPTION_RECORD *rec, EXCEPTION_REGI
|
||||||
|
|
||||||
done:
|
done:
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
__asm__ volatile("vmovups %0,%%ymm0" : : "m"(test_extended_context_spoil_data2));
|
__asm__ volatile("vmovups (%0),%%ymm0" : : "r"(test_extended_context_spoil_data2));
|
||||||
#endif
|
#endif
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
++context->Rip;
|
++context->Rip;
|
||||||
|
|
Loading…
Reference in New Issue