[compiler-rt] r211428 - builtins: assembly routines are not static

Saleem Abdulrasool compnerd at compnerd.org
Fri Jun 20 18:41:22 PDT 2014


Author: compnerd
Date: Fri Jun 20 20:41:21 2014
New Revision: 211428

URL: http://llvm.org/viewvc/llvm-project?rev=211428&view=rev
Log:
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)).

Modified:
    compiler-rt/trunk/lib/builtins/assembly.h

Modified: compiler-rt/trunk/lib/builtins/assembly.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/assembly.h?rev=211428&r1=211427&r2=211428&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/assembly.h (original)
+++ compiler-rt/trunk/lib/builtins/assembly.h Fri Jun 20 20:41:21 2014
@@ -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





More information about the llvm-commits mailing list