diff mbox series

[1/2] Consolidate pthreadtype.h placement

Message ID 1491232114-7588-1-git-send-email-adhemerval.zanella@linaro.org
State New
Headers show
Series [1/2] Consolidate pthreadtype.h placement | expand

Commit Message

Adhemerval Zanella April 3, 2017, 3:08 p.m. UTC
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).
---
 ChangeLog                                                      | 10 ++++++++++
 .../{unix/sysv/linux/alpha => alpha/nptl}/bits/pthreadtypes.h  |  0
 .../sysv/linux/powerpc => powerpc/nptl}/bits/pthreadtypes.h    |  0
 sysdeps/unix/sysv/linux/x86/Implies                            |  1 +
 sysdeps/x86/{ => nptl}/bits/pthreadtypes.h                     |  0
 5 files changed, 11 insertions(+)
 rename sysdeps/{unix/sysv/linux/alpha => alpha/nptl}/bits/pthreadtypes.h (100%)
 rename sysdeps/{unix/sysv/linux/powerpc => powerpc/nptl}/bits/pthreadtypes.h (100%)
 create mode 100644 sysdeps/unix/sysv/linux/x86/Implies
 rename sysdeps/x86/{ => nptl}/bits/pthreadtypes.h (100%)

-- 
2.7.4

Comments

Adhemerval Zanella April 10, 2017, 6:21 p.m. UTC | #1
On 03/04/2017 12:08, Adhemerval Zanella wrote:
> 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.


If no one opposes I will commit it shortly.

> 

> 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).

> ---

>  ChangeLog                                                      | 10 ++++++++++

>  .../{unix/sysv/linux/alpha => alpha/nptl}/bits/pthreadtypes.h  |  0

>  .../sysv/linux/powerpc => powerpc/nptl}/bits/pthreadtypes.h    |  0

>  sysdeps/unix/sysv/linux/x86/Implies                            |  1 +

>  sysdeps/x86/{ => nptl}/bits/pthreadtypes.h                     |  0

>  5 files changed, 11 insertions(+)

>  rename sysdeps/{unix/sysv/linux/alpha => alpha/nptl}/bits/pthreadtypes.h (100%)

>  rename sysdeps/{unix/sysv/linux/powerpc => powerpc/nptl}/bits/pthreadtypes.h (100%)

>  create mode 100644 sysdeps/unix/sysv/linux/x86/Implies

>  rename sysdeps/x86/{ => nptl}/bits/pthreadtypes.h (100%)

> 

> diff --git a/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h b/sysdeps/alpha/nptl/bits/pthreadtypes.h

> similarity index 100%

> rename from sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h

> rename to sysdeps/alpha/nptl/bits/pthreadtypes.h

> diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h b/sysdeps/powerpc/nptl/bits/pthreadtypes.h

> similarity index 100%

> rename from sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h

> rename to 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 0000000..e454b28

> --- /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

> similarity index 100%

> rename from sysdeps/x86/bits/pthreadtypes.h

> rename to sysdeps/x86/nptl/bits/pthreadtypes.h

>
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h b/sysdeps/alpha/nptl/bits/pthreadtypes.h
similarity index 100%
rename from sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
rename to sysdeps/alpha/nptl/bits/pthreadtypes.h
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h b/sysdeps/powerpc/nptl/bits/pthreadtypes.h
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
rename to 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 0000000..e454b28
--- /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
similarity index 100%
rename from sysdeps/x86/bits/pthreadtypes.h
rename to sysdeps/x86/nptl/bits/pthreadtypes.h