mirror of git://sourceware.org/git/glibc.git
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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| aeabi_memcpy.c | ||
| ifunc-impl-list.c | ||
| ifunc-memchr.h | ||
| ifunc-memcpy.h | ||
| memchr.c | ||
| memchr_neon.S | ||
| memchr_noneon.S | ||
| memcpy.c | ||
| memcpy_arm.S | ||
| memcpy_impl.S | ||
| memcpy_neon.S | ||
| memcpy_vfp.S | ||
| rtld-memchr.S | ||
| rtld-memcpy.S | ||