diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-10-28 23:37:50 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-10-28 23:37:50 +0000 |
commit | b11de00dd802c0fbb263c9f263724067d7f6f6e0 (patch) | |
tree | f657dfbfc572824d7990694e7962411849448d67 /lib/builtins/assembly.h | |
parent | 0a41fa9506ba8d3be4118e5a11d2c42d9154ec29 (diff) |
build: give aliases the same visibility
ARM EABI also uses function aliases. Ensure that those aliased functions are
given proper visibility annotations.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@285478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/assembly.h')
-rw-r--r-- | lib/builtins/assembly.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/builtins/assembly.h b/lib/builtins/assembly.h index 5fc74f68f..5e36b5a5e 100644 --- a/lib/builtins/assembly.h +++ b/lib/builtins/assembly.h @@ -149,6 +149,7 @@ #define DEFINE_COMPILERRT_FUNCTION_ALIAS(name, target) \ .globl SYMBOL_NAME(name) SEPARATOR \ SYMBOL_IS_FUNC(SYMBOL_NAME(name)) SEPARATOR \ + DECLARE_SYMBOL_VISIBILITY(SYMBOL_NAME(name)) SEPARATOR \ .set SYMBOL_NAME(name), SYMBOL_NAME(target) SEPARATOR #if defined(__ARM_EABI__) |