From de21c33c068c8e39afb5711613a7c083c11ce6a1 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 8 Apr 2014 17:25:14 -0500 Subject: 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. --- sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S') diff --git a/sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S b/sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S index b03c896acf..cf119e5c98 100644 --- a/sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S +++ b/sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S @@ -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) -- cgit 1.4.1