We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67982fb commit c0b0e9eCopy full SHA for c0b0e9e
ext/opcache/jit/tls/zend_jit_tls_darwin.c
@@ -39,10 +39,10 @@ zend_result zend_jit_resolve_tsrm_ls_cache_offsets(
39
#if defined(__x86_64__)
40
size_t *ti;
41
__asm__ __volatile__(
42
- "leaq __tsrm_ls_cache(%%rip),%0"
+ "movq __tsrm_ls_cache@TLVP(%%rip), %0"
43
: "=r" (ti));
44
*module_offset = ti[2];
45
- *module_index = ti[1] * 8;
+ *module_index = ((size_t)(uint32_t)ti[1]) << 3;
46
47
return SUCCESS;
48
#endif
0 commit comments