about summary refs log tree commit diff
path: root/sysdeps/s390/s390-64/multiarch/memcpy-s390x.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/s390-64/multiarch/memcpy-s390x.S')
-rw-r--r--sysdeps/s390/s390-64/multiarch/memcpy-s390x.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/s390/s390-64/multiarch/memcpy-s390x.S b/sysdeps/s390/s390-64/multiarch/memcpy-s390x.S
index 69fa562060..8f54526b76 100644
--- a/sysdeps/s390/s390-64/multiarch/memcpy-s390x.S
+++ b/sysdeps/s390/s390-64/multiarch/memcpy-s390x.S
@@ -88,7 +88,10 @@ END(__memcpy_z10)
 
 #include "../memcpy.S"
 
-#if !defined SHARED || !IS_IN (libc)
+#if defined SHARED && IS_IN (libc)
+.globl   __GI_memcpy
+.set     __GI_memcpy,__memcpy_default
+#else
 .globl   memcpy
 .set     memcpy,__memcpy_default
 #endif