From d0d1638f964338603725540d6738e70ca5baa179 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sat, 21 Jun 2014 01:41:21 +0000 Subject: [PATCH] builtins: assembly routines are not static Storage Class 3 is static storage. These symbols need to be marked as external (storage class 2) so that they can be referenced. Note that this external is not the same as ELF "external" visibility, which is indicated by DLL Storage Class (i.e. __declspec(dllexport) or __declspec(dllimport)). llvm-svn: 211428 --- compiler-rt/lib/builtins/assembly.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/builtins/assembly.h b/compiler-rt/lib/builtins/assembly.h index 78efe3a..d415a5f 100644 --- a/compiler-rt/lib/builtins/assembly.h +++ b/compiler-rt/lib/builtins/assembly.h @@ -42,7 +42,7 @@ #define LOCAL_LABEL(name) .L ## name #define SYMBOL_IS_FUNC(name) \ .def name SEPARATOR \ - .scl 3 SEPARATOR \ + .scl 2 SEPARATOR \ .type 32 SEPARATOR \ .endef #define FILE_LEVEL_DIRECTIVE -- 2.7.4