diff options
author | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2016-05-30 18:00:57 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2016-06-06 16:03:29 -0300 |
commit | c24480ce3b5fed848243fc9642932ef2fa670109 (patch) | |
tree | baa3e66991dd688df62c3b296016bb15d0ef1650 /sysdeps/powerpc/powerpc64/power8/stpncpy.S | |
parent | b5537473c2ccb6874985e3d2bc0a0c7e204213bd (diff) | |
download | glibc-c24480ce3b5fed848243fc9642932ef2fa670109.zip glibc-c24480ce3b5fed848243fc9642932ef2fa670109.tar.gz glibc-c24480ce3b5fed848243fc9642932ef2fa670109.tar.bz2 |
powerpc: Fix --disable-multi-arch build on POWER8
Add missing symbols of stpncpy and strcasestr when multi-arch is
disabled.
Fix memset call from strncpy/stpncpy when multi-arch is disabled.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/power8/stpncpy.S')
-rw-r--r-- | sysdeps/powerpc/powerpc64/power8/stpncpy.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/power8/stpncpy.S b/sysdeps/powerpc/powerpc64/power8/stpncpy.S index 067910b..9393dd4 100644 --- a/sysdeps/powerpc/powerpc64/power8/stpncpy.S +++ b/sysdeps/powerpc/powerpc64/power8/stpncpy.S @@ -18,3 +18,7 @@ #define USE_AS_STPNCPY #include <sysdeps/powerpc/powerpc64/power8/strncpy.S> + +weak_alias (__stpncpy, stpncpy) +libc_hidden_def (__stpncpy) +libc_hidden_builtin_def (stpncpy) |