diff mbox

[2/3] powerpc: Fix strnlen/power7 build

Message ID 55B82385.6060305@linaro.org
State New
Headers show

Commit Message

Adhemerval Zanella Netto July 29, 2015, 12:51 a.m. UTC
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 Netto Aug. 11, 2015, 1:11 p.m. UTC | #1
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!
>
diff mbox

Patch

diff --git a/sysdeps/powerpc/powerpc64/power7/strnlen.S b/sysdeps/powerpc/powerpc64/power7/strnlen.S
index 2de267f..b966f7b 100644
--- a/sysdeps/powerpc/powerpc64/power7/strnlen.S
+++ b/sysdeps/powerpc/powerpc64/power7/strnlen.S
@@ -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)