mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
powerpc: make memchr use memchr-power7.
In powerpc64, memchr was always pointing to the internal __GI_memchr implementation. This patch fixes that and makes it use the optimized POWER7 version when adequate. * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make memchr not point to the internal __GI_memchr implementation.
This commit is contained in:
parent
e5dee2c896
commit
502b91de14
@ -1,3 +1,8 @@
|
||||
2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
|
||||
memchr not point to the internal __GI_memchr implementation.
|
||||
|
||||
2015-08-20 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* timezone/Makefile (CFLAGS-zdump.c): Remove
|
||||
|
@ -16,4 +16,16 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c>
|
||||
#include <string.h>
|
||||
|
||||
#define MEMCHR __memchr_ppc
|
||||
|
||||
#undef weak_alias
|
||||
#define weak_alias(a, b)
|
||||
|
||||
# undef libc_hidden_builtin_def
|
||||
# define libc_hidden_builtin_def(name)
|
||||
|
||||
extern __typeof (memchr) __memchr_ppc attribute_hidden;
|
||||
|
||||
#include <string/memchr.c>
|
||||
|
Loading…
Reference in New Issue
Block a user