[roland/nptl-sh] Move SH code out of nptl/ subdirectory.
Commit Message
I haven't tested it or anything, but this should change nothing at all in
compiled code or symbol tables.
OK?
Thanks,
Roland
* sysdeps/sh/Makefile [$(subdir) = csu]
(gen-as-const-headers): Add tcb-offsets.sym.
* nptl/sysdeps/sh/Makefile: File removed.
* nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
* sysdeps/sh/nptl/pthread_spin_init.c: ... here.
* nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
* sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
* nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
* sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
* nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
* sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
* nptl/sysdeps/sh/pthreaddef.h: Moved ...
* sysdeps/sh/nptl/pthreaddef.h: ... here.
* nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
* sysdeps/sh/nptl/tcb-offsets.sym: ... here.
* nptl/sysdeps/sh/tls.h: Moved ...
* sysdeps/sh/nptl/tls.h: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
* sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
* sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
* sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
* sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
* sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
* sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
* sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
* sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
* sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Moved ...
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Moved ...
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
* sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
* sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
* sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
* sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
* sysdeps/unix/sysv/linux/sh/smp.h: ... here.
* nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
Comments
Roland McGrath <roland@hack.frob.com> wrote:
> I haven't tested it or anything, but this should change nothing at all in
> compiled code or symbol tables.
>
> OK?
OK.
Regards,
kaz
Committed.
Thanks,
Roland
deleted file mode 100644
@@ -1,3 +0,0 @@
-ifeq ($(subdir),csu)
-gen-as-const-headers += tcb-offsets.sym
-endif
@@ -1,3 +1,7 @@
+ifeq ($(subdir),csu)
+gen-as-const-headers += tcb-offsets.sym
+endif
+
ifeq ($(subdir),gmon)
sysdep_routines += _mcount
endif
similarity index 100%
rename from nptl/sysdeps/sh/pthread_spin_init.c
rename to sysdeps/sh/nptl/pthread_spin_init.c
similarity index 100%
rename from nptl/sysdeps/sh/pthread_spin_lock.c
rename to sysdeps/sh/nptl/pthread_spin_lock.c
similarity index 100%
rename from nptl/sysdeps/sh/pthread_spin_trylock.S
rename to sysdeps/sh/nptl/pthread_spin_trylock.S
similarity index 100%
rename from nptl/sysdeps/sh/pthread_spin_unlock.S
rename to sysdeps/sh/nptl/pthread_spin_unlock.S
similarity index 100%
rename from nptl/sysdeps/sh/pthreaddef.h
rename to sysdeps/sh/nptl/pthreaddef.h
similarity index 100%
rename from nptl/sysdeps/sh/tcb-offsets.sym
rename to sysdeps/sh/nptl/tcb-offsets.sym
similarity index 100%
rename from nptl/sysdeps/sh/tls.h
rename to sysdeps/sh/nptl/tls.h
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S
rename to sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h
rename to sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S
rename to sysdeps/unix/sysv/linux/sh/lowlevellock.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
rename to sysdeps/unix/sysv/linux/sh/lowlevellock.h
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S
rename to sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S
rename to sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S
rename to sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S
rename to sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
rename to sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S
rename to sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S
rename to sysdeps/unix/sysv/linux/sh/pthread_once.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S
rename to sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S
rename to sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S
rename to sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S
rename to sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S
rename to sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/sem_post.S
rename to sysdeps/unix/sysv/linux/sh/sem_post.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S
rename to sysdeps/unix/sysv/linux/sh/sem_timedwait.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S
rename to sysdeps/unix/sysv/linux/sh/sem_trywait.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S
rename to sysdeps/unix/sysv/linux/sh/sem_wait.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h
rename to sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/smp.h
rename to sysdeps/unix/sysv/linux/sh/smp.h
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h
rename to sysdeps/unix/sysv/linux/sh/sysdep-cancel.h