You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ext/opcache/jit/zend_jit_x86.dasc
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2910,15 +2910,15 @@ static int zend_jit_setup(void)
2910
2910
2911
2911
__asm__(
2912
2912
"leaq _tsrm_ls_cache@tlsgd(%%rip), %0\n"
2913
-
: "=a" (ti));
2913
+
: "=D" (ti));
2914
2914
tsrm_tls_offset = ti[1];
2915
2915
tsrm_tls_index = ti[0] * 8;
2916
2916
#elif defined(__FreeBSD__)
2917
2917
size_t *ti;
2918
2918
2919
2919
__asm__(
2920
2920
"leaq _tsrm_ls_cache@tlsgd(%%rip), %0\n"
2921
-
: "=a" (ti));
2921
+
: "=D" (ti));
2922
2922
tsrm_tls_offset = ti[1];
2923
2923
/* Index is offset by 1 on FreeBSD (https://github.com/freebsd/freebsd-src/blob/bf56e8b9c8639ac4447d223b83cdc128107cc3cd/libexec/rtld-elf/rtld.c#L5260) */
2924
2924
tsrm_tls_index = (ti[0] + 1) * 8;
@@ -2927,7 +2927,7 @@ static int zend_jit_setup(void)
0 commit comments