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:
parent
862c472efa
commit
de21c33c06
17
ChangeLog
17
ChangeLog
@ -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.
|
||||
|
1
sysdeps/powerpc/powerpc32/power6x/fpu/Implies
Normal file
1
sysdeps/powerpc/powerpc32/power6x/fpu/Implies
Normal file
@ -0,0 +1 @@
|
||||
powerpc/powerpc32/power6/fpu
|
@ -1 +1 @@
|
||||
powerpc/powerpc64/power5/fpu/multiarch
|
||||
powerpc/powerpc64/power5/fpu
|
||||
|
@ -1 +1 @@
|
||||
powerpc/powerpc64/power4/fpu/multiarch
|
||||
powerpc/powerpc64/power4/fpu/
|
||||
|
1
sysdeps/powerpc/powerpc64/power6x/fpu/Implies
Normal file
1
sysdeps/powerpc/powerpc64/power6x/fpu/Implies
Normal file
@ -0,0 +1 @@
|
||||
powerpc/powerpc64/power6/fpu
|
@ -1 +1 @@
|
||||
sysdeps/powerpc/powerpc64/power6/fpu/multiarch
|
||||
powerpc/powerpc64/power6/fpu/multiarch
|
||||
|
1
sysdeps/powerpc/powerpc64/power6x/multiarch/Implies
Normal file
1
sysdeps/powerpc/powerpc64/power6x/multiarch/Implies
Normal file
@ -0,0 +1 @@
|
||||
powerpc/powerpc64/power6/multiarch
|
@ -1 +1 @@
|
||||
powerpc/powerpc64/power6/fpu/multiarch
|
||||
powerpc/powerpc64/power6/fpu
|
||||
|
@ -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)
|
||||
|
@ -1 +1 @@
|
||||
powerpc/powerpc64/power7/fpu/multiarch
|
||||
powerpc/powerpc64/power7/fpu/
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user