aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/s390/wcscpy-vx.S6
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 92615ed..85506ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-03-01 Stefan Liebler <stli@linux.ibm.com>
+
+ * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
+ __wcscpy, __GI___wcscpy and weak alias to wcscpy.
+
2019-03-01 Florian Weimer <fweimer@redhat.com>
[BZ #20271]
diff --git a/sysdeps/s390/wcscpy-vx.S b/sysdeps/s390/wcscpy-vx.S
index e797fec..5fe110f 100644
--- a/sysdeps/s390/wcscpy-vx.S
+++ b/sysdeps/s390/wcscpy-vx.S
@@ -111,6 +111,10 @@ ENTRY(WCSCPY_Z13)
END(WCSCPY_Z13)
# if ! HAVE_WCSCPY_IFUNC
-strong_alias (WCSCPY_Z13, wcscpy)
+strong_alias (WCSCPY_Z13, __wcscpy)
+weak_alias (__wcscpy, wcscpy)
+# if defined SHARED && IS_IN (libc)
+strong_alias (__wcscpy, __GI___wcscpy)
+# endif
# endif
#endif