glibc/sysdeps/powerpc
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
..
bits Fix misspellings in sysdeps/powerpc -- BZ 25337 2023-05-23 15:23:09 +00:00
fpu sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Fix warn unused result 2023-06-22 00:21:17 -04:00
nofpu Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nptl Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
power4 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
power6 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
powerpc32 configure: Use autoconf 2.71 2023-07-17 10:08:10 -04:00
powerpc64 powerpc: Fix powerpc64 strchrnul build with old gcc 2023-07-26 09:45:22 -03:00
sys/platform Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
abort-instr.h Update. 2002-09-15 18:31:23 +00:00
atomic-machine.h Fix misspellings in sysdeps/powerpc -- BZ 25337 2023-05-23 15:23:09 +00:00
cpu-features.c Remove --enable-tunables configure option 2023-03-29 14:33:06 -03:00
cpu-features.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dl-lookupcfg.h sparc: Fix la_symbind for bind-now (BZ 23734) 2023-07-12 15:29:08 -03:00
dl-procinfo.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dl-procinfo.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dl-tls.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dl-tls.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dl-tunables.list Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elf-initfini.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ffs.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fpu_control.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gccframe.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
hwcapinfo.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
hwcapinfo.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ifunc-sel.h Fix powerpc ifunc-sel.h build for -Os. 2018-03-02 22:27:56 +00:00
jmpbuf-offsets.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
jmpbuf-unwind.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ldsodefs.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
libc-tls.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
locale-defines.sym powerpc: strcasestr optmization for power8 2016-04-22 19:23:13 +05:30
longjmp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
machine-gmon.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Makefile powerpc: Fix unrecognized instruction errors with recent binutils 2021-09-29 14:42:20 -05:00
math-tests-snan-cast.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mod-cache-ppc.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mod-tlsopt-powerpc.c elf/tst-tlsopt-powerpc fails when compiled with -mcpu=power10 (BZ# 29776) 2022-11-14 22:04:25 +10:30
mp_clz_tab.c Update. 2002-03-14 20:48:50 +00:00
novmx-longjmp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
novmx-sigjmp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
novmxsetjmp.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
preconfigure configure: Use autoconf 2.71 2023-07-17 10:08:10 -04:00
preconfigure.ac powerpc: Add support for POWER10 2020-06-29 10:08:38 -03:00
rtld-global-offsets.sym powerpc: Move cache line size to rtld_global_ro 2020-01-17 09:05:03 -03:00
sigjmp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sotruss-lib.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
stackinfo.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
string-fza.h powerpc: Add string-fza.h 2023-02-06 16:19:35 -03:00
sysdep.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-arith.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-arithf.c Update. 1997-08-10 18:37:15 +00:00
test-get_hwcap-static.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-get_hwcap.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-gettimebase.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cache-ppc-static-dlopen.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cache-ppc-static.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cache-ppc.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-set_ppr.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-stack-align.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-tlsifunc-static.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-tlsifunc.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-tlsopt-powerpc.c tst-tlsopt-powerpc as a shared lib 2017-08-03 15:39:21 +09:30
Versions nptl: Move __pthread_unwind_next into libc 2021-04-21 19:49:50 +02:00