[llvm-commits] [compiler-rt] r150254 - in /compiler-rt/trunk/lib: arm/adddf3vfp.S arm/addsf3vfp.S arm/comparesf2.S arm/divdf3vfp.S arm/divmodsi4.S arm/divsf3vfp.S arm/divsi3.S arm/eqdf2vfp.S arm/udivmodsi4.S assembly.h
Bob Wilson
bob.wilson at apple.com
Fri Feb 10 08:41:46 PST 2012
Author: bwilson
Date: Fri Feb 10 10:41:46 2012
New Revision: 150254
URL: http://llvm.org/viewvc/llvm-project?rev=150254&view=rev
Log:
Back out some changes that accidentally committed.
Modified:
compiler-rt/trunk/lib/arm/adddf3vfp.S
compiler-rt/trunk/lib/arm/addsf3vfp.S
compiler-rt/trunk/lib/arm/comparesf2.S
compiler-rt/trunk/lib/arm/divdf3vfp.S
compiler-rt/trunk/lib/arm/divmodsi4.S
compiler-rt/trunk/lib/arm/divsf3vfp.S
compiler-rt/trunk/lib/arm/divsi3.S
compiler-rt/trunk/lib/arm/eqdf2vfp.S
compiler-rt/trunk/lib/arm/udivmodsi4.S
compiler-rt/trunk/lib/assembly.h
Modified: compiler-rt/trunk/lib/arm/adddf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/adddf3vfp.S?rev=150254&r1=150253&r2=150254&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/adddf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/adddf3vfp.S Fri Feb 10 10:41:46 2012
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#undef __thumb__
#include "../assembly.h"
//
Modified: compiler-rt/trunk/lib/arm/addsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/addsf3vfp.S?rev=150254&r1=150253&r2=150254&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/addsf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/addsf3vfp.S Fri Feb 10 10:41:46 2012
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#undef __thumb__
#include "../assembly.h"
//
Modified: compiler-rt/trunk/lib/arm/comparesf2.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/comparesf2.S?rev=150254&r1=150253&r2=150254&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/comparesf2.S (original)
+++ compiler-rt/trunk/lib/arm/comparesf2.S Fri Feb 10 10:41:46 2012
@@ -37,7 +37,6 @@
//
//===----------------------------------------------------------------------===//
-#undef __thumb__
#include "../assembly.h"
.syntax unified
Modified: compiler-rt/trunk/lib/arm/divdf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/divdf3vfp.S?rev=150254&r1=150253&r2=150254&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/divdf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/divdf3vfp.S Fri Feb 10 10:41:46 2012
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#undef __thumb__
#include "../assembly.h"
//
Modified: compiler-rt/trunk/lib/arm/divmodsi4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/divmodsi4.S?rev=150254&r1=150253&r2=150254&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/divmodsi4.S (original)
+++ compiler-rt/trunk/lib/arm/divmodsi4.S Fri Feb 10 10:41:46 2012
@@ -13,7 +13,6 @@
*
*===----------------------------------------------------------------------===*/
-#undef __thumb__
#include "../assembly.h"
#define ESTABLISH_FRAME \
Modified: compiler-rt/trunk/lib/arm/divsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/divsf3vfp.S?rev=150254&r1=150253&r2=150254&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/divsf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/divsf3vfp.S Fri Feb 10 10:41:46 2012
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#undef __thumb__
#include "../assembly.h"
//
Modified: compiler-rt/trunk/lib/arm/divsi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/divsi3.S?rev=150254&r1=150253&r2=150254&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/divsi3.S (original)
+++ compiler-rt/trunk/lib/arm/divsi3.S Fri Feb 10 10:41:46 2012
@@ -12,7 +12,6 @@
*
*===----------------------------------------------------------------------===*/
-#undef __thumb__
#include "../assembly.h"
#define ESTABLISH_FRAME \
Modified: compiler-rt/trunk/lib/arm/eqdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/eqdf2vfp.S?rev=150254&r1=150253&r2=150254&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/eqdf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/eqdf2vfp.S Fri Feb 10 10:41:46 2012
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#undef __thumb__
#include "../assembly.h"
//
Modified: compiler-rt/trunk/lib/arm/udivmodsi4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/udivmodsi4.S?rev=150254&r1=150253&r2=150254&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/udivmodsi4.S (original)
+++ compiler-rt/trunk/lib/arm/udivmodsi4.S Fri Feb 10 10:41:46 2012
@@ -13,7 +13,6 @@
*
*===----------------------------------------------------------------------===*/
-#undef __thumb__
#include "../assembly.h"
#define ESTABLISH_FRAME \
Modified: compiler-rt/trunk/lib/assembly.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/assembly.h?rev=150254&r1=150253&r2=150254&view=diff
==============================================================================
--- compiler-rt/trunk/lib/assembly.h (original)
+++ compiler-rt/trunk/lib/assembly.h Fri Feb 10 10:41:46 2012
@@ -34,43 +34,26 @@
#define GLUE(a, b) GLUE2(a, b)
#define SYMBOL_NAME(name) GLUE(__USER_LABEL_PREFIX__, name)
-#if defined(VISIBILITY_HIDDEN)
+#ifdef VISIBILITY_HIDDEN
#define DECLARE_SYMBOL_VISIBILITY(name) \
- HIDDEN_DIRECTIVE name SEPARATOR
+ HIDDEN_DIRECTIVE SYMBOL_NAME(name) SEPARATOR
#else
#define DECLARE_SYMBOL_VISIBILITY(name)
#endif
-#if defined(__APPLE__)
-#define THUMB_FUNC(name) .thumb_func name
-#else
-#define THUMB_FUNC(name) .thumb_func
-#endif
-
-#if defined(__thumb__)
-#define TARGET_FUNCTION_SETTINGS(name) \
- THUMB_FUNC(name) SEPARATOR \
- .code 16 SEPARATOR
-#else
-#define TARGET_FUNCTION_SETTINGS(name)
-#endif
-
#define DEFINE_COMPILERRT_FUNCTION(name) \
.globl SYMBOL_NAME(name) SEPARATOR \
- DECLARE_SYMBOL_VISIBILITY(SYMBOL_NAME(name)) \
- TARGET_FUNCTION_SETTINGS(SYMBOL_NAME(name)) \
+ DECLARE_SYMBOL_VISIBILITY(name) \
SYMBOL_NAME(name):
#define DEFINE_COMPILERRT_PRIVATE_FUNCTION(name) \
.globl SYMBOL_NAME(name) SEPARATOR \
HIDDEN_DIRECTIVE SYMBOL_NAME(name) SEPARATOR \
- TARGET_FUNCTION_SETTINGS(SYMBOL_NAME(name)) \
SYMBOL_NAME(name):
#define DEFINE_COMPILERRT_PRIVATE_FUNCTION_UNMANGLED(name) \
.globl name SEPARATOR \
HIDDEN_DIRECTIVE name SEPARATOR \
- TARGET_FUNCTION_SETTINGS(name) \
name:
#define DEFINE_COMPILERRT_FUNCTION_ALIAS(name, target) \
More information about the llvm-commits
mailing list