[compiler-rt] r219066 - Try harder to fix ARM/Linux after r219040.
Bob Wilson
bob.wilson at apple.com
Sat Oct 4 13:11:10 PDT 2014
Author: bwilson
Date: Sat Oct 4 15:11:10 2014
New Revision: 219066
URL: http://llvm.org/viewvc/llvm-project?rev=219066&view=rev
Log:
Try harder to fix ARM/Linux after r219040.
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=219066&r1=219065&r2=219066&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/assembly.h (original)
+++ compiler-rt/trunk/lib/builtins/assembly.h Sat Oct 4 15:11:10 2014
@@ -31,16 +31,21 @@
#if __ARM_ARCH_ISA_THUMB == 2
#define THUMB_FUNC .thumb_func
#endif
+
#elif defined(__ELF__)
+
#define HIDDEN(name) .hidden name
#define LOCAL_LABEL(name) .L_##name
+#define THUMB_FUNC
#define FILE_LEVEL_DIRECTIVE
#if defined(__arm__)
#define SYMBOL_IS_FUNC(name) .type name,%function
#else
#define SYMBOL_IS_FUNC(name) .type name, at function
#endif
-#else
+
+#else // !__APPLE__ && !__ELF__
+
#define HIDDEN_DIRECTIVE(name)
#define LOCAL_LABEL(name) .L ## name
#define SYMBOL_IS_FUNC(name) \
More information about the llvm-commits
mailing list