]> git.ipfire.org Git - thirdparty/glibc.git/commit
powerpc: Fix strstr/power7 build
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Jul 2015 18:34:25 +0000 (15:34 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.com>
Tue, 11 Aug 2015 13:03:09 +0000 (10:03 -0300)
commit357bb400f1b25e48e265fd55b5996328d2a8c142
treef9b0161bcbf8999f11b90789f19ab7eade730884
parentf25238ffe0455013174438376b3ee88df496f9d1
powerpc: Fix strstr/power7 build

This patch fixes the strstr build with --disable-multi-arch option.
The optimization calls the __strstr_ppc symbol, which always build
for multiarch config but not if it is disable.  This patch fixes it
by adding the default C implementation object with the expected
symbol name.

* sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
(sysdep_routines): Add strstr-ppc64.
* sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
ChangeLog
sysdeps/powerpc/powerpc64/power7/Makefile
sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c [new file with mode: 0644]