diff options
author | Jeremy Huddleston Sequoia <jeremyhu@macports.org> | 2018-07-20 09:37:43 -0700 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2018-07-21 14:36:10 -0700 |
commit | ba73a671cb49f8e2c4417723a9dc233e328926ae (patch) | |
tree | dd271c812d6c778d40d07603626c9f7165dbe8c2 /src/x86/sysv.S | |
parent | 65da63abc843fe448aaa86015d094cf016f325ba (diff) | |
download | libffi-ba73a671cb49f8e2c4417723a9dc233e328926ae.tar.gz |
Update FFI_HIDDEN() to use .private_extern on Apple platforms and use the macro where appropriate
Fix issue #439
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
Diffstat (limited to 'src/x86/sysv.S')
-rw-r--r-- | src/x86/sysv.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x86/sysv.S b/src/x86/sysv.S index 49fd80c..3e462c1 100644 --- a/src/x86/sysv.S +++ b/src/x86/sysv.S @@ -794,7 +794,7 @@ ENDF(C(ffi_closure_raw_THISCALL)) # define COMDAT(X) \ .section __TEXT,__text,coalesced,pure_instructions; \ .weak_definition X; \ - .private_extern X + FFI_HIDDEN(X) #elif defined __ELF__ && !(defined(__sun__) && defined(__svr4__)) # define COMDAT(X) \ .section .text.X,"axG",@progbits,X,comdat; \ |