mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
PowerPC: Fix optimized strncat strlen call
This patch fixes the optimized ppc64/power7 strncat strlen call for static build without ifunc enabled. The strlen symbol to call in such situation is just strlen, instead of __GI_strlen (since the __GI_ alias is just created for shared objects).
This commit is contained in:
parent
fc75bf464d
commit
ed36bfa18f
@ -1,3 +1,8 @@
|
||||
2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
|
||||
strlen for non SHARED builds.
|
||||
|
||||
2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* nptl/allocatestack.c (check_list): Inlined function...
|
||||
|
@ -40,7 +40,11 @@
|
||||
#ifndef STRLEN
|
||||
/* For builds with no IFUNC support, local calls should be made to internal
|
||||
GLIBC symbol (created by libc_hidden_builtin_def). */
|
||||
# define STRLEN __GI_strlen
|
||||
# ifdef SHARED
|
||||
# define STRLEN __GI_strlen
|
||||
# else
|
||||
# define STRLEN strlen
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define FRAMESIZE (FRAME_MIN_SIZE+32)
|
||||
|
Loading…
Reference in New Issue
Block a user