diff options
author | Martin Storsjö <martin@martin.st> | 2020-05-05 22:01:35 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2020-05-10 08:51:42 +0300 |
commit | ff3054feb26ed4476f632965d6a76b6af1d4f31c (patch) | |
tree | 67275c2d22fd2246afddafad48e0ca7d491b5617 /src/arm | |
parent | d4002c88a3c253342cd5437662c9db652158bdf0 (diff) |
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.
Diffstat (limited to 'src/arm')
-rw-r--r-- | src/arm/asm.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arm/asm.S b/src/arm/asm.S index f3f44f7..d501e70 100644 --- 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 |