[PATCH] powerpc64le: Create divergent sysdep directory for powerpc64le.
Gabriel F. T. Gomes
gftg@linux.vnet.ibm.com
Wed Apr 26 15:57:00 GMT 2017
From: "Paul E. Murphy" <murphyp@linux.vnet.ibm.com>
float128 on powerpc64le requires the addition of the ieee754/float128
sysdep, whereas powerpc64 doesn't. This requires creating a bunch of
submachine and cpu directories and Implies files which just point
towards their powerpc64 equivalent.
Tested on P7, P8, and generic powerpc64le targets with and without
multiarch.
* sysdeps/powerpc/powerpc64le/Implies: New file.
* sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
* sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
* sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
* sysdeps/powerpc/powerpc64le/power7/Implies: New file.
* sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
* sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
* sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
* sysdeps/powerpc/powerpc64le/power8/Implies: New file.
* sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
* sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
* sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
* sysdeps/powerpc/powerpc64le/power9/Implies: New file.
* sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
* sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
* sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
* sysdeps/powerpc/preconfigure: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
---
sysdeps/powerpc/powerpc64le/Implies | 1 +
sysdeps/powerpc/powerpc64le/fpu/Implies | 1 +
sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies | 1 +
sysdeps/powerpc/powerpc64le/multiarch/Implies | 1 +
sysdeps/powerpc/powerpc64le/power7/Implies | 1 +
sysdeps/powerpc/powerpc64le/power7/fpu/Implies | 1 +
sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies | 1 +
sysdeps/powerpc/powerpc64le/power7/multiarch/Implies | 1 +
sysdeps/powerpc/powerpc64le/power8/Implies | 1 +
sysdeps/powerpc/powerpc64le/power8/fpu/Implies | 1 +
sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies | 1 +
sysdeps/powerpc/powerpc64le/power8/multiarch/Implies | 1 +
sysdeps/powerpc/powerpc64le/power9/Implies | 1 +
sysdeps/powerpc/powerpc64le/power9/fpu/Implies | 1 +
sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies | 1 +
sysdeps/powerpc/powerpc64le/power9/multiarch/Implies | 1 +
sysdeps/powerpc/preconfigure | 3 +++
sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies | 1 +
sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies | 1 +
19 files changed, 21 insertions(+)
create mode 100644 sysdeps/powerpc/powerpc64le/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/fpu/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/multiarch/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power7/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power7/fpu/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power7/multiarch/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power8/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power8/fpu/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power8/multiarch/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power9/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power9/fpu/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies
create mode 100644 sysdeps/powerpc/powerpc64le/power9/multiarch/Implies
create mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies
create mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies
diff --git a/sysdeps/powerpc/powerpc64le/Implies b/sysdeps/powerpc/powerpc64le/Implies
new file mode 100644
index 0000000..a105a32
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64
diff --git a/sysdeps/powerpc/powerpc64le/fpu/Implies b/sysdeps/powerpc/powerpc64le/fpu/Implies
new file mode 100644
index 0000000..c1f617b
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/fpu/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/fpu
diff --git a/sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies b/sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies
new file mode 100644
index 0000000..8d6531a
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/fpu/multiarch
diff --git a/sysdeps/powerpc/powerpc64le/multiarch/Implies b/sysdeps/powerpc/powerpc64le/multiarch/Implies
new file mode 100644
index 0000000..30edcf7
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/multiarch
diff --git a/sysdeps/powerpc/powerpc64le/power7/Implies b/sysdeps/powerpc/powerpc64le/power7/Implies
new file mode 100644
index 0000000..eedef82
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power7/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power7
diff --git a/sysdeps/powerpc/powerpc64le/power7/fpu/Implies b/sysdeps/powerpc/powerpc64le/power7/fpu/Implies
new file mode 100644
index 0000000..8447198
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power7/fpu/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power7/fpu
diff --git a/sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies b/sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies
new file mode 100644
index 0000000..7fd86fd
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power7/fpu/multiarch
diff --git a/sysdeps/powerpc/powerpc64le/power7/multiarch/Implies b/sysdeps/powerpc/powerpc64le/power7/multiarch/Implies
new file mode 100644
index 0000000..1fc7b7c
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power7/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power7/multiarch
diff --git a/sysdeps/powerpc/powerpc64le/power8/Implies b/sysdeps/powerpc/powerpc64le/power8/Implies
new file mode 100644
index 0000000..3c37351
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power8/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power8
diff --git a/sysdeps/powerpc/powerpc64le/power8/fpu/Implies b/sysdeps/powerpc/powerpc64le/power8/fpu/Implies
new file mode 100644
index 0000000..ae0dbaf
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power8/fpu/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power8/fpu
diff --git a/sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies b/sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies
new file mode 100644
index 0000000..f11e1bd
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power8/fpu/multiarch
diff --git a/sysdeps/powerpc/powerpc64le/power8/multiarch/Implies b/sysdeps/powerpc/powerpc64le/power8/multiarch/Implies
new file mode 100644
index 0000000..dd6bca4
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power8/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power8/multiarch
diff --git a/sysdeps/powerpc/powerpc64le/power9/Implies b/sysdeps/powerpc/powerpc64le/power9/Implies
new file mode 100644
index 0000000..efe5d41
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power9/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power9
diff --git a/sysdeps/powerpc/powerpc64le/power9/fpu/Implies b/sysdeps/powerpc/powerpc64le/power9/fpu/Implies
new file mode 100644
index 0000000..3633114
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power9/fpu/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power9/fpu/
diff --git a/sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies b/sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies
new file mode 100644
index 0000000..1059480
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power9/fpu/multiarch
diff --git a/sysdeps/powerpc/powerpc64le/power9/multiarch/Implies b/sysdeps/powerpc/powerpc64le/power9/multiarch/Implies
new file mode 100644
index 0000000..02be30c
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64le/power9/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power9/multiarch
diff --git a/sysdeps/powerpc/preconfigure b/sysdeps/powerpc/preconfigure
index 0c6fdde..7de2eaf 100644
--- a/sysdeps/powerpc/preconfigure
+++ b/sysdeps/powerpc/preconfigure
@@ -1,6 +1,9 @@
# preconfigure fragment for powerpc.
case "$machine" in
+powerpc64le)
+ base_machine=powerpc machine=powerpc/powerpc64le
+ ;;
powerpc64*)
base_machine=powerpc machine=powerpc/powerpc64
;;
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies
new file mode 100644
index 0000000..4eacd3a
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies
@@ -0,0 +1 @@
+unix/sysv/linux/powerpc/powerpc64
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies
new file mode 100644
index 0000000..5da96db
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies
@@ -0,0 +1 @@
+unix/sysv/linux/powerpc/powerpc64/fpu
--
2.4.11
More information about the Libc-alpha
mailing list