summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-16 23:42:25 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-16 23:42:25 +0000
commit9635ca06608053d809de03a018be2478e3e4a505 (patch)
treed6760b4741e438f5404fb67d909c751b1898e05f
parent021fb898d39a01bd15b3131678eb0dcf15cceaad (diff)
syntax/whitespace touchups
-rw-r--r--libc/string/arm/_memcpy.S8
-rw-r--r--libc/string/arm/bcopy.S8
-rw-r--r--libc/string/arm/bzero.S8
-rw-r--r--libc/string/arm/memcmp.S12
-rw-r--r--libc/string/arm/memcpy.S8
-rw-r--r--libc/string/arm/memmove.S8
-rw-r--r--libc/string/arm/memset.S11
-rw-r--r--libc/string/arm/strcmp.S12
-rw-r--r--libc/string/arm/strlen.S11
-rw-r--r--libc/string/arm/strncmp.S8
10 files changed, 44 insertions, 50 deletions
diff --git a/libc/string/arm/_memcpy.S b/libc/string/arm/_memcpy.S
index 7bd4b0776..236500e5f 100644
--- a/libc/string/arm/_memcpy.S
+++ b/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 */
diff --git a/libc/string/arm/bcopy.S b/libc/string/arm/bcopy.S
index c256df3f3..9e3efc7d0 100644
--- a/libc/string/arm/bcopy.S
+++ b/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 */
diff --git a/libc/string/arm/bzero.S b/libc/string/arm/bzero.S
index 253b3c88b..0e96ba076 100644
--- a/libc/string/arm/bzero.S
+++ b/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
diff --git a/libc/string/arm/memcmp.S b/libc/string/arm/memcmp.S
index e0f21aef4..6f7a064bd 100644
--- a/libc/string/arm/memcmp.S
+++ b/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
diff --git a/libc/string/arm/memcpy.S b/libc/string/arm/memcpy.S
index cc9a43cb4..4869007d3 100644
--- a/libc/string/arm/memcpy.S
+++ b/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}
diff --git a/libc/string/arm/memmove.S b/libc/string/arm/memmove.S
index 84e3e518c..9dbd3a004 100644
--- a/libc/string/arm/memmove.S
+++ b/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}
diff --git a/libc/string/arm/memset.S b/libc/string/arm/memset.S
index 07d3913f9..097c5b92a 100644
--- a/libc/string/arm/memset.S
+++ b/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
diff --git a/libc/string/arm/strcmp.S b/libc/string/arm/strcmp.S
index b2f26d63a..1f486546c 100644
--- a/libc/string/arm/strcmp.S
+++ b/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
diff --git a/libc/string/arm/strlen.S b/libc/string/arm/strlen.S
index 65ee94d99..195276e30 100644
--- a/libc/string/arm/strlen.S
+++ b/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
diff --git a/libc/string/arm/strncmp.S b/libc/string/arm/strncmp.S
index 6f478b5ed..39344db75 100644
--- a/libc/string/arm/strncmp.S
+++ b/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 */