From 1006de1bd6db7a02ce00f2b1bc5376c169498b08 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Wed, 28 Oct 2020 15:49:47 +0000 Subject: Fix [https://github.com/msys2/MINGW-packages/issues/6931|python: investigate build crash when building with high-entropy-va] --- win/tkWin32Dll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/tkWin32Dll.c b/win/tkWin32Dll.c index 88b0507..8cfddee 100644 --- a/win/tkWin32Dll.c +++ b/win/tkWin32Dll.c @@ -134,7 +134,7 @@ DllMain( "leaq %[registration], %%rdx" "\n\t" "movq %%gs:0, %%rax" "\n\t" "movq %%rax, 0x0(%%rdx)" "\n\t" /* link */ - "leaq 1f, %%rax" "\n\t" + "leaq 1f(%%rip), %%rax" "\n\t" "movq %%rax, 0x8(%%rdx)" "\n\t" /* handler */ "movq %%rbp, 0x10(%%rdx)" "\n\t" /* rbp */ "movq %%rsp, 0x18(%%rdx)" "\n\t" /* rsp */ -- cgit v0.12