File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ PHP NEWS
32
32
. Fix memory leak in intl_datetime_decompose() on failure. (nielsdos)
33
33
. Fix memory leak in locale lookup on failure. (nielsdos)
34
34
35
+ - Opcache:
36
+ . Fixed bug GH-18743 (Incompatibility in Inline TLS Assembly on Alpine 3.22).
37
+ (nielsdos, Arnaud)
38
+
35
39
- ODBC:
36
40
. Fix memory leak on php_odbc_fetch_hash() failure. (nielsdos)
37
41
Original file line number Diff line number Diff line change @@ -3458,15 +3458,15 @@ static void zend_jit_setup(bool reattached)
3458
3458
3459
3459
__asm__(
3460
3460
"leaq _tsrm_ls_cache@tlsgd(%%rip), %0\n"
3461
- : "=a " (ti));
3461
+ : "=D " (ti));
3462
3462
tsrm_tls_offset = ti[1];
3463
3463
tsrm_tls_index = ti[0] * 8;
3464
3464
#elif defined(__FreeBSD__)
3465
3465
size_t *ti;
3466
3466
3467
3467
__asm__(
3468
3468
"leaq _tsrm_ls_cache@tlsgd(%%rip), %0\n"
3469
- : "=a " (ti));
3469
+ : "=D " (ti));
3470
3470
tsrm_tls_offset = ti[1];
3471
3471
/* Index is offset by 1 on FreeBSD (https://github.com/freebsd/freebsd-src/blob/bf56e8b9c8639ac4447d223b83cdc128107cc3cd/libexec/rtld-elf/rtld.c#L5260) */
3472
3472
tsrm_tls_index = (ti[0] + 1) * 8;
@@ -3475,7 +3475,7 @@ static void zend_jit_setup(bool reattached)
3475
3475
3476
3476
__asm__(
3477
3477
"leaq _tsrm_ls_cache@tlsgd(%%rip), %0\n"
3478
- : "=a " (ti));
3478
+ : "=D " (ti));
3479
3479
tsrm_tls_offset = ti[1];
3480
3480
tsrm_tls_index = ti[0] * 16;
3481
3481
#endif
You can’t perform that action at this time.
0 commit comments