diff options
| -rw-r--r-- | compiler-rt/lib/arm/adddf3vfp.S | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/arm/addsf3vfp.S | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/arm/comparesf2.S | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/arm/divdf3vfp.S | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/arm/divmodsi4.S | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/arm/divsf3vfp.S | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/arm/divsi3.S | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/arm/eqdf2vfp.S | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/arm/udivmodsi4.S | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/assembly.h | 23 |
10 files changed, 3 insertions, 29 deletions
diff --git a/compiler-rt/lib/arm/adddf3vfp.S b/compiler-rt/lib/arm/adddf3vfp.S index 1c311f0ffe6..c90b0c2eabe 100644 --- a/compiler-rt/lib/arm/adddf3vfp.S +++ b/compiler-rt/lib/arm/adddf3vfp.S @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#undef __thumb__ #include "../assembly.h" // diff --git a/compiler-rt/lib/arm/addsf3vfp.S b/compiler-rt/lib/arm/addsf3vfp.S index 3d512ff38fa..43653d5265c 100644 --- a/compiler-rt/lib/arm/addsf3vfp.S +++ b/compiler-rt/lib/arm/addsf3vfp.S @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#undef __thumb__ #include "../assembly.h" // diff --git a/compiler-rt/lib/arm/comparesf2.S b/compiler-rt/lib/arm/comparesf2.S index eab9e573ff1..ee18203392d 100644 --- a/compiler-rt/lib/arm/comparesf2.S +++ b/compiler-rt/lib/arm/comparesf2.S @@ -37,7 +37,6 @@ // //===----------------------------------------------------------------------===// -#undef __thumb__ #include "../assembly.h" .syntax unified diff --git a/compiler-rt/lib/arm/divdf3vfp.S b/compiler-rt/lib/arm/divdf3vfp.S index aedde3d00ac..52de67f7fdc 100644 --- a/compiler-rt/lib/arm/divdf3vfp.S +++ b/compiler-rt/lib/arm/divdf3vfp.S @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#undef __thumb__ #include "../assembly.h" // diff --git a/compiler-rt/lib/arm/divmodsi4.S b/compiler-rt/lib/arm/divmodsi4.S index 1f2c8e3278d..cec39a7926f 100644 --- a/compiler-rt/lib/arm/divmodsi4.S +++ b/compiler-rt/lib/arm/divmodsi4.S @@ -13,7 +13,6 @@ * *===----------------------------------------------------------------------===*/ -#undef __thumb__ #include "../assembly.h" #define ESTABLISH_FRAME \ diff --git a/compiler-rt/lib/arm/divsf3vfp.S b/compiler-rt/lib/arm/divsf3vfp.S index 182b8f1818a..81ba9030789 100644 --- a/compiler-rt/lib/arm/divsf3vfp.S +++ b/compiler-rt/lib/arm/divsf3vfp.S @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#undef __thumb__ #include "../assembly.h" // diff --git a/compiler-rt/lib/arm/divsi3.S b/compiler-rt/lib/arm/divsi3.S index ab1fdeaaf59..00e61815ab4 100644 --- a/compiler-rt/lib/arm/divsi3.S +++ b/compiler-rt/lib/arm/divsi3.S @@ -12,7 +12,6 @@ * *===----------------------------------------------------------------------===*/ -#undef __thumb__ #include "../assembly.h" #define ESTABLISH_FRAME \ diff --git a/compiler-rt/lib/arm/eqdf2vfp.S b/compiler-rt/lib/arm/eqdf2vfp.S index 126e54c665d..c41e55a3468 100644 --- a/compiler-rt/lib/arm/eqdf2vfp.S +++ b/compiler-rt/lib/arm/eqdf2vfp.S @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#undef __thumb__ #include "../assembly.h" // diff --git a/compiler-rt/lib/arm/udivmodsi4.S b/compiler-rt/lib/arm/udivmodsi4.S index b7bca622b1e..d164a751d08 100644 --- a/compiler-rt/lib/arm/udivmodsi4.S +++ b/compiler-rt/lib/arm/udivmodsi4.S @@ -13,7 +13,6 @@ * *===----------------------------------------------------------------------===*/ -#undef __thumb__ #include "../assembly.h" #define ESTABLISH_FRAME \ diff --git a/compiler-rt/lib/assembly.h b/compiler-rt/lib/assembly.h index 80082d54d81..83bed12335e 100644 --- a/compiler-rt/lib/assembly.h +++ b/compiler-rt/lib/assembly.h @@ -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) \ |

