Browse Source

syntax/whitespace touchups

Mike Frysinger 18 years ago
parent
commit
9635ca0660

+ 4 - 4
libc/string/arm/_memcpy.S

@@ -71,10 +71,10 @@
  * Apologies for the state of the comments ;-)
  */
 
-		.text
-		.global _memcpy;
-		.type _memcpy,%function
-		.align 4;                                                               \
+.text
+.global _memcpy
+.type _memcpy,%function
+.align 4
 
 _memcpy:
 	/* Determine copy direction */

+ 4 - 4
libc/string/arm/bcopy.S

@@ -39,10 +39,10 @@
 
 /* bcopy = memcpy/memmove with arguments reversed. */
 
-		.text
-		.global bcopy;
-		.type bcopy,%function
-		.align 4;                                                               \
+.text
+.global bcopy
+.type bcopy,%function
+.align 4
 
 bcopy:
 	/* switch the source and destination registers */

+ 4 - 4
libc/string/arm/bzero.S

@@ -37,10 +37,10 @@
  * by Erik Andersen <andersen@codepoet.org>
  */
 
-		.text
-		.global __bzero;
-		.type __bzero,%function
-		.align 4;                                                               \
+.text
+.global __bzero
+.type __bzero,%function
+.align 4
 
 __bzero:
 	mov	r2, r1

+ 5 - 7
libc/string/arm/memcmp.S

@@ -30,10 +30,10 @@
  */
 
 
-		.text
-		.global memcmp;
-		.type memcmp,%function
-		.align 4;                                                               \
+.text
+.global memcmp
+.type memcmp,%function
+.align 4
 
 memcmp:
 	/* if ((len - 1) < 0) return 0 */
@@ -52,6 +52,4 @@ memcmp:
 	sub	r0, r2, r3
 	mov	pc, lr
 
-.weak  bcmp;
-    bcmp = memcmp
-
+.weak bcmp ; bcmp = memcmp

+ 4 - 4
libc/string/arm/memcpy.S

@@ -37,10 +37,10 @@
  * by Erik Andersen <andersen@codepoet.org>
  */
 
-		.text
-		.global memcpy;
-		.type memcpy,%function
-		.align 4;                                                               \
+.text
+.global memcpy
+.type memcpy,%function
+.align 4
 
 memcpy:
 	stmfd	sp!, {r0, lr}

+ 4 - 4
libc/string/arm/memmove.S

@@ -37,10 +37,10 @@
  * by Erik Andersen <andersen@codepoet.org>
  */
 
-		.text
-		.global memmove;
-		.type memmove,%function
-		.align 4;                                                               \
+.text
+.global memmove
+.type memmove,%function
+.align 4
 
 memmove:
 	stmfd	sp!, {r0, lr}

+ 5 - 6
libc/string/arm/memset.S

@@ -19,10 +19,10 @@
 
 #include <sys/syscall.h>
 
-		.text
-		.global memset;
-		.type memset,%function
-		.align 4;                                                               \
+.text
+.global memset
+.type memset,%function
+.align 4
 
 memset:
 	mov	a4, a1
@@ -68,5 +68,4 @@ memset:
 	strb	a2, [a4], $1
 	mov	pc, lr
 
-.size memset,.-memset;
-
+.size memset,.-memset

+ 5 - 7
libc/string/arm/strcmp.S

@@ -29,10 +29,10 @@
  * by Erik Andersen <andersen@codepoet.org>
  */
 
-		.text
-		.global strcmp;
-		.type strcmp,%function
-		.align 4;                                                               \
+.text
+.global strcmp
+.type strcmp,%function
+.align 4
 
 strcmp:
 1:
@@ -44,6 +44,4 @@ strcmp:
 	sub	r0, r2, r3
 	mov	pc, lr
 
-.weak  strcoll;
-    strcoll = strcmp
-
+.weak strcoll ; strcoll = strcmp

+ 5 - 6
libc/string/arm/strlen.S

@@ -25,10 +25,10 @@
  * exit: r0 = len
  */
 
-		.text
-		.global strlen;
-		.type strlen,%function
-		.align 4;                                                               \
+.text
+.global strlen
+.type strlen,%function
+.align 4
 
 strlen:
 	bic     r1, r0, $3              @ addr of word containing first byte
@@ -76,5 +76,4 @@ Llastword:				@ drop through to here once we find a
 #endif
 	mov	pc,lr
 
-.size strlen,.-strlen;
-
+.size strlen,.-strlen

+ 4 - 4
libc/string/arm/strncmp.S

@@ -29,10 +29,10 @@
  * by Erik Andersen <andersen@codepoet.org>
  */
 
-		.text
-		.global strncmp;
-		.type strncmp,%function
-		.align 4;                                                               \
+.text
+.global strncmp
+.type strncmp,%function
+.align 4
 
 strncmp:
 	/* if ((len - 1) < 0) return 0 */