powerpc64*: fix the order of implied sysdeps directories

The creation of the divergent sysdeps directory for powerpc64le

commit 2f7f3cd8cd
Author: Paul E. Murphy <murphyp@linux.vnet.ibm.com>
Date:   Fri Jul 15 18:04:40 2016 -0500

    powerpc64le: Create divergent sysdep directory for powerpc64le.

allowed float128 to be enabled for powerpc64le (little-endian) and not
for powerpc64 (big-endian).  Since the only intended difference between
them was the presence or absence of the float128 interface, the sysdeps
directory for powerpc64le explicitly reused the files from powerpc64
(through the use of Implies files).

Although this works, it also means that files under the powerpc64
directory might be preferred over files under powerpc64le.  For
instance, on a build for powerpc64le with target set to power9, a file
from powerpc64/power5 might get built, even though a file with the same
name exists in powerpc64le/power8.  That happens because the processor
hierarchy was only defined in the sysdeps directory for powerpc64 (and
borrowed by powerpc64le).

This patch fixes this behavior, by creating new subdirectories under
powerpc64 (i.e.: powerpc64/be and powerpc64/le) and creating new Implies
files to provide the hierarchy of processors for powerpc64 and
powerpc64le separately.  These changes have no effect on installed,
stripped binaries (which remain unchanged).

Tested that installed stripped binaries are unchanged and that there are
no regressions on powerpc64 and powerpc64le.
This commit is contained in:
Gabriel F. T. Gomes 2018-03-09 16:59:14 -03:00
parent a3fb6b6bc3
commit 3a33b06969
116 changed files with 258 additions and 60 deletions

158
ChangeLog
View File

@ -1,3 +1,161 @@
2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
* sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
to powerpc/powerpc64/be for big-endian.
[machine == powerpc64le]: Define to powerpc/powerpc64/le for
little-endian.
* sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
* sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
adjusted to imply powerpc64 and older processors on powerpc64/be.
* sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
* sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
* sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
* sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/Implies: New file.
* sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
* sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
* sysdeps/powerpc/powerpc64le/Makefile: Likewise.
* sysdeps/powerpc/powerpc64le/configure: Likewise.
* sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
* sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
* sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
* sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
* sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
* sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
* sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
* sysdeps/powerpc/powerpc64/le/configure: Likewise.
* sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
* sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
* sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
* sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
* sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
* sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
and adjusted to imply olders processors.
* sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
* sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
powerpc64/le.
* sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
powerpc64le.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
powerpc64/be.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
powerpc64 and adjusted.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
Likewise.
2018-04-27 Joseph Myers <joseph@codesourcery.com>
* sysdeps/tile: Remove.

View File

@ -1,2 +0,0 @@
powerpc/powerpc64/power4/fpu
powerpc/powerpc64/power4

View File

@ -0,0 +1 @@
powerpc/powerpc64/power4

View File

@ -0,0 +1 @@
powerpc/powerpc64/a2

View File

@ -0,0 +1 @@
powerpc/powerpc64/cell

View File

@ -1,2 +1,3 @@
powerpc/powerpc64/power4
powerpc/power4/fpu
powerpc/power4

View File

@ -0,0 +1,5 @@
powerpc/powerpc64/power5+
powerpc/power5+/fpu
powerpc/power5+
powerpc/powerpc64/be/power5/fpu
powerpc/powerpc64/be/power5

View File

@ -0,0 +1,2 @@
powerpc/powerpc64/power5+/fpu
powerpc/powerpc64/be/power5/fpu

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power5/fpu/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power5/multiarch

View File

@ -0,0 +1,3 @@
powerpc/powerpc64/power5
powerpc/powerpc64/be/power4/fpu
powerpc/powerpc64/be/power4

View File

@ -0,0 +1,2 @@
powerpc/powerpc64/power5/fpu
powerpc/powerpc64/be/power4/fpu/

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power4/fpu/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power4/multiarch

View File

@ -0,0 +1,3 @@
powerpc/powerpc64/power6
powerpc/powerpc64/be/power5+/fpu
powerpc/powerpc64/be/power5+

View File

@ -0,0 +1,2 @@
powerpc/powerpc64/power6/fpu
powerpc/powerpc64/be/power5+/fpu

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power5+/fpu/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power5+/multiarch

View File

@ -0,0 +1,3 @@
powerpc/powerpc64/power6x
powerpc/powerpc64/be/power6/fpu
powerpc/powerpc64/be/power6

View File

@ -0,0 +1,2 @@
powerpc/powerpc64/power6x/fpu
powerpc/powerpc64/be/power6/fpu

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power6/fpu/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power6/multiarch

View File

@ -0,0 +1,3 @@
powerpc/powerpc64/power7
powerpc/powerpc64/be/power6/fpu
powerpc/powerpc64/be/power6

View File

@ -0,0 +1,2 @@
powerpc/powerpc64/power7/fpu
powerpc/powerpc64/be/power6/fpu

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power6/fpu/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power6/multiarch

View File

@ -0,0 +1,3 @@
powerpc/powerpc64/power8
powerpc/powerpc64/be/power7/fpu
powerpc/powerpc64/be/power7

View File

@ -0,0 +1,2 @@
powerpc/powerpc64/power8/fpu
powerpc/powerpc64/be/power7/fpu/

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power7/fpu/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power7/multiarch

View File

@ -0,0 +1,3 @@
powerpc/powerpc64/power9
powerpc/powerpc64/be/power8/fpu
powerpc/powerpc64/be/power8

View File

