mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 07:40:27 +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> |
||
|---|---|---|
| .. | ||
| libbuiltin | ||
| libc | ||
| libdsp | ||
| libm | ||
| libnx | ||
| libxx | ||
| CMakeLists.txt | ||