diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-02-06 00:58:57 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2003-02-06 00:58:57 +0100 |
commit | 0fcc9e55d48a39b7359d08318a5b36cf8682dd0a (patch) | |
tree | 5db1ae5bbc847802866d682e930d410dc9535c61 /libffi | |
parent | 7dba8395e27f52d22aa11ff2fc147858e34f2a9d (diff) | |
download | gcc-0fcc9e55d48a39b7359d08318a5b36cf8682dd0a.zip gcc-0fcc9e55d48a39b7359d08318a5b36cf8682dd0a.tar.gz gcc-0fcc9e55d48a39b7359d08318a5b36cf8682dd0a.tar.bz2 |
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
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 5 | ||||
-rw-r--r-- | libffi/src/s390/ffi.c | 10 |
2 files changed, 12 insertions, 3 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 6d11571..f0b6853 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,8 @@ +2003-02-06 Jakub Jelinek <jakub@redhat.com> + + * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility + attribute. + 2003-01-31 Christian Cornelssen <ccorn@cs.tu-berlin.de>, Andreas Schwab <schwab@suse.de> diff --git a/libffi/src/s390/ffi.c b/libffi/src/s390/ffi.c index 9e7d169..d672b3c 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 ===========================*/ /*====================================================================*/ |