PowerPC: Fix --disable-multi-arch builds

This patch fixes some powerpc32 and powerpc64 builds with
--disable-multi-arch option along with different --with-cpu=powerN.
It cleanups the Implies directories by removing the multiarch
folder for non multiarch config and also fixing two assembly
implementations: powerpc64/power7/strncat.S that is calling the
wrong strlen; and power8/fpu/s_isnan.S that misses the hidden_def and
weak_alias directives.
This commit is contained in:
Adhemerval Zanella 2014-04-08 17:25:14 -05:00
parent 862c472efa
commit de21c33c06
11 changed files with 31 additions and 6 deletions

View File

@ -1,3 +1,20 @@
2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
* sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
* sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
* sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
imply folder.
* sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
correct imply path.
* sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
strlen symbol for non multi-arch builds.
* sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
missing hidden_def and weak_alias.
2014-04-08 Carlos O'Donell <carlos@redhat.com>
* manual/ipc.texi (sem_close): AC-unsafe because of aculock.

View File

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

View File

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

View File

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

View File

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

View File

@ -1 +1 @@
sysdeps/powerpc/powerpc64/power6/fpu/multiarch
powerpc/powerpc64/power6/fpu/multiarch

View File

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

View File

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

View File

@ -38,7 +38,9 @@
#endif
#ifndef STRLEN
# define STRLEN __strlen_ppc
/* For builds with no IFUNC support, local calls should be made to internal
GLIBC symbol (created by libc_hidden_builtin_def). */
# define STRLEN __GI_strlen
#endif
#define FRAMESIZE (FRAME_MIN_SIZE+32)

View File

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

View File

@ -39,6 +39,9 @@ EALIGN (__isnan, 4, 0)
blr
END (__isnan)
hidden_def (__isnan)
weak_alias (__isnan, isnan)
/* It turns out that the 'double' version will also always work for
single-precision. */
strong_alias (__isnan, __isnanf)