mirror of
https://abf.rosa.ru/djam/php7.git
synced 2025-02-22 22:32:48 +00:00
113 lines
3.9 KiB
Diff
113 lines
3.9 KiB
Diff
diff --git a/Zend/zend_signal.c b/Zend/zend_signal.c
|
|
index e6991475..1fbd59f6 100644
|
|
--- a/Zend/zend_signal.c
|
|
+++ b/Zend/zend_signal.c
|
|
@@ -386,7 +386,7 @@ static void zend_signal_globals_ctor(zend_signal_globals_t *zend_signal_globals)
|
|
}
|
|
/* }}} */
|
|
|
|
-void zend_signal_init(void) /* {{{ */
|
|
+__attribute__((visibility("default"))) void zend_signal_init(void) /* {{{ */
|
|
{
|
|
int signo;
|
|
struct sigaction sa;
|
|
@@ -408,7 +408,7 @@ void zend_signal_init(void) /* {{{ */
|
|
|
|
/* {{{ zend_signal_startup
|
|
* alloc zend signal globals */
|
|
-ZEND_API void zend_signal_startup(void)
|
|
+__attribute__((visibility("default"))) ZEND_API void zend_signal_startup(void)
|
|
{
|
|
|
|
#ifdef ZTS
|
|
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
|
|
index 02068b44..e7883b32 100644
|
|
--- a/ext/date/php_date.c
|
|
+++ b/ext/date/php_date.c
|
|
@@ -683,7 +683,7 @@ static zval *date_period_get_property_ptr_ptr(zval *object, zval *member, int ty
|
|
static int date_object_compare_timezone(zval *tz1, zval *tz2);
|
|
|
|
/* {{{ Module struct */
|
|
-zend_module_entry date_module_entry = {
|
|
+__attribute__((visibility("default"))) zend_module_entry date_module_entry = {
|
|
STANDARD_MODULE_HEADER_EX,
|
|
NULL,
|
|
NULL,
|
|
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
|
|
index c024e166..926708dc 100644
|
|
--- a/ext/libxml/libxml.c
|
|
+++ b/ext/libxml/libxml.c
|
|
@@ -130,7 +130,7 @@ static const zend_function_entry libxml_functions[] = {
|
|
PHP_FE_END
|
|
};
|
|
|
|
-zend_module_entry libxml_module_entry = {
|
|
+__attribute__((visibility("default"))) zend_module_entry libxml_module_entry = {
|
|
STANDARD_MODULE_HEADER,
|
|
"libxml", /* extension name */
|
|
libxml_functions, /* extension function list */
|
|
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
|
|
index 39896bb0..9d7c7d12 100644
|
|
--- a/ext/pcre/php_pcre.c
|
|
+++ b/ext/pcre/php_pcre.c
|
|
@@ -3058,7 +3058,7 @@ static const zend_function_entry pcre_functions[] = {
|
|
PHP_FE_END
|
|
};
|
|
|
|
-zend_module_entry pcre_module_entry = {
|
|
+__attribute__((visibility("default"))) zend_module_entry pcre_module_entry = {
|
|
STANDARD_MODULE_HEADER,
|
|
"pcre",
|
|
pcre_functions,
|
|
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
|
|
index f62dd15e..78638d9c 100644
|
|
--- a/ext/reflection/php_reflection.c
|
|
+++ b/ext/reflection/php_reflection.c
|
|
@@ -6946,7 +6946,7 @@ PHP_MINFO_FUNCTION(reflection) /* {{{ */
|
|
php_info_print_table_end();
|
|
} /* }}} */
|
|
|
|
-zend_module_entry reflection_module_entry = { /* {{{ */
|
|
+__attribute__((visibility("default"))) zend_module_entry reflection_module_entry = { /* {{{ */
|
|
STANDARD_MODULE_HEADER,
|
|
"Reflection",
|
|
reflection_ext_functions,
|
|
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
|
|
index 6394d491..dc21dc11 100644
|
|
--- a/ext/simplexml/simplexml.c
|
|
+++ b/ext/simplexml/simplexml.c
|
|
@@ -2661,7 +2661,7 @@ static const zend_module_dep simplexml_deps[] = { /* {{{ */
|
|
};
|
|
/* }}} */
|
|
|
|
-zend_module_entry simplexml_module_entry = { /* {{{ */
|
|
+__attribute__((visibility("default"))) zend_module_entry simplexml_module_entry = { /* {{{ */
|
|
STANDARD_MODULE_HEADER_EX, NULL,
|
|
simplexml_deps,
|
|
"SimpleXML",
|
|
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
|
|
index b147a961..2e1e551d 100644
|
|
--- a/ext/spl/php_spl.c
|
|
+++ b/ext/spl/php_spl.c
|
|
@@ -1042,7 +1042,7 @@ PHP_RSHUTDOWN_FUNCTION(spl) /* {{{ */
|
|
|
|
/* {{{ spl_module_entry
|
|
*/
|
|
-zend_module_entry spl_module_entry = {
|
|
+__attribute__((visibility("default"))) zend_module_entry spl_module_entry = {
|
|
STANDARD_MODULE_HEADER,
|
|
"SPL",
|
|
spl_functions,
|
|
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
|
|
index 64f27ef5..a4905b8a 100644
|
|
--- a/ext/standard/basic_functions.c
|
|
+++ b/ext/standard/basic_functions.c
|
|
@@ -3448,7 +3448,7 @@ static const zend_module_dep standard_deps[] = { /* {{{ */
|
|
};
|
|
/* }}} */
|
|
|
|
-zend_module_entry basic_functions_module = { /* {{{ */
|
|
+__attribute__((visibility("default"))) zend_module_entry basic_functions_module = { /* {{{ */
|
|
STANDARD_MODULE_HEADER_EX,
|
|
NULL,
|
|
standard_deps,
|