Try harder to fix ARM/Linux after r219040.

llvm-svn: 219066
This commit is contained in:
Bob Wilson 2014-10-04 20:11:10 +00:00
parent 66304c2262
commit 115547464e
1 changed files with 6 additions and 1 deletions

View File

@ -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,@function
#endif
#else
#else // !__APPLE__ && !__ELF__
#define HIDDEN_DIRECTIVE(name)
#define LOCAL_LABEL(name) .L ## name
#define SYMBOL_IS_FUNC(name) \