From c24480ce3b5fed848243fc9642932ef2fa670109 Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Mon, 30 May 2016 18:00:57 -0300 Subject: 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. --- sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S') diff --git a/sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S b/sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S index 3263bbd70a..752215572c 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S +++ b/sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S @@ -37,4 +37,7 @@ #undef libc_hidden_builtin_def #define libc_hidden_builtin_def(name) +/* memset is used to pad the end of the string. */ +#define MEMSET __memset_power8 + #include -- cgit 1.4.1