mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 15:50:23 +00:00
libelf_relocateadd() passes sym as NULL for a relocation against symbol index 0, such as R_AARCH64_NONE. up_relocateadd() read sym->st_value first, so loading a module with such a relocation faulted in the kernel. Accept a NULL symbol for R_AARCH64_NONE and fail any other type, as the other architectures do. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com> |
||
|---|---|---|
| .. | ||
| arch_elf.c | ||
| arch_mcount.c | ||
| arch_memchr.S | ||
| arch_memcmp.S | ||
| arch_memcpy.S | ||
| arch_memmove.S | ||
| arch_memset.S | ||
| arch_setjmp.S | ||
| arch_strchr.S | ||
| arch_strchrnul.S | ||
| arch_strcmp.S | ||
| arch_strcpy.S | ||
| arch_strlen.S | ||
| arch_strncmp.S | ||
| arch_strnlen.S | ||
| arch_strrchr.S | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||