This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Multiarch optimization for strspn on POWERPC


Adhemerval Zanella <azanella@linux.vnet.ibm.com> writes:

> I also commit the obvious fix that I didn't see previously:
>
> diff --git a/sysdeps/powerpc/powerpc64/multiarch/strspn.c b/sysdeps/powerpc/powerpc64/multiarch/strspn.c
> index 44945f3..bf8c877 100644
> --- a/sysdeps/powerpc/powerpc64/multiarch/strspn.c
> +++ b/sysdeps/powerpc/powerpc64/multiarch/strspn.c
> @@ -16,7 +16,7 @@
>     License along with the GNU C Library; if not, see
>     <http://www.gnu.org/licenses/>.  */
>  
> -#if defined SHARED && !defined NOT_IN_libc
> +#ifndef NOT_IN_libc
>  # include <string.h>
>  # include <shlib-compat.h>
>  # include "init-arch.h"

The static libc generally should only contain the generic version.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]