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
Kconfig
Make.defs
modlib.h
modlib_bind.c libs/libc/modlib/modlib_bind.c: Fix syslog formats 2020-11-21 19:38:32 -08:00
modlib_depend.c
modlib_init.c Ensure the kernel component don't call userspace API 2021-03-01 09:23:09 +09:00
modlib_iobuffer.c
modlib_load.c modlib: Implement sh_addralign handling 2021-04-14 21:17:07 -05:00
modlib_loadshdrs.c
modlib_read.c Ensure the kernel component don't call userspace API 2021-03-01 09:23:09 +09:00
modlib_registry.c
modlib_sections.c
modlib_symbols.c symtabs: improve handling of symbol lookups 2021-03-16 10:18:17 -07:00
modlib_symtab.c
modlib_uninit.c Ensure the kernel component don't call userspace API 2021-03-01 09:23:09 +09:00
modlib_unload.c
modlib_verify.c