@ -0,0 +1,2 @@
powerpc/powerpc64/power9/fpu
powerpc/powerpc64/be/power8/fpu

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power8/fpu/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64/be/power8/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64

View File

@ -0,0 +1 @@
powerpc/powerpc64/fpu

View File

@ -0,0 +1 @@
powerpc/powerpc64/fpu/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64/multiarch

View File

@ -0,0 +1,13 @@
powerpc/powerpc64/power7
powerpc/powerpc64/power6/fpu
powerpc/powerpc64/power6
powerpc/powerpc64/power5+/fpu
powerpc/powerpc64/power5+
powerpc/power5+/fpu
powerpc/power5+
powerpc/powerpc64/power5/fpu
powerpc/powerpc64/power5
powerpc/powerpc64/power4
powerpc/power4/fpu
powerpc/power4
powerpc/powerpc64/le

View File

@ -0,0 +1,5 @@
powerpc/powerpc64/power7/fpu
powerpc/powerpc64/power6/fpu
powerpc/powerpc64/power5+/fpu
powerpc/powerpc64/power5/fpu
powerpc/powerpc64/le/fpu

View File

@ -0,0 +1 @@
powerpc/powerpc64/le/fpu/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64/le/multiarch

View File

@ -0,0 +1,2 @@
powerpc/powerpc64/power8
powerpc/powerpc64/le/power7

View File

@ -0,0 +1,2 @@
powerpc/powerpc64/power8/fpu
powerpc/powerpc64/le/power7/fpu

View File

@ -0,0 +1 @@
powerpc/powerpc64/le/power7/fpu/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64/le/power7/multiarch

View File

@ -0,0 +1,2 @@
powerpc/powerpc64/power9
powerpc/powerpc64/le/power8

View File

@ -0,0 +1,2 @@
powerpc/powerpc64/power9/fpu
powerpc/powerpc64/le/power8/fpu

View File

@ -0,0 +1 @@
powerpc/powerpc64/le/power8/fpu/multiarch

View File

@ -0,0 +1 @@
powerpc/powerpc64/le/power8/multiarch

View File

@ -1,4 +0,0 @@
powerpc/power5+/fpu
powerpc/power5+
powerpc/powerpc64/power5/fpu
powerpc/powerpc64/power5

View File

@ -1 +0,0 @@
powerpc/powerpc64/power5/fpu

View File

@ -1 +0,0 @@
powerpc/powerpc64/power5/fpu/multiarch

View File

@ -1 +0,0 @@
powerpc/powerpc64/power5/multiarch

View File

@ -1,2 +0,0 @@
powerpc/powerpc64/power4/fpu
powerpc/powerpc64/power4

View File

@ -1 +0,0 @@
powerpc/powerpc64/power4/fpu/

View File

@ -1 +0,0 @@
powerpc/powerpc64/power4/fpu/multiarch

View File

@ -1 +0,0 @@
powerpc/powerpc64/power4/multiarch

View File

@ -1,2 +0,0 @@
powerpc/powerpc64/power5+/fpu
powerpc/powerpc64/power5+

View File

@ -1 +0,0 @@
powerpc/powerpc64/power5+/fpu

View File

@ -1 +0,0 @@
powerpc/powerpc64/power5+/fpu/multiarch

View File

@ -1 +0,0 @@
powerpc/powerpc64/power5+/multiarch

View File

@ -1,2 +0,0 @@
powerpc/powerpc64/power6/fpu
powerpc/powerpc64/power6

View File

@ -1 +0,0 @@
powerpc/powerpc64/power6/fpu

View File

@ -1 +0,0 @@
powerpc/powerpc64/power6/fpu/multiarch

View File

@ -1 +0,0 @@
powerpc/powerpc64/power6/multiarch

View File

@ -1,2 +0,0 @@
powerpc/powerpc64/power6/fpu
powerpc/powerpc64/power6

View File

@ -1 +0,0 @@
powerpc/powerpc64/power6/fpu

View File

@ -1 +0,0 @@
powerpc/powerpc64/power6/fpu/multiarch

View File

@ -1 +0,0 @@
powerpc/powerpc64/power6/multiarch

View File

@ -1,2 +0,0 @@
powerpc/powerpc64/power7/fpu
powerpc/powerpc64/power7

View File

@ -1 +0,0 @@
powerpc/powerpc64/power7/fpu/

View File

@ -1 +0,0 @@
powerpc/powerpc64/power7/fpu/multiarch

View File

@ -1 +0,0 @@
powerpc/powerpc64/power7/multiarch

View File

@ -1,2 +0,0 @@
powerpc/powerpc64/power8/fpu
powerpc/powerpc64/power8

View File

@ -1 +0,0 @@
powerpc/powerpc64/power8/fpu

View File

@ -1 +0,0 @@
powerpc/powerpc64/power8/fpu/multiarch

View File

@ -1 +0,0 @@
powerpc/powerpc64/power8/multiarch

View File

@ -1 +0,0 @@
powerpc/powerpc64/power7

View File

@ -1 +0,0 @@
powerpc/powerpc64/power7/fpu

View File

@ -1 +0,0 @@
powerpc/powerpc64/power7/fpu/multiarch

View File

@ -1 +0,0 @@
powerpc/powerpc64/power7/multiarch

View File

@ -1 +0,0 @@
powerpc/powerpc64/power8

View File

@ -1 +0,0 @@
powerpc/powerpc64/power8/fpu

View File

@ -1 +0,0 @@
powerpc/powerpc64/power8/fpu/multiarch

View File

@ -1 +0,0 @@
powerpc/powerpc64/power8/multiarch

Some files were not shown because too many files have changed in this diff Show More