glibc/sysdeps/sparc
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
nptl
sparc32 sparc: Remove _dl_skip_args usage 2022-05-30 16:33:31 -03:00
sparc64 Add bounds check to __libc_ifunc_impl_list 2022-06-10 17:13:29 +01:00
sys
abort-instr.h
atomic-machine.h
backtrace.c
configure elf: Replace PI_STATIC_AND_HIDDEN with opposite HIDDEN_VAR_NEEDS_DYNAMIC_RELOC 2022-04-26 09:26:22 -07:00
configure.ac elf: Replace PI_STATIC_AND_HIDDEN with opposite HIDDEN_VAR_NEEDS_DYNAMIC_RELOC 2022-04-26 09:26:22 -07:00
cpu_relax.c
crti.S
crtn.S
dl-dtprocnum.h
dl-procinfo.c
dl-procinfo.h
dl-tls.h
elf-initfini.h
gccframe.h
ldsodefs.h
machine-gmon.h
Makefile
mempcpy.S
preconfigure
sparc-ifunc.h
sparc-mcount.S
stackinfo.h
Subdirs
sysdep.h
unwind-arch.h