diff options
Diffstat (limited to 'libpthread/nptl/sysdeps')
45 files changed, 37 insertions, 67 deletions
diff --git a/libpthread/nptl/sysdeps/arm/dl-tls.h b/libpthread/nptl/sysdeps/arm/dl-tls.h index f74f3f8da..e0324a7b6 100644 --- a/libpthread/nptl/sysdeps/arm/dl-tls.h +++ b/libpthread/nptl/sysdeps/arm/dl-tls.h @@ -27,4 +27,3 @@ typedef struct extern void *__tls_get_addr (tls_index *ti); - diff --git a/libpthread/nptl/sysdeps/arm/jmpbuf-unwind.h b/libpthread/nptl/sysdeps/arm/jmpbuf-unwind.h index 97a7760a9..6e8f01d10 100644 --- a/libpthread/nptl/sysdeps/arm/jmpbuf-unwind.h +++ b/libpthread/nptl/sysdeps/arm/jmpbuf-unwind.h @@ -34,4 +34,3 @@ /* We use the normal longjmp for unwinding. */ #define __libc_unwind_longjmp(buf, val) longjmp (buf, val) - diff --git a/libpthread/nptl/sysdeps/arm/pthread_spin_lock.S b/libpthread/nptl/sysdeps/arm/pthread_spin_lock.S index 614711446..bd6adf794 100644 --- a/libpthread/nptl/sysdeps/arm/pthread_spin_lock.S +++ b/libpthread/nptl/sysdeps/arm/pthread_spin_lock.S @@ -29,4 +29,3 @@ ENTRY (pthread_spin_lock) mov r0, #0 PSEUDO_RET_NOERRNO END (pthread_spin_lock) - diff --git a/libpthread/nptl/sysdeps/arm/pthread_spin_trylock.S b/libpthread/nptl/sysdeps/arm/pthread_spin_trylock.S index 0c633f94c..85931507a 100644 --- a/libpthread/nptl/sysdeps/arm/pthread_spin_trylock.S +++ b/libpthread/nptl/sysdeps/arm/pthread_spin_trylock.S @@ -32,4 +32,3 @@ ENTRY (pthread_spin_trylock) movne r0, #EBUSY PSEUDO_RET_NOERRNO END (pthread_spin_trylock) - diff --git a/libpthread/nptl/sysdeps/arm/pthreaddef.h b/libpthread/nptl/sysdeps/arm/pthreaddef.h index 72206d18d..783828a40 100644 --- a/libpthread/nptl/sysdeps/arm/pthreaddef.h +++ b/libpthread/nptl/sysdeps/arm/pthreaddef.h @@ -37,4 +37,3 @@ /* XXX Until we have a better place keep the definitions here. */ #define __exit_thread_inline(val) \ INLINE_SYSCALL (exit, 1, (val)) - diff --git a/libpthread/nptl/sysdeps/arm/sysdep.h b/libpthread/nptl/sysdeps/arm/sysdep.h index 5c6fc0804..19bd3c3f7 100644 --- a/libpthread/nptl/sysdeps/arm/sysdep.h +++ b/libpthread/nptl/sysdeps/arm/sysdep.h @@ -89,4 +89,3 @@ #endif #endif /* __ASSEMBLER__ */ - diff --git a/libpthread/nptl/sysdeps/arm/tcb-offsets.sym b/libpthread/nptl/sysdeps/arm/tcb-offsets.sym index 008ce3aa5..92cc441d3 100644 --- a/libpthread/nptl/sysdeps/arm/tcb-offsets.sym +++ b/libpthread/nptl/sysdeps/arm/tcb-offsets.sym @@ -9,4 +9,3 @@ MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads) PID_OFFSET thread_offsetof (pid) TID_OFFSET thread_offsetof (tid) - diff --git a/libpthread/nptl/sysdeps/arm/tls.h b/libpthread/nptl/sysdeps/arm/tls.h index fa98124ee..b8efd59b3 100644 --- a/libpthread/nptl/sysdeps/arm/tls.h +++ b/libpthread/nptl/sysdeps/arm/tls.h @@ -138,4 +138,3 @@ typedef struct #endif /* __ASSEMBLER__ */ #endif /* tls.h */ - diff --git a/libpthread/nptl/sysdeps/generic/dl-tls.c b/libpthread/nptl/sysdeps/generic/dl-tls.c index 3ac73d151..da6ebbddb 100644 --- a/libpthread/nptl/sysdeps/generic/dl-tls.c +++ b/libpthread/nptl/sysdeps/generic/dl-tls.c @@ -80,7 +80,7 @@ void *_dl_memalign(size_t alignment, size_t bytes) * not be inlined as much as possible. */ - + void internal_function __attribute_noinline__ _dl_allocate_static_tls (struct link_map *map) diff --git a/libpthread/nptl/sysdeps/mips/regdef.h b/libpthread/nptl/sysdeps/mips/regdef.h index bc7f13b4b..a462d512a 100644 --- a/libpthread/nptl/sysdeps/mips/regdef.h +++ b/libpthread/nptl/sysdeps/mips/regdef.h @@ -24,4 +24,3 @@ #include <sys/fpregdef.h> #endif /* _REGDEF_H */ - diff --git a/libpthread/nptl/sysdeps/pthread/bits/libc-tsd.h b/libpthread/nptl/sysdeps/pthread/bits/libc-tsd.h index d39382952..3f1676b3e 100644 --- a/libpthread/nptl/sysdeps/pthread/bits/libc-tsd.h +++ b/libpthread/nptl/sysdeps/pthread/bits/libc-tsd.h @@ -24,12 +24,12 @@ set of thread-specific `void *' data used only internally by libc. __libc_tsd_define(CLASS, KEY) -- Define or declare a `void *' datum - for KEY. CLASS can be `static' for + for KEY. CLASS can be `static' for keys used in only one source file, empty for global definitions, or `extern' for global declarations. __libc_tsd_address(KEY) -- Return the `void **' pointing to - the current thread's datum for KEY. + the current thread's datum for KEY. __libc_tsd_get(KEY) -- Return the `void *' datum for KEY. __libc_tsd_set(KEY, VALUE) -- Set the datum for KEY to VALUE. diff --git a/libpthread/nptl/sysdeps/sparc/jmpbuf-unwind.h b/libpthread/nptl/sysdeps/sparc/jmpbuf-unwind.h index d6c2baabd..6cbb37baf 100644 --- a/libpthread/nptl/sysdeps/sparc/jmpbuf-unwind.h +++ b/libpthread/nptl/sysdeps/sparc/jmpbuf-unwind.h @@ -3,4 +3,3 @@ #else #include "sparc32/jmpbuf-unwind.h" #endif - diff --git a/libpthread/nptl/sysdeps/sparc/pthreaddef.h b/libpthread/nptl/sysdeps/sparc/pthreaddef.h index bcc6ed10a..d4695c47d 100644 --- a/libpthread/nptl/sysdeps/sparc/pthreaddef.h +++ b/libpthread/nptl/sysdeps/sparc/pthreaddef.h @@ -3,4 +3,3 @@ #else #include "sparc32/pthreaddef.h" #endif - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.in b/libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.in index 743bc20ea..563b6c1cc 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.in +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.in @@ -19,7 +19,7 @@ libc_CSRC = libc_pthread_init.c libc_multiple_threads.c \ register-atfork.c unregister-atfork.c getpid.c \ raise.c sleep.c jmp-unwind.c -# These provide both a cancellable and a not cancellable implementation +# These provide both a cancellable and a not cancellable implementation libc_SSRC = close.S open.S write.S read.S ifneq ($(TARGET_ARCH),arm) @@ -45,7 +45,7 @@ endif ifeq ($(TARGET_ARCH),powerpc) libpthread_CSRC += lowlevellock.c libc_CSRC += libc-lowlevellock.c -librt_CSRC := mq_notify.c +librt_CSRC := mq_notify.c endif ifeq ($(TARGET_ARCH),sparc) @@ -65,7 +65,7 @@ endif ifeq ($(TARGET_ARCH),x86_64) -librt_CSRC := mq_notify.c +librt_CSRC := mq_notify.c endif CFLAGS-pthread_getcpuclockid.c = -I$(top_srcdir)librt @@ -195,7 +195,7 @@ ALL_HEADERS_BITS_PTHREAD := $(addprefix include/bits/,$(HEADERS_BITS_PTHREAD)) $(ALL_HEADERS_BITS_PTHREAD): $(do_ln) ../../$(PTHREAD_LINUX_DIR)/bits/$(@F) $(top_builddir)$@ - + nptl_linux_headers_clean: $(do_rm) $(addprefix $(PTHREAD_LINUX_OUT)/lowlevelbarrier., c h s) \ $(addprefix $(PTHREAD_LINUX_OUT)/lowlevelcond., c h s) \ diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/atomic.h b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/atomic.h index c0b00fe45..49a935a52 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/atomic.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/atomic.h @@ -134,4 +134,3 @@ unsigned int __thumb_cmpxchg (unsigned int oldval, unsigned int newval, void *me ({ __arm_link_error (); oldval; }) #endif /* __thumb__ */ - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/pthreadtypes.h b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/pthreadtypes.h index 350fb9f81..ea8d6a2f0 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/pthreadtypes.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/pthreadtypes.h @@ -165,4 +165,3 @@ typedef union #endif /* bits/pthreadtypes.h */ - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/semaphore.h b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/semaphore.h index 3d274eea2..3fc647d31 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/semaphore.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/semaphore.h @@ -36,4 +36,3 @@ typedef union char __size[__SIZEOF_SEM_T]; long int __align; } sem_t; - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/createthread.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/createthread.c index 9cfd8a77c..2d4355980 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/createthread.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/createthread.c @@ -21,4 +21,3 @@ /* Get the real implementation. */ #include <sysdeps/pthread/createthread.c> - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/fork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/fork.c index eaf6e6973..1c8f4c43a 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/fork.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/fork.c @@ -29,4 +29,3 @@ NULL, NULL, NULL, &THREAD_SELF->tid) #include "../fork.c" - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.c index 8f7de77a4..74be18855 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.c @@ -116,4 +116,3 @@ __lll_timedwait_tid (int *tidp, const struct timespec *abstime) } #endif - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h index df5833c46..79f3ddeca 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h @@ -337,4 +337,3 @@ extern void __lll_cond_broadcast (pthread_cond_t *cond) __lll_cond_broadcast (cond) #endif /* lowlevellock.h */ - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/pt-vfork.S b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/pt-vfork.S index b9d1ef768..9764e9ee2 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/pt-vfork.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/pt-vfork.S @@ -36,4 +36,3 @@ strne r3, [r2, #PID_OFFSET] /* ... restore the saved PID. */ #INCLUDE <../../../../../../../LIBC/SYSDEPS/LINUX/ARM/VFORK.S> - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/pthread_once.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/pthread_once.c index 3cfac5417..c8925810c 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/pthread_once.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/pthread_once.c @@ -97,4 +97,3 @@ const void *include_pthread_getspecific attribute_hidden = pthread_getspecific; const void *include_pthread_setspecific attribute_hidden = pthread_setspecific; const void *include_pthread_key_create attribute_hidden = pthread_key_create; #endif - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h index af65e1317..350d9af50 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h @@ -151,4 +151,3 @@ extern int __local_multiple_threads attribute_hidden; # define NO_CANCELLATION 1 #endif - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep.h b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep.h index 0883ac69e..23c2bfc8c 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep.h @@ -137,12 +137,12 @@ __local_syscall_error: \ The compiler is going to form a call by coming here, through PSEUDO, with arguments - syscall number in the DO_CALL macro - arg 1 r0 - arg 2 r1 - arg 3 r2 - arg 4 r3 - arg 5 [sp] + syscall number in the DO_CALL macro + arg 1 r0 + arg 2 r1 + arg 3 r2 + arg 4 r3 + arg 5 [sp] arg 6 [sp+4] arg 7 [sp+8] @@ -332,4 +332,3 @@ __local_syscall_error: \ #endif /* __ASSEMBLER__ */ #endif /* linux/arm/sysdep.h */ - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c index d4b16f048..206202809 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c @@ -127,4 +127,3 @@ _Unwind_GetCFA (struct _Unwind_Context *context) pthread_cancel_init (); return libgcc_s_getcfa (context); } - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c index fb842f97d..99b15746a 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c @@ -93,4 +93,3 @@ __gcc_personality_v0 (_Unwind_State state, init (); return libgcc_s_personality (state, ue_header, context); } - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind.h b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind.h index c33db3efb..d625fb288 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind.h @@ -272,4 +272,3 @@ extern "C" { #endif #endif /* defined UNWIND_ARM_H */ - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/vfork.S b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/vfork.S index cd0e6a39c..935a4e904 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/vfork.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/vfork.S @@ -37,4 +37,3 @@ strne r3, [r2, #PID_OFFSET] /* ... restore the saved PID. */ #include "../../../../../../../libc/sysdeps/linux/arm/vfork.S" - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch index ae7943080..06c0bd8b8 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch @@ -8,7 +8,7 @@ LINUX_ARCH_DIR:=$(top_srcdir)libpthread/nptl/sysdeps/unix/sysv/linux/i386 LINUX_ARCH_OUT:=$(top_builddir)libpthread/nptl/sysdeps/unix/sysv/linux/i386 -libpthread_SSRC = pt-vfork.S clone.S pthread_spin_unlock.S pthread_once.S +libpthread_SSRC = pt-vfork.S clone.S pthread_spin_unlock.S pthread_once.S libpthread_CSRC = pthread_spin_init.c pt-__syscall_error.c libc_a_CSRC = fork.c diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S index fc4f21b58..b8f0d2e4b 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S @@ -463,4 +463,3 @@ __condvar_tw_cleanup: hlt .LENDCODE: .size __condvar_tw_cleanup, .-__condvar_tw_cleanup - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S index bf852b5b9..377a7340f 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S @@ -355,4 +355,3 @@ __condvar_w_cleanup: hlt .LENDCODE: .size __condvar_w_cleanup, .-__condvar_w_cleanup - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/sysdep.h b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/sysdep.h index 03916b3f0..f9343cc93 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/sysdep.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/sysdep.h @@ -1,5 +1,5 @@ /* Copyright (C) 1992,1993,1995-2000,2002-2006,2007 - Free Software Foundation, Inc. + Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper, <drepper@gnu.org>, August 1995. diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S index e8a1928af..a5c916bb7 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S @@ -185,7 +185,7 @@ lll_unlock_wake_cb: trapa #0x14 SYSCALL_INST_PAD -1: +1: rts nop .size lll_unlock_wake_cb,.-lll_unlock_wake_cb diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h index f8a217316..eb83653d3 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h @@ -80,4 +80,3 @@ libc_hidden_proto(__waitpid_nocancel) # define waitpid_not_cancel(pid, stat_loc, options) \ INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL) #endif - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S index ff3197ba0..608c7364c 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S @@ -167,7 +167,7 @@ pthread_barrier_wait: bra 7b mov r9, r6 -9: +9: mov r6, r9 mov r8, r4 mov.l .Lwake2, r1 diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S index 8729b4b6c..d92f11cbb 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S @@ -133,4 +133,3 @@ __pthread_cond_signal: .long __lll_mutex_unlock_wake-.Lmwake4b .size __pthread_cond_signal, .-__pthread_cond_signal weak_alias (__pthread_cond_signal, pthread_cond_signal) - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S index db3ad1e09..75ce425f8 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S @@ -93,7 +93,7 @@ __pthread_cond_timedwait: bt 17f mov.l r9, @(dep_mutex,r8) -17: +17: /* Unlock the mutex. */ mov.l .Lmunlock1, r1 mov #0, r5 @@ -123,14 +123,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. */ @@ -159,7 +159,7 @@ __pthread_cond_timedwait: .word __NR_clock_gettime # ifndef __ASSUME_POSIX_TIMERS -19: +19: mov r15, r4 add #16, r4 mov #0, r5 @@ -176,7 +176,7 @@ __pthread_cond_timedwait: mov.l @(16,r15), r0 sts macl, r1 #endif -0: +0: #else mov r15, r4 add #16, r4 @@ -349,8 +349,8 @@ __pthread_cond_timedwait: extu.b r3, r3 trapa #0x14 SYSCALL_INST_PAD - -25: + +25: #if cond_lock != 0 DEC (@(cond_lock,r8), r2) #else @@ -371,7 +371,7 @@ __pthread_cond_timedwait: bf 18f mov.l @(24,r15), r0 -18: +18: add #64, r15 lds.l @r15+, pr mov.l @r15+, r13 diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S index 64adbce60..50d98d395 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S @@ -71,7 +71,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 @@ -79,7 +79,7 @@ __pthread_cond_wait: bt 15f mov.l r9, @(dep_mutex,r8) -15: +15: /* Unlock the mutex. */ mov.l .Lmunlock0, r1 mov #0, r5 @@ -149,7 +149,7 @@ __pthread_cond_wait: mov.l .Ldisable0, r1 bsrf r1 mov.l @r15, r4 -.Ldisable0b: +.Ldisable0b: .LcleanupEND: /* Lock. */ diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S index 2e6d0cc5a..2e8e6a1d5 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S @@ -73,7 +73,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 @@ -108,10 +108,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/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S index ee3f2ad4b..ce1ab37c8 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S @@ -148,7 +148,7 @@ __pthread_rwlock_rdlock: .Ltidoff: .word TID - TLS_PRE_TCB_SIZE - + 6: mov r8, r4 #if MUTEX != 0 diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S index a610708c8..74f32f8f9 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S @@ -154,7 +154,7 @@ __pthread_rwlock_unlock: mov.l @r15+, r4 .align 2 -.Lwait8: +.Lwait8: .long __lll_mutex_lock_wait-.Lwait8b .Lwake8: .long __lll_mutex_unlock_wake-.Lwake8b diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S index c8bd4af0f..40782fcaf 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S @@ -136,7 +136,7 @@ sem_timedwait: mov r10, r4 bsrf r1 mov r0, r10 -.Ldisable0b: +.Ldisable0b: mov r10, r0 tst r0, r0 diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S index c12e5ab45..7d13fa130 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S @@ -89,7 +89,7 @@ __new_sem_wait: mov r10, r4 bsrf r1 mov r0, r10 -.Ldisable0b: +.Ldisable0b: mov r10, r0 tst r0, r0 diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h index 40c2518af..694cbf448 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h @@ -237,7 +237,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden; "je 0f\n\t" \ "lock; cmpxchgl %0, %2\n\t" \ "jnz 1f\n\t" \ - "jmp 2f\n" \ + "jmp 2f\n" \ "0:\tcmpxchgl %0, %2\n\t" \ "jnz 1f\n\t" \ ".subsection 1\n" \ @@ -260,7 +260,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden; "je 0f\n\t" \ "lock; decl %0\n\t" \ "jne 1f\n\t" \ - "jmp 2f\n" \ + "jmp 2f\n" \ "0:\tdecl %0\n\t" \ "jne 1f\n\t" \ ".subsection 1\n" \ |