From b11de00dd802c0fbb263c9f263724067d7f6f6e0 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Fri, 28 Oct 2016 23:37:50 +0000 Subject: 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 --- lib/builtins/assembly.h | 1 + 1 file changed, 1 insertion(+) 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__) -- cgit v1.2.3