glibc/sysdeps/powerpc
Wilco Dijkstra fdaf78656f Add bounds check to __libc_ifunc_impl_list
Add a proper bounds check to __libc_ifunc_impl_list. This makes MAX_IFUNC
redundant and fixes several targets that will write outside the array.
To avoid unnecessary large diffs, pass the maximum in the argument 'i' to
IFUNC_IMPL_ADD - 'max' can be used in new ifunc definitions and existing
ones can be updated if desired.

Passes buildmanyglibc.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2022-06-10 17:13:29 +01:00
..
bits
fpu math: Add math-use-builtins-fabs (BZ#29027) 2022-05-23 17:49:18 -03:00
nofpu
nptl powerpc64: Set up thread register for _dl_relocate_static_pie 2022-04-10 08:33:40 +09:30
power4
power6
powerpc32 Add bounds check to __libc_ifunc_impl_list 2022-06-10 17:13:29 +01:00
powerpc64 Add bounds check to __libc_ifunc_impl_list 2022-06-10 17:13:29 +01:00
sys/platform
abort-instr.h
atomic-machine.h
cpu-features.c
cpu-features.h
dl-lookupcfg.h
dl-procinfo.c
dl-procinfo.h
dl-tls.c
dl-tls.h
dl-tunables.list
elf-initfini.h
ffs.c
fpu_control.h
gccframe.h
hwcapinfo.c powerpc64: Set up thread register for _dl_relocate_static_pie 2022-04-10 08:33:40 +09:30
hwcapinfo.h powerpc64: Set up thread register for _dl_relocate_static_pie 2022-04-10 08:33:40 +09:30
ifunc-sel.h
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
libc-tls.c
locale-defines.sym
longjmp.c
machine-gmon.h
Makefile
math-tests-snan-cast.h
mod-cache-ppc.c
mod-tlsopt-powerpc.c
mp_clz_tab.c
novmx-longjmp.c
novmx-sigjmp.c
novmxsetjmp.h
preconfigure
preconfigure.ac
rtld-global-offsets.sym
sigjmp.c
sotruss-lib.c
stackinfo.h
sysdep.h
test-arith.c
test-arithf.c
test-get_hwcap-static.c
test-get_hwcap.c
test-gettimebase.c
tst-cache-ppc-static-dlopen.c
tst-cache-ppc-static.c
tst-cache-ppc.c
tst-set_ppr.c
tst-stack-align.h
tst-tlsifunc-static.c powerpc64: Set up thread register for _dl_relocate_static_pie 2022-04-10 08:33:40 +09:30
tst-tlsifunc.c elf: Replace PI_STATIC_AND_HIDDEN with opposite HIDDEN_VAR_NEEDS_DYNAMIC_RELOC 2022-04-26 09:26:22 -07:00
tst-tlsopt-powerpc.c
Versions