mirror of
https://github.com/partic2/libffi
synced 2026-11-09 17:47:19 +00:00
Merge pull request #443 from jeremyhu/master
Update FFI_HIDDEN() to use .private_extern on Apple platforms and use the macro where appropriate
This commit is contained in:
@@ -85,7 +85,6 @@
|
||||
|
||||
#define ARM_FUNC_START(name) \
|
||||
.globl CNAME(name); \
|
||||
.private_extern CNAME(name); \
|
||||
FFI_HIDDEN(CNAME(name)); \
|
||||
ARM_FUNC_START_LOCAL(name)
|
||||
|
||||
|
||||
+1
-1
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user