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