nuttx-update/libs
Ville Juven e384a6a625 libs/modlib.c: Set VMA for empty and unallocated sections
This fixes issue where empty and unallocated sections are left without
a VMA. Some relocations depend on the section VMA being set even if there
is no data there, as the binary can refer to the symbols. Linker defined
symbols do not contain data -> they can produce empty sections.

This issue is seen when building a loadable file which declares _sctors /
_sdtors linker defined symbols for ctor/dtor sections which are empty.
crt0 references these symbols, so they need to be relocated, but the
section VMA is not set -> they go outside of the addressable range of the
user binary causing a potential crash.
2024-10-17 13:38:01 +08:00
..
libc libs/modlib.c: Set VMA for empty and unallocated sections 2024-10-17 13:38:01 +08:00
libdsp libs/libdsp: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
libm libs/xxx/CMakeLists.txt: add cmake compile support 2024-10-16 12:33:54 +08:00
libnx libs/libnx: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
libxx libxx: Globally reference the header file of libcxxabi and remove duplication code. 2024-10-16 20:05:17 +08:00
CMakeLists.txt libs: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00