81f1133174
* 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
71 lines
2.0 KiB
Plaintext
71 lines
2.0 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config ELF_64BIT
|
|
bool "64bit ELF support"
|
|
default n
|
|
---help---
|
|
This option is used to load 64bit ELF files
|
|
|
|
config ELF_ALIGN_LOG2
|
|
int "Log2 Section Alignment"
|
|
default 2
|
|
---help---
|
|
Align all sections to this Log2 value: 0->1, 1->2, 2->4, etc.
|
|
|
|
config ELF_STACKSIZE
|
|
int "ELF Stack Size"
|
|
default 2048
|
|
---help---
|
|
This is the default stack size that will be used when starting ELF binaries.
|
|
|
|
config ELF_BUFFERSIZE
|
|
int "ELF I/O Buffer Size"
|
|
default 32
|
|
---help---
|
|
This is an I/O buffer that is used to access the ELF file. Variable length items
|
|
will need to be read (such as symbol names). This is really just this initial
|
|
size of the buffer; it will be reallocated as necessary to hold large symbol
|
|
names). Default: 32
|
|
|
|
config ELF_BUFFERINCR
|
|
int "ELF I/O Buffer Realloc Increment"
|
|
default 32
|
|
---help---
|
|
This is an I/O buffer that is used to access the ELF file. Variable length items
|
|
will need to be read (such as symbol names). This value specifies the size
|
|
increment to use each time the buffer is reallocated. Default: 32
|
|
|
|
config ELF_DUMPBUFFER
|
|
bool "Dump ELF buffers"
|
|
default n
|
|
depends on DEBUG_INFO
|
|
---help---
|
|
Dump various ELF buffers for debug purposes
|
|
|
|
config ELF_EXIDX_SECTNAME
|
|
string "ELF Section Name for Exception Index"
|
|
default ".ARM.exidx"
|
|
depends on CXX_EXCEPTION
|
|
---help---
|
|
Set the name string for the exception index section on the ELF modules to
|
|
be loaded by the ELF binary loader.
|
|
|
|
This is needed to support exception handling on loadable ELF modules.
|
|
|
|
config ELF_RELOCATION_BUFFERCOUNT
|
|
int "ELF Relocation Table Buffer Count"
|
|
default 256
|
|
---help---
|
|
This is an relocation buffer that is used to store elf relocation table to
|
|
reduce access fs. Default: 256
|
|
|
|
config ELF_SYMBOL_CACHECOUNT
|
|
int "ELF SYMBOL Table Cache Count"
|
|
default 256
|
|
---help---
|
|
This is an cache that is used to store elf symbol table to
|
|
reduce access fs. Default: 256
|