summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-06-21 01:41:21 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-06-21 01:41:21 +0000
commitd0d1638f964338603725540d6738e70ca5baa179 (patch)
tree8d911180632e38b0885a2184cdc5813b82de86a2
parente5015d8abad0e4980c3a11cd4d68f65907504ffd (diff)
downloadbcm5719-llvm-d0d1638f964338603725540d6738e70ca5baa179.tar.gz
bcm5719-llvm-d0d1638f964338603725540d6738e70ca5baa179.zip
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
-rw-r--r--compiler-rt/lib/builtins/assembly.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/builtins/assembly.h b/compiler-rt/lib/builtins/assembly.h
index 78efe3af1bd..d415a5f8d65 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
OpenPOWER on IntegriCloud