about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/power8/strcasestr.S
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2016-05-30 18:00:57 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2016-06-06 16:03:29 -0300
commitc24480ce3b5fed848243fc9642932ef2fa670109 (patch)
treebaa3e66991dd688df62c3b296016bb15d0ef1650 /sysdeps/powerpc/powerpc64/power8/strcasestr.S
parentb5537473c2ccb6874985e3d2bc0a0c7e204213bd (diff)
downloadglibc-c24480ce3b5fed848243fc9642932ef2fa670109.tar.gz
glibc-c24480ce3b5fed848243fc9642932ef2fa670109.tar.xz
glibc-c24480ce3b5fed848243fc9642932ef2fa670109.zip
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/strcasestr.S')
-rw-r--r--sysdeps/powerpc/powerpc64/power8/strcasestr.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc64/power8/strcasestr.S b/sysdeps/powerpc/powerpc64/power8/strcasestr.S
index 24b2b76564..60015ae782 100644
--- a/sysdeps/powerpc/powerpc64/power8/strcasestr.S
+++ b/sysdeps/powerpc/powerpc64/power8/strcasestr.S
@@ -81,7 +81,7 @@
 /* TODO: change this to .machine power8 when the minimum required binutils
    allows it.  */
 	.machine  power7
-EALIGN (strcasestr, 4, 0)
+EALIGN (__strcasestr, 4, 0)
 	CALL_MCOUNT 2
 	mflr	r0			/* Load link register LR to r0.  */
 	std	r31, -8(r1)		/* Save callers register r31.  */
@@ -527,5 +527,8 @@ L(end):
 	cfi_restore(r31)
 	mtlr	r0		/* Branch to link register.  */
 	blr
-END (strcasestr)
+END (__strcasestr)
+
+weak_alias (__strcasestr, strcasestr)
+libc_hidden_def (__strcasestr)
 libc_hidden_builtin_def (strcasestr)