nuttx/libs/libc/modlib
YAMAMOTO Takashi 51490bad55 modlib: Implement sh_addralign handling
I've seen a module with 16 bytes .rodata alignment for xmm operations.
It was getting SEGV on sim/Linux because of the alignment issue.
The same module binary seems working fine after applying this patch.

Also, tested on sim/macOS and esp32 on qemu,
using a module with an artificially large alignment. (64 bytes)
2021-04-14 21:17:07 -05:00
..
gnu-elf.ld modlib: Replace Gregory Nutt's copyright notice with Apache 2.0 2020-04-13 09:49:22 -06:00
Kconfig Adapt dlfcn/modlib to use the instruction memory allocator 2020-03-16 07:54:49 -06:00
Make.defs modlib: Replace Gregory Nutt's copyright notice with Apache 2.0 2020-04-13 09:49:22 -06:00
modlib_bind.c libs/libc/modlib/modlib_bind.c: Fix syslog formats 2020-11-21 19:38:32 -08:00
modlib_depend.c modlib: Replace Gregory Nutt's copyright notice with Apache 2.0 2020-04-13 09:49:22 -06:00
modlib_init.c Ensure the kernel component don't call userspace API 2021-03-01 09:23:09 +09:00
modlib_iobuffer.c modlib: Replace Gregory Nutt's copyright notice with Apache 2.0 2020-04-13 09:49:22 -06:00
modlib_load.c modlib: Implement sh_addralign handling 2021-04-14 21:17:07 -05:00
modlib_loadshdrs.c modlib: Replace Gregory Nutt's copyright notice with Apache 2.0 2020-04-13 09:49:22 -06:00
modlib_read.c Ensure the kernel component don't call userspace API 2021-03-01 09:23:09 +09:00
modlib_registry.c modlib: Replace Gregory Nutt's copyright notice with Apache 2.0 2020-04-13 09:49:22 -06:00
modlib_sections.c libs/libc/modlib/modlib_sections.c: Remove a redundant assignment 2020-07-30 16:16:21 +02:00
modlib_symbols.c symtabs: improve handling of symbol lookups 2021-03-16 10:18:17 -07:00
modlib_symtab.c modlib: Replace Gregory Nutt's copyright notice with Apache 2.0 2020-04-13 09:49:22 -06:00
modlib_uninit.c Ensure the kernel component don't call userspace API 2021-03-01 09:23:09 +09:00
modlib_unload.c modlib: Replace Gregory Nutt's copyright notice with Apache 2.0 2020-04-13 09:49:22 -06:00
modlib_verify.c modlib: Replace Gregory Nutt's copyright notice with Apache 2.0 2020-04-13 09:49:22 -06:00
modlib.h modlib: Replace Gregory Nutt's copyright notice with Apache 2.0 2020-04-13 09:49:22 -06:00