aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390/s390-32/multiarch/memcpy-s390.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/s390-32/multiarch/memcpy-s390.S')
-rw-r--r--sysdeps/s390/s390-32/multiarch/memcpy-s390.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/s390/s390-32/multiarch/memcpy-s390.S b/sysdeps/s390/s390-32/multiarch/memcpy-s390.S
index 4e30cdf6c6..92ffaea5ed 100644
--- a/sysdeps/s390/s390-32/multiarch/memcpy-s390.S
+++ b/sysdeps/s390/s390-32/multiarch/memcpy-s390.S
@@ -92,7 +92,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