Switch to using DEFINE_COMPILERRT_[PRIVATE_]FUNCTION to define function symbols inside .S files.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85264 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/arm/switch.S b/lib/arm/switch.S
index 7b11c4f..2d94912 100644
--- a/lib/arm/switch.S
+++ b/lib/arm/switch.S
@@ -29,9 +29,7 @@
 // The table contains unsigned byte sized elements which are 1/2 the distance
 // from lr to the target label.
 //
-	.globl ___switchu8
-	.private_extern ___switchu8
-___switchu8:
+DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switchu8)
 	ldrb    ip, [lr, #-1]           // get first byte in table
 	cmp     r0, ip                  // compare with index
 	ldrbcc  r0, [lr, r0]            // get indexed byte out of table
@@ -45,9 +43,7 @@
 // The table contains signed byte sized elements which are 1/2 the distance
 // from lr to the target label.  
 //
-	.globl ___switch8
-	.private_extern ___switch8
-___switch8:
+DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch8)
 	ldrb    ip, [lr, #-1]           // get first byte in table
 	cmp     r0, ip                  // signed compare with index
 	ldrsbcc r0, [lr, r0]            // get indexed byte out of table
@@ -60,9 +56,7 @@
 // The table contains signed 2-byte sized elements which are 1/2 the distance
 // from lr to the target label.    
 //
-	.globl ___switch16
-	.private_extern ___switch16
-___switch16:
+DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch16)
 	ldrh    ip, [lr, #-1]           // get first 16-bit word in table
 	cmp     r0, ip                  // compare with index
 	add     r0, lr, r0, lsl #1      // compute address of element in table
@@ -77,9 +71,7 @@
 // The table contains signed 4-byte sized elements which are the distance
 // from lr to the target label.    
 //
-	.globl ___switch32
-	.private_extern ___switch32
-___switch32:
+DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch32)
 	ldr     ip, [lr, #-1]            // get first 32-bit word in table
 	cmp     r0, ip                   // compare with index
 	add     r0, lr, r0, lsl #2       // compute address of element in table