glibc/sysdeps/powerpc/powerpc64/multiarch
Adhemerval Zanella Netto 648c3b574d powerpc: Fix powerpc64 strchrnul build with old gcc
The compiler might not see that internal definition is an alias
due the libc_ifunc macro, which redefines __strchrnul.  With
gcc 6 it fails with:

In file included from <command-line>:0:0:
./../include/libc-symbols.h:472:33: error: ‘__EI___strchrnul’ aliased to
undefined symbol ‘__GI___strchrnul’
   extern thread __typeof (name) __EI_##name \
                                 ^
./../include/libc-symbols.h:468:3: note: in expansion of macro
‘__hidden_ver2’
   __hidden_ver2 (, local, internal, name)
   ^~~~~~~~~~~~~
./../include/libc-symbols.h:476:29: note: in expansion of macro
‘__hidden_ver1’
 #  define hidden_def(name)  __hidden_ver1(__GI_##name, name, name);
                             ^~~~~~~~~~~~~
./../include/libc-symbols.h:557:32: note: in expansion of macro
‘hidden_def’
 # define libc_hidden_def(name) hidden_def (name)
                                ^~~~~~~~~~
../sysdeps/powerpc/powerpc64/multiarch/strchrnul.c:38:1: note: in
expansion of macro ‘libc_hidden_def’
 libc_hidden_def (__strchrnul)
 ^~~~~~~~~~~~~~~

Use libc_ifunc_hidden as stpcpy.  Checked on powerpc64 with
gcc 6 and gcc 13.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2023-07-26 09:45:22 -03:00
..
ifunc-impl-list.c powerpc: Remove powerpc64 strncmp variants 2023-03-02 16:41:43 -03:00
init-arch.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Makefile powerpc: Disable stack protector in early static initialization 2023-04-03 17:42:08 -03:00
memchr-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memchr-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memchr-ppc64.c string: Improve generic memchr 2023-02-06 16:19:35 -03:00
memchr.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcmp-power4.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcmp-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcmp-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcmp-power10.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcmp-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcmp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcpy-a2.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcpy-cell.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcpy-power4.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcpy-power6.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcpy-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcpy-power8-cached.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcpy-power10.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcpy-ppc64.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memcpy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memmove-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memmove-power10.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memmove-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memmove.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mempcpy-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mempcpy-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mempcpy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memrchr-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memrchr-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memrchr-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memrchr.c string: Add libc_hidden_proto for memrchr 2023-02-08 17:13:58 -03:00
memset-power4.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memset-power6.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memset-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memset-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memset-power10.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memset-ppc64.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
memset.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rawmemchr-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rawmemchr-power9.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rawmemchr-power10.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rawmemchr-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rawmemchr.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rtld-memset.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rtld-strchr.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rtld-strcspn.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
stpcpy-power7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
stpcpy-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
stpcpy-power9.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
stpcpy-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
stpcpy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
stpncpy-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
stpncpy-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
stpncpy-power9.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
stpncpy-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
stpncpy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcasecmp_l-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcasecmp_l.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcasecmp-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcasecmp-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcasecmp-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcasecmp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcasestr-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcasestr-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcasestr.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcat-power7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcat-power8.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcat-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strchr-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strchr-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strchr-ppc64.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strchr.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strchrnul-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strchrnul-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strchrnul-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strchrnul.c powerpc: Fix powerpc64 strchrnul build with old gcc 2023-07-26 09:45:22 -03:00
strcmp-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcmp-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcmp-power9.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcmp-ppc64.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcmp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcpy-power7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcpy-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcpy-power9.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcpy-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcpy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcspn-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcspn-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strcspn.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strlen-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strlen-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strlen-power9.S powerpc64le: add optimized strlen for P9 2020-06-05 15:30:00 -05:00
strlen-power10.S powerpc: Add optimized strlen for POWER10 2021-04-22 16:18:06 -03:00
strlen-ppc64.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strlen.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncase_l-power7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncase_l.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncase-power7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncase-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncase-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncase.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncat-power7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncat-power8.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncat-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncmp-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncmp-power9.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncmp-ppc64.c powerpc: Remove powerpc64 strncmp variants 2023-03-02 16:41:43 -03:00
strncmp.c powerpc: Remove powerpc64 strncmp variants 2023-03-02 16:41:43 -03:00
strncpy-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncpy-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncpy-power9.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncpy-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strncpy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strnlen-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strnlen-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strnlen-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strnlen.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strrchr-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strrchr-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strrchr-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strrchr.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strspn-power8.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strspn-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strspn.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strstr-power7.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strstr-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strstr.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
wordcopy-ppc64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00