about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/power6
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2012-05-22 15:34:02 -0300
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2012-05-22 15:34:02 -0300
commit45470df3787aa9e97db24635b8b33066531430ad (patch)
tree5a7d5b614e345892d169bbc008e504379bda2f12 /sysdeps/powerpc/powerpc64/power6
parent83678f764bfc0b6b7a7427459f383aa55b2a1911 (diff)
downloadglibc-45470df3787aa9e97db24635b8b33066531430ad.tar.gz
glibc-45470df3787aa9e97db24635b8b33066531430ad.tar.xz
glibc-45470df3787aa9e97db24635b8b33066531430ad.zip
PowerPC: libm ABI update
Update for libm abilist for POWER6 and POWER7.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/power6')
-rw-r--r--sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S b/sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S
index 0765d8a47a..b632773ebc 100644
--- a/sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S
+++ b/sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S
@@ -47,9 +47,12 @@ strong_alias (__copysign, __copysignl)
 weak_alias (__copysign, copysignl)
 #endif
 
-#ifndef IS_IN_libm
+#ifdef IS_IN_libm
+# if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)
+compat_symbol (libm, copysign, copysignl, GLIBC_2_0)
+# endif
+#else
 # if LONG_DOUBLE_COMPAT(libc, GLIBC_2_0)
-compat_symbol (libc, __copysign, __copysignl, GLIBC_2_0);
 compat_symbol (libc, copysign, copysignl, GLIBC_2_0);
 # endif
 #endif