summaryrefslogtreecommitdiff
path: root/src/x86/sysv.S
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@macports.org>2018-07-20 09:37:43 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2018-07-21 14:36:10 -0700
commitba73a671cb49f8e2c4417723a9dc233e328926ae (patch)
treedd271c812d6c778d40d07603626c9f7165dbe8c2 /src/x86/sysv.S
parent65da63abc843fe448aaa86015d094cf016f325ba (diff)
downloadlibffi-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.S2
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; \