mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
ELF64 support (#220)
* include: Introduce elf64.h and elf.h
Added elf64.h for 64bit ELF support and moved common definitions
from elf32.h to elf.h. Also introduced Elf_xxx to be used in
common libraries such as binfmt.
* binfmt, include, modlib, module: Add support for ELF64
Elf_xxx must be used instead of Elf32_xxx to support ELF64.
To use ELF64, CONFIG_ELF_64BIT must be enabled.
* binfmt, modlib: Add support for relocate address
* arch: risc-v: Add include/elf.h
* libs: machine: Add risc-v related files.
NOTE: Currently only supports ELF64
* boards: maix-bit: Add elf and posix_spawn configurations
* boards: maix-bit: Add support for module configuration
This commit is contained in:
committed by
Gregory Nutt
parent
e21c30cf9d
commit
81f1133174
@@ -153,6 +153,9 @@ config LIBM_ARCH_TRUNCF
|
||||
if ARCH_ARM
|
||||
source libs/libc/machine/arm/Kconfig
|
||||
endif
|
||||
if ARCH_RISCV
|
||||
source libs/libc/machine/risc-v/Kconfig
|
||||
endif
|
||||
if ARCH_SIM
|
||||
source libs/libc/machine/sim/Kconfig
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user