]> git.pld-linux.org Git - packages/php.git/blame - x32.patch
x32 upstreamed
[packages/php.git] / x32.patch
CommitLineData
7f8b5f31
ER
1https://github.com/php/php-src/pull/3665
2
ff24a478
JR
3--- php-7.3.0RC3/Zend/zend_string.c~ 2018-10-09 11:26:41.000000000 +0200
4+++ php-7.3.0RC3/Zend/zend_string.c 2018-10-24 22:05:01.639560148 +0200
5@@ -392,7 +392,7 @@
6 }
7 #endif
8
9-#elif defined(__GNUC__) && defined(__x86_64__)
10+#elif defined(__GNUC__) && defined(__x86_64__) && !defined(__ILP32__)
11 ZEND_API zend_bool ZEND_FASTCALL zend_string_equal_val(zend_string *s1, zend_string *s2)
12 {
13 char *ptr = ZSTR_VAL(s1);
86b12e82
ER
14--- php-7.3.0RC5/Zend/zend_string.h~ 2018-11-06 12:22:56.000000000 +0200
15+++ php-7.3.0RC5/Zend/zend_string.h 2018-11-12 13:32:37.350520375 +0200
ff24a478
JR
16@@ -294,7 +294,7 @@
17 }
18 }
19
20-#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
21+#if defined(__GNUC__) && (defined(__i386__) || (defined(__x86_64__) && !defined(__ILP32__)))
86b12e82 22 BEGIN_EXTERN_C()
ff24a478 23 ZEND_API zend_bool ZEND_FASTCALL zend_string_equal_val(zend_string *s1, zend_string *s2);
86b12e82 24 END_EXTERN_C()
ff24a478
JR
25--- php-7.3.0RC3/ext/opcache/zend_accelerator_util_funcs.c~ 2018-10-09 11:26:32.000000000 +0200
26+++ php-7.3.0RC3/ext/opcache/zend_accelerator_util_funcs.c 2018-10-24 22:15:44.849117508 +0200
27@@ -719,7 +719,7 @@
28 : "r"(delta)
29 : "cc", "memory", "%xmm0", "%xmm1", "%xmm1", "%xmm2");
30 }
31-# elif defined(__GNUC__) && defined(__x86_64__)
32+# elif defined(__GNUC__) && defined(__x86_64__) && !defined(__ILP32__)
33 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size)
34 {
35 size_t delta = (char*)dest - (char*)src;
This page took 0.03096 seconds and 4 git commands to generate.