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 8.0.5
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 54
54
# define ZEND_VM_FP_GLOBAL_REG "%r14"
55
55
# define ZEND_VM_IP_GLOBAL_REG "%r15"
56
56
# elif defined(__GNUC__ ) && ZEND_GCC_VERSION >= 4008 && 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(__IBMC__ ) && ZEND_GCC_VERSION >= 4002 && defined(__powerpc64__ )
60
- # define ZEND_VM_FP_GLOBAL_REG "r28 "
61
- # define ZEND_VM_IP_GLOBAL_REG "r29 "
60
+ # define ZEND_VM_FP_GLOBAL_REG "r14 "
61
+ # define ZEND_VM_IP_GLOBAL_REG "r15 "
62
62
# elif defined(__GNUC__ ) && ZEND_GCC_VERSION >= 4008 && defined(__aarch64__ )
63
63
# define ZEND_VM_FP_GLOBAL_REG "x27"
64
64
# define ZEND_VM_IP_GLOBAL_REG "x28"
You can’t perform that action at this time.
0 commit comments