From 0fcc9e55d48a39b7359d08318a5b36cf8682dd0a Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 6 Feb 2003 00:58:57 +0100 Subject: [PATCH] ffi.c (ffi_closure_helper_SYSV): Add hidden visibility attribute. * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility attribute. From-SVN: r62454 --- libffi/ChangeLog | 5 +++++ libffi/src/s390/ffi.c | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 6d1157193ef..f0b68531560 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,8 @@ +2003-02-06 Jakub Jelinek + + * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility + attribute. + 2003-01-31 Christian Cornelssen , Andreas Schwab diff --git a/libffi/src/s390/ffi.c b/libffi/src/s390/ffi.c index 9e7d16954f6..d672b3c0ef3 100644 --- a/libffi/src/s390/ffi.c +++ b/libffi/src/s390/ffi.c @@ -70,9 +70,13 @@ static void ffi_prep_args (unsigned char *, extended_cif *); static int ffi_check_float_struct (ffi_type *); -void ffi_closure_helper_SYSV (ffi_closure *, unsigned long *, - unsigned long long *, unsigned long *); - +void +#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 2) +__attribute__ ((visibility ("hidden"))) +#endif +ffi_closure_helper_SYSV (ffi_closure *, unsigned long *, + unsigned long long *, unsigned long *); + /*====================== End of Prototypes ===========================*/ /*====================================================================*/ -- 2.30.2