svn commit: trunk/uClibc/libc/string/arm

vapier at uclibc.org vapier at uclibc.org
Fri Sep 16 23:42:27 UTC 2005


Author: vapier
Date: 2005-09-16 16:42:25 -0700 (Fri, 16 Sep 2005)
New Revision: 11486

Log:
syntax/whitespace touchups

Modified:
   trunk/uClibc/libc/string/arm/_memcpy.S
   trunk/uClibc/libc/string/arm/bcopy.S
   trunk/uClibc/libc/string/arm/bzero.S
   trunk/uClibc/libc/string/arm/memcmp.S
   trunk/uClibc/libc/string/arm/memcpy.S
   trunk/uClibc/libc/string/arm/memmove.S
   trunk/uClibc/libc/string/arm/memset.S
   trunk/uClibc/libc/string/arm/strcmp.S
   trunk/uClibc/libc/string/arm/strlen.S
   trunk/uClibc/libc/string/arm/strncmp.S


Changeset:
Modified: trunk/uClibc/libc/string/arm/_memcpy.S
===================================================================
--- trunk/uClibc/libc/string/arm/_memcpy.S	2005-09-16 17:33:13 UTC (rev 11485)
+++ trunk/uClibc/libc/string/arm/_memcpy.S	2005-09-16 23:42:25 UTC (rev 11486)
@@ -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 */

Modified: trunk/uClibc/libc/string/arm/bcopy.S
===================================================================
--- trunk/uClibc/libc/string/arm/bcopy.S	2005-09-16 17:33:13 UTC (rev 11485)
+++ trunk/uClibc/libc/string/arm/bcopy.S	2005-09-16 23:42:25 UTC (rev 11486)
@@ -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 */

Modified: trunk/uClibc/libc/string/arm/bzero.S
===================================================================
--- trunk/uClibc/libc/string/arm/bzero.S	2005-09-16 17:33:13 UTC (rev 11485)
+++ trunk/uClibc/libc/string/arm/bzero.S	2005-09-16 23:42:25 UTC (rev 11486)
@@ -37,10 +37,10 @@
  * by Erik Andersen <andersen at codepoet.org>
  */
 
-		.text
-		.global __bzero;
-		.type __bzero,%function
-		.align 4;                                                               \
+.text
+.global __bzero
+.type __bzero,%function
+.align 4
 
 __bzero:
 	mov	r2, r1

Modified: trunk/uClibc/libc/string/arm/memcmp.S
===================================================================
--- trunk/uClibc/libc/string/arm/memcmp.S	2005-09-16 17:33:13 UTC (rev 11485)
+++ trunk/uClibc/libc/string/arm/memcmp.S	2005-09-16 23:42:25 UTC (rev 11486)
@@ -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 @@
 	sub	r0, r2, r3
 	mov	pc, lr
 
-.weak  bcmp;
-    bcmp = memcmp
-
+.weak bcmp ; bcmp = memcmp

Modified: trunk/uClibc/libc/string/arm/memcpy.S
===================================================================
--- trunk/uClibc/libc/string/arm/memcpy.S	2005-09-16 17:33:13 UTC (rev 11485)
+++ trunk/uClibc/libc/string/arm/memcpy.S	2005-09-16 23:42:25 UTC (rev 11486)
@@ -37,10 +37,10 @@
  * by Erik Andersen <andersen at codepoet.org>
  */
 
-		.text
-		.global memcpy;
-		.type memcpy,%function
-		.align 4;                                                               \
+.text
+.global memcpy
+.type memcpy,%function
+.align 4
 
 memcpy:
 	stmfd	sp!, {r0, lr}

Modified: trunk/uClibc/libc/string/arm/memmove.S
===================================================================
--- trunk/uClibc/libc/string/arm/memmove.S	2005-09-16 17:33:13 UTC (rev 11485)
+++ trunk/uClibc/libc/string/arm/memmove.S	2005-09-16 23:42:25 UTC (rev 11486)
@@ -37,10 +37,10 @@
  * by Erik Andersen <andersen at codepoet.org>
  */
 
-		.text
-		.global memmove;
-		.type memmove,%function
-		.align 4;                                                               \
+.text
+.global memmove
+.type memmove,%function
+.align 4
 
 memmove:
 	stmfd	sp!, {r0, lr}

Modified: trunk/uClibc/libc/string/arm/memset.S
===================================================================
--- trunk/uClibc/libc/string/arm/memset.S	2005-09-16 17:33:13 UTC (rev 11485)
+++ trunk/uClibc/libc/string/arm/memset.S	2005-09-16 23:42:25 UTC (rev 11486)
@@ -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 @@
 	strb	a2, [a4], $1
 	mov	pc, lr
 
-.size memset,.-memset;
-
+.size memset,.-memset

Modified: trunk/uClibc/libc/string/arm/strcmp.S
===================================================================
--- trunk/uClibc/libc/string/arm/strcmp.S	2005-09-16 17:33:13 UTC (rev 11485)
+++ trunk/uClibc/libc/string/arm/strcmp.S	2005-09-16 23:42:25 UTC (rev 11486)
@@ -29,10 +29,10 @@
  * by Erik Andersen <andersen at codepoet.org>
  */
 
-		.text
-		.global strcmp;
-		.type strcmp,%function
-		.align 4;                                                               \
+.text
+.global strcmp
+.type strcmp,%function
+.align 4
 
 strcmp:
 1:
@@ -44,6 +44,4 @@
 	sub	r0, r2, r3
 	mov	pc, lr
 
-.weak  strcoll;
-    strcoll = strcmp
-
+.weak strcoll ; strcoll = strcmp

Modified: trunk/uClibc/libc/string/arm/strlen.S
===================================================================
--- trunk/uClibc/libc/string/arm/strlen.S	2005-09-16 17:33:13 UTC (rev 11485)
+++ trunk/uClibc/libc/string/arm/strlen.S	2005-09-16 23:42:25 UTC (rev 11486)
@@ -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 @@
 #endif
 	mov	pc,lr
 
-.size strlen,.-strlen;
-
+.size strlen,.-strlen

Modified: trunk/uClibc/libc/string/arm/strncmp.S
===================================================================
--- trunk/uClibc/libc/string/arm/strncmp.S	2005-09-16 17:33:13 UTC (rev 11485)
+++ trunk/uClibc/libc/string/arm/strncmp.S	2005-09-16 23:42:25 UTC (rev 11486)
@@ -29,10 +29,10 @@
  * by Erik Andersen <andersen at 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 */




More information about the uClibc-cvs mailing list