ref: ff3054feb26ed4476f632965d6a76b6af1d4f31c
parent: d4002c88a3c253342cd5437662c9db652158bdf0
author: Martin Storsjö <[email protected]>
date: Tue May 5 18:01:35 EDT 2020
arm: Mark global symbols hidden This matches what is done in C by -fvisibility=hidden. This avoids issues with relocations against other symbols exported from another assembly file.
--- a/src/arm/asm.S
+++ b/src/arm/asm.S
@@ -93,6 +93,7 @@
.global EXTERN\name
#ifdef __ELF__
.type EXTERN\name, %function
+ .hidden EXTERN\name
#endif
#if HAVE_AS_FUNC
.func EXTERN\name