ref: dfb22e57a44982e46d260718372fe5f9c45aac81
parent: ebc8e4d9fb942e7479ecf41fe17e361286e1af29
author: Nico Weber <thakis@chromium.org>
date: Fri Jul 10 11:28:10 EDT 2020
Hide const symbols names too when building for mac/arm64 This is a follow-up to ebc8e4d9fb9. dav1d doesn't currently use this `const` macro, but rav1e does.
--- a/src/arm/asm.S
+++ b/src/arm/asm.S
@@ -131,6 +131,8 @@
.global EXTERN\name
#ifdef __ELF__
.hidden EXTERN\name
+#elif defined(__MACH__)
+ .private_extern EXTERN\name
#endif
EXTERN\name:
.endif