aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/powerpc/powerpc64/power6/wcscpy.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e276dea86..3a70b618ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
+
+ * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
+ __wcscpy, then use libc_hidden_def and weak_alias to bind it to
+ __GI___wcscpy and wcscpy.
+
2019-03-04 Florian Weimer <fweimer@redhat.com>
* sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
diff --git a/sysdeps/powerpc/powerpc64/power6/wcscpy.c b/sysdeps/powerpc/powerpc64/power6/wcscpy.c
index 722c8f995b..59cfb28832 100644
--- a/sysdeps/powerpc/powerpc64/power6/wcscpy.c
+++ b/sysdeps/powerpc/powerpc64/power6/wcscpy.c
@@ -1 +1,4 @@
+#define WCSCPY __wcscpy
#include <sysdeps/powerpc/power6/wcscpy.c>
+libc_hidden_def (__wcscpy)
+weak_alias (__wcscpy, wcscpy)