Browse Source

touchup syntax for no real good reason ;)

Mike Frysinger 19 years ago
parent
commit
3f788a09d4

+ 4 - 3
libc/sysdeps/linux/arm/__longjmp.S

@@ -23,9 +23,9 @@
 #include <bits/setjmp.h>
 
 
-.globl __longjmp;
+.global __longjmp
 .type __longjmp,%function
-.align 4;
+.align 4
 __longjmp:
 	mov	ip, r0		/* save jmp_buf pointer */
 	
@@ -39,4 +39,5 @@ __longjmp:
 #endif	
 
 	ldmia     ip ,  {v1-v6, sl, fp, sp, pc}
-.size __longjmp,.-__longjmp;
+
+.size __longjmp,.-__longjmp

+ 4 - 3
libc/sysdeps/linux/arm/bsd-_setjmp.S

@@ -25,9 +25,9 @@
 #define _ASM
 #include <bits/setjmp.h>
 
-.globl _setjmp;
+.global _setjmp
 .type _setjmp,%function
-.align 4;
+.align 4
 _setjmp:
 	mov	r1, #0
 #ifdef __PIC__
@@ -35,4 +35,5 @@ _setjmp:
 #else
 	b	__sigsetjmp
 #endif
-.size _setjmp,.-_setjmp;
+
+.size _setjmp,.-_setjmp

+ 4 - 3
libc/sysdeps/linux/arm/bsd-setjmp.S

@@ -25,9 +25,9 @@
 #define _ASM
 #include <bits/setjmp.h>
 
-.globl setjmp;
+.global setjmp
 .type setjmp,%function
-.align 4;
+.align 4
 setjmp:
 	mov	r1, #1
 #ifdef __PIC__
@@ -35,4 +35,5 @@ setjmp:
 #else
 	b	__sigsetjmp
 #endif
-.size setjmp,.-setjmp;
+
+.size setjmp,.-setjmp

+ 6 - 6
libc/sysdeps/linux/arm/clone.S

@@ -27,10 +27,10 @@
 #ifdef __NR_clone
 /* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg); */
 
-	.text
-	.globl __clone
-	.type __clone,%function
-	.align 4
+.text
+.global __clone
+.type __clone,%function
+.align 4
 __clone:
 	@ sanity check args
 	cmp	r0, #0
@@ -68,9 +68,9 @@ __clone:
 __error:
 	b	__syscall_error
 
-	.size __clone,.-__clone
+.size __clone,.-__clone
 
-	.weak clone
+.weak clone
 	clone = __clone
 
 #endif

+ 6 - 6
libc/sysdeps/linux/arm/mmap64.S

@@ -23,11 +23,11 @@
 
 #if defined __UCLIBC_HAS_LFS__ && defined __NR_mmap2
 
-	/* The mmap2 system call takes six arguments, all in registers.  */
-	.text
-	.global mmap64
-	.type mmap64,%function
-	.align 4
+/* The mmap2 system call takes six arguments, all in registers.  */
+.text
+.global mmap64
+.type mmap64,%function
+.align 4
 mmap64:
 	stmfd	sp!, {r4, r5, lr}
 	ldr	r5, [sp, $16]
@@ -65,6 +65,6 @@ mmap64:
 __error:
 	b	__syscall_error
 
-	.size mmap64,.-mmap64
+.size mmap64,.-mmap64
 
 #endif

+ 4 - 3
libc/sysdeps/linux/arm/setjmp.S

@@ -22,9 +22,9 @@
 #define _ASM
 #include <bits/setjmp.h>
 
-.globl __sigsetjmp;
+.global __sigsetjmp
 .type __sigsetjmp,%function
-.align 4;
+.align 4
 __sigsetjmp:
 	/* Save registers */
 #if defined __UCLIBC_HAS_FLOATS__ && ! defined __UCLIBC_HAS_SOFT_FLOAT__
@@ -43,4 +43,5 @@ __sigsetjmp:
 #else
 	B	__sigjmp_save
 #endif
-.size __sigsetjmp,.-__sigsetjmp;
+
+.size __sigsetjmp,.-__sigsetjmp

+ 4 - 4
libc/sysdeps/linux/arm/sigrestorer.S

@@ -22,18 +22,18 @@
    one of these.  This avoids the need for the kernel to synthesise a return
    instruction on the stack, which would involve expensive cache flushes. */
 
-.globl __default_sa_restorer;
+.global __default_sa_restorer
 .type __default_sa_restorer,%function
-.align 4;
+.align 4
 __default_sa_restorer:
 	swi	__NR_sigreturn
 
 
 #ifdef __NR_rt_sigreturn
 
-.globl __default_rt_sa_restorer;
+.global __default_rt_sa_restorer
 .type __default_rt_sa_restorer,%function
-.align 4;
+.align 4
 __default_rt_sa_restorer:
 	swi	__NR_rt_sigreturn
 

+ 5 - 5
libc/sysdeps/linux/arm/vfork.S

@@ -25,10 +25,10 @@
 #include <sys/syscall.h>
 
 #ifdef __NR_fork
-	.text
-	.global vfork
-	.type vfork,%function
-	.align 4
+.text
+.global vfork
+.type vfork,%function
+.align 4
 vfork:
 
 #ifdef __NR_vfork
@@ -52,5 +52,5 @@ vfork:
 __error:
 	b	__syscall_error
 
-	.size vfork,.-vfork
+.size vfork,.-vfork
 #endif