File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ PHP NEWS
19
19
. Fixed bug GH-19486 (Incorrect opline after deoptimization). (Arnaud)
20
20
. Fixed bug GH-19601 (Wrong JIT stack setup on aarch64/clang). (Arnaud)
21
21
. Fixed bug GH-19388 (Broken opcache.huge_code_pages). (Arnaud)
22
+ . Fixed bug GH-19657 (Build fails on non-glibc/musl/freebsd/macos/win
23
+ platforms). (Arnaud)
22
24
23
25
- PCRE:
24
26
. Upgraded to pcre2lib from 10.45 to 10.46. (nielsdos)
Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ void *zend_jit_tsrm_ls_cache_address(
238
238
size_t module_index ,
239
239
size_t module_offset
240
240
) {
241
+ #ifndef USE_FALLBACK
241
242
char * thread_pointer ;
242
243
__asm__ __volatile__(
243
244
"mrs %0, tpidr_el0\n"
@@ -251,5 +252,6 @@ void *zend_jit_tsrm_ls_cache_address(
251
252
dtv_pointer_t * dtv = * (dtv_pointer_t * * )((uintptr_t )thread_pointer + DTV_OFFSET );
252
253
return (void * )(((dtv_pointer_t * )((char * )dtv + module_index ))-> val + module_offset );
253
254
}
255
+ #endif
254
256
return NULL ;
255
257
}
Original file line number Diff line number Diff line change @@ -222,6 +222,7 @@ void *zend_jit_tsrm_ls_cache_address(
222
222
size_t module_index ,
223
223
size_t module_offset
224
224
) {
225
+ #ifndef USE_FALLBACK
225
226
char * thread_pointer ;
226
227
__asm__ __volatile__(
227
228
"movl %%gs:0, %0\n"
@@ -235,5 +236,6 @@ void *zend_jit_tsrm_ls_cache_address(
235
236
dtv_pointer_t * dtv = * (dtv_pointer_t * * )((uintptr_t )thread_pointer + DTV_OFFSET );
236
237
return (void * )(((dtv_pointer_t * )((char * )dtv + module_index ))-> val + module_offset );
237
238
}
239
+ #endif
238
240
return NULL ;
239
241
}
Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ void *zend_jit_tsrm_ls_cache_address(
205
205
size_t module_index ,
206
206
size_t module_offset
207
207
) {
208
+ #ifndef USE_FALLBACK
208
209
char * thread_pointer ;
209
210
__asm__ __volatile__(
210
211
"movq %%fs:0, %0\n"
@@ -218,5 +219,6 @@ void *zend_jit_tsrm_ls_cache_address(
218
219
dtv_pointer_t * dtv = * (dtv_pointer_t * * )((uintptr_t )thread_pointer + DTV_OFFSET );
219
220
return (void * )(((dtv_pointer_t * )((char * )dtv + module_index ))-> val + module_offset );
220
221
}
222
+ #endif
221
223
return NULL ;
222
224
}
You can’t perform that action at this time.
0 commit comments