diff mbox

[roland/nptl-sh] Move SH code out of nptl/ subdirectory.

Message ID 20140612044104.CBC632C39BF@topped-with-meat.com
State New
Headers show

Commit Message

Roland McGrath June 12, 2014, 4:41 a.m. UTC
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

Kaz Kojima June 12, 2014, 8:40 a.m. UTC | #1
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
Roland McGrath June 12, 2014, 4:06 p.m. UTC | #2
Committed.

Thanks,
Roland
diff mbox

Patch

diff --git a/nptl/sysdeps/sh/Makefile b/nptl/sysdeps/sh/Makefile
deleted file mode 100644
index 81bddf6..0000000
--- a/nptl/sysdeps/sh/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@ 
-ifeq ($(subdir),csu)
-gen-as-const-headers += tcb-offsets.sym
-endif
diff --git a/sysdeps/sh/Makefile b/sysdeps/sh/Makefile
index bb7c553..0c6db9a 100644
--- a/sysdeps/sh/Makefile
+++ b/sysdeps/sh/Makefile
@@ -1,3 +1,7 @@ 
+ifeq ($(subdir),csu)
+gen-as-const-headers += tcb-offsets.sym
+endif
+
 ifeq ($(subdir),gmon)
 sysdep_routines += _mcount
 endif
diff --git a/nptl/sysdeps/sh/pthread_spin_init.c b/sysdeps/sh/nptl/pthread_spin_init.c
similarity index 100%
rename from nptl/sysdeps/sh/pthread_spin_init.c
rename to sysdeps/sh/nptl/pthread_spin_init.c
diff --git a/nptl/sysdeps/sh/pthread_spin_lock.c b/sysdeps/sh/nptl/pthread_spin_lock.c
similarity index 100%
rename from nptl/sysdeps/sh/pthread_spin_lock.c
rename to sysdeps/sh/nptl/pthread_spin_lock.c
diff --git a/nptl/sysdeps/sh/pthread_spin_trylock.S b/sysdeps/sh/nptl/pthread_spin_trylock.S
similarity index 100%
rename from nptl/sysdeps/sh/pthread_spin_trylock.S
rename to sysdeps/sh/nptl/pthread_spin_trylock.S
diff --git a/nptl/sysdeps/sh/pthread_spin_unlock.S b/sysdeps/sh/nptl/pthread_spin_unlock.S
similarity index 100%
rename from nptl/sysdeps/sh/pthread_spin_unlock.S
rename to sysdeps/sh/nptl/pthread_spin_unlock.S
diff --git a/nptl/sysdeps/sh/pthreaddef.h b/sysdeps/sh/nptl/pthreaddef.h
similarity index 100%
rename from nptl/sysdeps/sh/pthreaddef.h
rename to sysdeps/sh/nptl/pthreaddef.h
diff --git a/nptl/sysdeps/sh/tcb-offsets.sym b/sysdeps/sh/nptl/tcb-offsets.sym
similarity index 100%
rename from nptl/sysdeps/sh/tcb-offsets.sym
rename to sysdeps/sh/nptl/tcb-offsets.sym
diff --git a/nptl/sysdeps/sh/tls.h b/sysdeps/sh/nptl/tls.h
similarity index 100%
rename from nptl/sysdeps/sh/tls.h
rename to sysdeps/sh/nptl/tls.h
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S b/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S
rename to sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h b/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h
rename to sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S b/sysdeps/unix/sysv/linux/sh/lowlevellock.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S
rename to sysdeps/unix/sysv/linux/sh/lowlevellock.S
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h b/sysdeps/unix/sysv/linux/sh/lowlevellock.h
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
rename to sysdeps/unix/sysv/linux/sh/lowlevellock.h
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S b/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S
rename to sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S b/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S b/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S b/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S b/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S b/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S b/sysdeps/unix/sysv/linux/sh/pthread_once.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S b/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S b/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S b/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S b/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S b/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/sem_post.S b/sysdeps/unix/sysv/linux/sh/sem_post.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S b/sysdeps/unix/sysv/linux/sh/sem_timedwait.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S b/sysdeps/unix/sysv/linux/sh/sem_trywait.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S b/sysdeps/unix/sysv/linux/sh/sem_wait.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
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h b/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h
rename to sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/smp.h b/sysdeps/unix/sysv/linux/sh/smp.h
similarity index 100%
rename from nptl/sysdeps/unix/sysv/linux/sh/smp.h
rename to sysdeps/unix/sysv/linux/sh/smp.h
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h b/sysdeps/unix/sysv/linux/sh/sysdep-cancel.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