[2/3] powerpc: Fix strnlen/power7 build
Commit Message
This patch fixes the strnlen.S build with --disable-multi-arch option.
Checked on powerpc64le.
--
* sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen):
Add libc_hidden_def for strnlen and __strnlen and remove
the libc_hidden_builtin_def.
--
Comments
Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> This patch fixes the strnlen.S build with --disable-multi-arch option.
>
> Checked on powerpc64le.
>
> --
>
> * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen):
> Add libc_hidden_def for strnlen and __strnlen and remove
> the libc_hidden_builtin_def.
LGTM.
Thanks!
Pushed upstream as 14362ef154136223b0f77cb0351c31be865ab826
On 05-08-2015 16:00, Tulio Magno Quites Machado Filho wrote:
> Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
>
>> This patch fixes the strnlen.S build with --disable-multi-arch option.
>>
>> Checked on powerpc64le.
>>
>> --
>>
>> * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen):
>> Add libc_hidden_def for strnlen and __strnlen and remove
>> the libc_hidden_builtin_def.
>
> LGTM.
>
> Thanks!
>
@@ -173,5 +173,6 @@ L(loop_small):
blr
END (__strnlen)
+libc_hidden_def (__strnlen)
weak_alias (__strnlen, strnlen)
-libc_hidden_builtin_def (strnlen)
+libc_hidden_def (strnlen)