about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-04-04 15:49:43 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-04-10 17:33:10 -0300
commit38efe8c5a5c1676f54481caa81980a93f7223479 (patch)
treebb623c471fda5f994c45ecd8fee75972b85aed74
parentfda19e04387359e1bc8c30f0eda5a61d976942ff (diff)
downloadglibc-38efe8c5a5c1676f54481caa81980a93f7223479.tar.gz
glibc-38efe8c5a5c1676f54481caa81980a93f7223479.tar.xz
glibc-38efe8c5a5c1676f54481caa81980a93f7223479.zip
Consolidate pthreadtype.h placementConsolidate pthreadtype.h placement
This patch moves all arch specific pthreadtypes.h to a similar path
for all architectures (sysdeps/unix/sysv/<arch>/bits).  No functional
or build change is expected.  The idea is mainly to organize the
header placement for all architectures.

Checked with a build for all major ABI (aarch64-linux-gnu, alpha-linux-gnu,
arm-linux-gnueabi, i386-linux-gnu, ia64-linux-gnu,
m68k-linux-gnu, microblaze-linux-gnu [1], mips{64}-linux-gnu, nios2-linux-gnu,
powerpc{64le}-linux-gnu, s390{x}-linux-gnu, sparc{64}-linux-gnu,
tile{pro,gx}-linux-gnu, and x86_64-linux-gnu).

	* sysdeps/unix/sysv/linux/x86/Implies: New file.
	* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
	* sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
	* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
	* sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
	* sysdeps/x86/bits/pthreadtypes.h: Move to ...
	* sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
-rw-r--r--ChangeLog10
-rw-r--r--sysdeps/alpha/nptl/bits/pthreadtypes.h (renamed from sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h)0
-rw-r--r--sysdeps/powerpc/nptl/bits/pthreadtypes.h (renamed from sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h)0
-rw-r--r--sysdeps/unix/sysv/linux/x86/Implies1
-rw-r--r--sysdeps/x86/nptl/bits/pthreadtypes.h (renamed from sysdeps/x86/bits/pthreadtypes.h)0
5 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ce57b65f14..ec7617ddfa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+	* sysdeps/unix/sysv/linux/x86/Implies: New file.
+	* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
+	* sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
+	* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
+	* sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
+	* sysdeps/x86/bits/pthreadtypes.h: Move to ...
+	* sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
+
 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/i386/dl-procinfo.c: Include
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h b/sysdeps/alpha/nptl/bits/pthreadtypes.h
index 1beaf109a8..1beaf109a8 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
+++ b/sysdeps/alpha/nptl/bits/pthreadtypes.h
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h b/sysdeps/powerpc/nptl/bits/pthreadtypes.h
index e5cda79ad2..e5cda79ad2 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
+++ b/sysdeps/powerpc/nptl/bits/pthreadtypes.h
diff --git a/sysdeps/unix/sysv/linux/x86/Implies b/sysdeps/unix/sysv/linux/x86/Implies
new file mode 100644
index 0000000000..e454b288aa
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/x86/Implies
@@ -0,0 +1 @@
+x86/nptl
diff --git a/sysdeps/x86/bits/pthreadtypes.h b/sysdeps/x86/nptl/bits/pthreadtypes.h
index c3055cac7f..c3055cac7f 100644
--- a/sysdeps/x86/bits/pthreadtypes.h
+++ b/sysdeps/x86/nptl/bits/pthreadtypes.h