summaryrefslogtreecommitdiff
path: root/lib/builtins/assembly.h
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
commit56d743181e6e964318672200c877118b6b7686f8 (patch)
tree35ae98d45f730daa22bd0774ae644f8d9ffecf6b /lib/builtins/assembly.h
parentf9673b1476e436b4e46d33fe5711f403753b5aac (diff)
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)). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/assembly.h')
-rw-r--r--lib/builtins/assembly.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/assembly.h b/lib/builtins/assembly.h
index 78efe3af1..d415a5f8d 100644
--- a/lib/builtins/assembly.h
+++ b/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