aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-06 12:06:15 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-06 12:06:15 +0000
commitc7afae94ca8ec4533d78e0f9846f1fd4f5585a95 (patch)
tree3c763065406fa427dac98c9090ae0700745238df /nptl
parentecdaa7c9207615a1dc5882560095389a18b1e2ca (diff)
downloadglibc-c7afae94ca8ec4533d78e0f9846f1fd4f5585a95.zip
glibc-c7afae94ca8ec4533d78e0f9846f1fd4f5585a95.tar.gz
glibc-c7afae94ca8ec4533d78e0f9846f1fd4f5585a95.tar.bz2
Remove trailing whitespace in nptl.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog18
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S2
-rw-r--r--nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c2
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h2
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S2
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S8
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S4
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S32
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S28
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S6
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S2
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S2
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h2
-rw-r--r--nptl/tst-mutexpp10.c4
-rw-r--r--nptl/tst-stackguard1.c2
15 files changed, 67 insertions, 49 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 7a9ce8e..a0bda44 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,21 @@
+2013-06-06 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Remove
+ trailing whitespace.
+ * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
+ * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_once.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
+ * tst-mutexpp10.c: Likewise.
+ * tst-stackguard1.c: Likewise.
+
2013-05-31 Joseph Myers <joseph@codesourcery.com>
* Makefile ($(objpfx)libpthread.so): Remove dependencies on libc
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
index bbc46ca..68f2372 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
@@ -114,7 +114,7 @@ pthread_barrier_wait:
cfi_adjust_cfa_offset(4)
cfi_offset(%ebx, -8)
-
+
/* The necessary number of threads arrived. */
3:
#if CURR_EVENT == 0
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c b/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c
index 7f93670..ace858f 100644
--- a/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c
+++ b/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c
@@ -48,7 +48,7 @@ symbol_version (__novmx_siglongjmp,siglongjmp,GLIBC_2.3);
symbol_version (__novmx_longjmp,longjmp,GLIBC_2.0);
symbol_version (__novmx_siglongjmp,siglongjmp,GLIBC_2.0);
# endif
-#endif /* defined SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)) */
+#endif /* defined SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)) */
void
__vmx_longjmp (jmp_buf env, int val)
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
index 124fe68..486e02c 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
+++ b/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
@@ -70,7 +70,7 @@
: (fl)) \
: ((fl) | (((private) ^ FUTEX_PRIVATE_FLAG) \
& THREAD_GETMEM (THREAD_SELF, header.private_futex))))
-# endif
+# endif
#endif
#ifndef __ASSEMBLER__
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S b/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S
index c10ec33..54209ce 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S
+++ b/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S
@@ -210,7 +210,7 @@ pthread_barrier_wait:
bra 7b
mov r9, r6
-9:
+9:
mov r6, r9
mov.l @(PRIVATE,r8), r5
mov #LLL_SHARED, r0
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S b/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S
index ffdffbc..a5b4f9c 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S
+++ b/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S
@@ -200,7 +200,7 @@ __pthread_cond_broadcast:
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait5, r1
bsrf r1
@@ -220,7 +220,7 @@ __pthread_cond_broadcast:
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake5, r1
bsrf r1
extu.b r5, r5
@@ -239,7 +239,7 @@ __pthread_cond_broadcast:
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake6, r1
bsrf r1
extu.b r5, r5
@@ -263,7 +263,7 @@ __pthread_cond_broadcast:
mov #FUTEX_WAKE, r0
or r0, r5
#endif
-99:
+99:
mov #-1, r6
shlr r6 /* r6 = 0x7fffffff */
mov #0, r7
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S b/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S
index 347c803..88d0870 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S
+++ b/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S
@@ -162,7 +162,7 @@ __pthread_cond_signal:
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake4, r1
bsrf r1
extu.b r5, r5
@@ -181,7 +181,7 @@ __pthread_cond_signal:
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait4, r1
bsrf r1
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S b/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
index 196add2..2c21883 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
+++ b/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
@@ -107,7 +107,7 @@ __pthread_cond_timedwait:
bt 17f
mov.l r9, @(dep_mutex,r8)
-17:
+17:
/* Unlock the mutex. */
mov.l .Lmunlock1, r1
mov #0, r5
@@ -137,14 +137,14 @@ __pthread_cond_timedwait:
mov.l @(cond_nwaiters,r8), r0
add r2, r0
mov.l r0, @(cond_nwaiters,r8)
-
+
/* Get and store current wakeup_seq value. */
mov.l @(wakeup_seq,r8), r10
mov.l @(wakeup_seq+4,r8), r11
mov.l @(broadcast_seq,r8), r0
mov.l r0, @(4,r15)
-8:
+8:
/* Get current time. */
#ifdef __NR_clock_gettime
/* Get the clock number. */
@@ -168,7 +168,7 @@ __pthread_cond_timedwait:
.L__NR_clock_gettime:
.word __NR_clock_gettime
-0:
+0:
#else
mov r15, r4
add #16, r4
@@ -240,7 +240,7 @@ __pthread_cond_timedwait:
mov #FUTEX_WAIT, r0
or r0, r5
#endif
-99:
+99:
mov.l @(8,r15), r6
mov r8, r4
add #cond_futex, r4
@@ -364,15 +364,15 @@ __pthread_cond_timedwait:
mov #FUTEX_WAKE, r0
or r0, r5
#endif
-99:
+99:
mov #1, r6
mov #0, r7
mov #SYS_futex, r3
extu.b r3, r3
trapa #0x14
SYSCALL_INST_PAD
-
-25:
+
+25:
#if cond_lock != 0
DEC (@(cond_lock,r8), r2)
#else
@@ -393,7 +393,7 @@ __pthread_cond_timedwait:
bf 18f
mov.l @(24,r15), r0
-18:
+18:
cfi_remember_state
add #64, r15
cfi_adjust_cfa_offset (-64)
@@ -449,7 +449,7 @@ __pthread_cond_timedwait:
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait2, r1
bsrf r1
@@ -469,7 +469,7 @@ __pthread_cond_timedwait:
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lmwait2, r1
bsrf r1
extu.b r5, r5
@@ -488,7 +488,7 @@ __pthread_cond_timedwait:
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait3, r1
bsrf r1
@@ -508,7 +508,7 @@ __pthread_cond_timedwait:
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lmwait3, r1
bsrf r1
extu.b r5, r5
@@ -536,7 +536,7 @@ __pthread_cond_timedwait:
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lmwait4, r1
bsrf r1
extu.b r5, r5
@@ -585,7 +585,7 @@ __condvar_tw_cleanup:
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait5, r1
bsrf r1
@@ -685,7 +685,7 @@ __condvar_tw_cleanup:
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lmwait5, r1
bsrf r1
extu.b r5, r5
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S b/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S
index 6859de5..c56b8b1 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S
+++ b/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S
@@ -86,7 +86,7 @@ __pthread_cond_wait:
.long _GLOBAL_OFFSET_TABLE_
#endif
-2:
+2:
/* Store the reference to the mutex. If there is already a
different value in there this is a bad user bug. */
mov.l @(dep_mutex,r8),r0
@@ -94,7 +94,7 @@ __pthread_cond_wait:
bt 15f
mov.l r9, @(dep_mutex,r8)
-15:
+15:
/* Unlock the mutex. */
mov.l .Lmunlock0, r1
mov #0, r5
@@ -167,7 +167,7 @@ __pthread_cond_wait:
mov #FUTEX_WAIT, r0
or r0, r5
#endif
-99:
+99:
mov.l @(8,r15), r6
mov r8, r4
add #cond_futex, r4
@@ -179,7 +179,7 @@ __pthread_cond_wait:
mov.l .Ldisable0, r1
bsrf r1
mov.l @r15, r4
-.Ldisable0b:
+.Ldisable0b:
.LcleanupEND:
/* Lock. */
@@ -260,7 +260,7 @@ __pthread_cond_wait:
mov #FUTEX_WAKE, r0
or r0, r5
#endif
-99:
+99:
mov #1, r6
mov #0, r7
mov #SYS_futex, r3
@@ -333,7 +333,7 @@ __pthread_cond_wait:
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait0, r1
bsrf r1
@@ -352,7 +352,7 @@ __pthread_cond_wait:
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake0, r1
bsrf r1
extu.b r5, r5
@@ -371,7 +371,7 @@ __pthread_cond_wait:
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait1, r1
bsrf r1
@@ -391,7 +391,7 @@ __pthread_cond_wait:
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake1, r1
bsrf r1
extu.b r5, r5
@@ -419,7 +419,7 @@ __pthread_cond_wait:
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake2, r1
bsrf r1
extu.b r5, r5
@@ -469,7 +469,7 @@ __condvar_w_cleanup:
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait3, r1
bsrf r1
@@ -557,7 +557,7 @@ __condvar_w_cleanup:
mov #FUTEX_WAKE, r0
or r0, r5
#endif
-99:
+99:
mov #1, r6
mov #0, r7
mov #SYS_futex, r3
@@ -584,7 +584,7 @@ __condvar_w_cleanup:
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake3, r1
bsrf r1
extu.b r5, r5
@@ -611,7 +611,7 @@ __condvar_w_cleanup:
mov #FUTEX_WAKE, r0
or r0, r5
#endif
-99:
+99:
mov #-1, r6
shlr r6 /* r6 = 0x7fffffff */
mov #0, r7
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S b/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S
index 0ae9183..99c96e3 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S
+++ b/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S
@@ -72,7 +72,7 @@ __pthread_once:
add r12, r2
#endif
mov.l @r2, r3
- or r3, r0
+ or r3, r0
or #1, r0
mov r0, r3
mov r1, r5
@@ -119,10 +119,10 @@ __pthread_once:
.Lgot:
.long _GLOBAL_OFFSET_TABLE_
#ifdef PIC
-.Lfgen:
+.Lfgen:
.long __fork_generation@GOTOFF
#else
-.Lfgen:
+.Lfgen:
.long __fork_generation
#endif
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S b/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S
index 56dce73..ea12884 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S
+++ b/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S
@@ -192,7 +192,7 @@ __pthread_rwlock_rdlock:
.Ltidoff:
.word TID - TLS_PRE_TCB_SIZE
-
+
6:
mov r8, r4
#if MUTEX != 0
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S b/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S
index 011b5a3..213d5f6 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S
+++ b/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S
@@ -209,7 +209,7 @@ __pthread_rwlock_unlock:
.word PRIVATE_FUTEX - TLS_PRE_TCB_SIZE
#endif
.align 2
-.Lwait8:
+.Lwait8:
.long __lll_lock_wait-.Lwait8b
.Lwake8:
.long __lll_unlock_wake-.Lwake8b
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
index 2d7d9f8..5ee8f6d 100644
--- a/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
+++ b/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
@@ -78,7 +78,7 @@ extern void __cpu_relax (void);
: (fl)) \
: ((fl) | (((private) ^ FUTEX_PRIVATE_FLAG) \
& THREAD_GETMEM (THREAD_SELF, header.private_futex))))
-# endif
+# endif
#endif
diff --git a/nptl/tst-mutexpp10.c b/nptl/tst-mutexpp10.c
index b06acf8..367b71b 100644
--- a/nptl/tst-mutexpp10.c
+++ b/nptl/tst-mutexpp10.c
@@ -67,7 +67,7 @@ do_test (void)
fifo_max + 1);
return 1;
}
-
+
if (fifo_min > 0
&& pthread_mutexattr_setprioceiling (&ma, fifo_min - 1) != EINVAL)
{
@@ -245,7 +245,7 @@ do_test (void)
printf ("unexpected m1 old prioceiling %d != 6\n", prioceiling);
return 1;
}
-
+
if (pthread_mutex_getprioceiling (&m1, &prioceiling))
{
puts ("mutex_getprioceiling m1 failed");
diff --git a/nptl/tst-stackguard1.c b/nptl/tst-stackguard1.c
index 57a48ad..29c614c 100644
--- a/nptl/tst-stackguard1.c
+++ b/nptl/tst-stackguard1.c
@@ -190,7 +190,7 @@ do_test (void)
the 16 runs, something is very wrong. */
int ndifferences = 0;
int ndefaults = 0;
- for (i = 0; i < N; ++i)
+ for (i = 0; i < N; ++i)
{
if (child_stack_chk_guards[i] != child_stack_chk_guards[i+1])
ndifferences++;