File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ PHP NEWS
2
2
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
3
?? ??? 2021, PHP 7.4.18
4
4
5
+ - Core:
6
+ . Changed PowerPC CPU registers used by Zend VM to work around GCC bug.
7
+ Old registers (r28/r29) might be clobbered by _restgpr routine used for
8
+ return from C function compiled with -Os. (Dmitry)
9
+
5
10
- DOM:
6
11
. Fixed bug #66783 (UAF when appending DOMDocument to element). (cmb)
7
12
Original file line number Diff line number Diff line change 51
51
# define ZEND_VM_FP_GLOBAL_REG "%r14"
52
52
# define ZEND_VM_IP_GLOBAL_REG "%r15"
53
53
# elif defined(__GNUC__ ) && ZEND_GCC_VERSION >= 4008 && defined(__powerpc64__ )
54
- # define ZEND_VM_FP_GLOBAL_REG "r28 "
55
- # define ZEND_VM_IP_GLOBAL_REG "r29 "
54
+ # define ZEND_VM_FP_GLOBAL_REG "r14 "
55
+ # define ZEND_VM_IP_GLOBAL_REG "r15 "
56
56
# elif defined(__IBMC__ ) && ZEND_GCC_VERSION >= 4002 && defined(__powerpc64__ )
57
- # define ZEND_VM_FP_GLOBAL_REG "r28 "
58
- # define ZEND_VM_IP_GLOBAL_REG "r29 "
57
+ # define ZEND_VM_FP_GLOBAL_REG "r14 "
58
+ # define ZEND_VM_IP_GLOBAL_REG "r15 "
59
59
# elif defined(__GNUC__ ) && ZEND_GCC_VERSION >= 4008 && defined(__aarch64__ )
60
60
# define ZEND_VM_FP_GLOBAL_REG "x27"
61
61
# define ZEND_VM_IP_GLOBAL_REG "x28"
You can’t perform that action at this time.
0 commit comments