2012-10-25 00:46:12 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-10-25 00:46:12 +08:00
|
|
|
#
|
|
|
|
|
2012-10-25 09:23:03 +08:00
|
|
|
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.
|
|
|
|
|
2012-10-26 00:18:20 +08:00
|
|
|
config ELF_STACKSIZE
|
|
|
|
int "ELF Stack Size"
|
2020-03-27 09:51:03 +08:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2012-10-26 00:18:20 +08:00
|
|
|
---help---
|
2014-05-08 03:47:52 +08:00
|
|
|
This is the default stack size that will be used when starting ELF binaries.
|
2012-10-26 00:18:20 +08:00
|
|
|
|
2012-10-26 03:21:47 +08:00
|
|
|
config ELF_BUFFERSIZE
|
|
|
|
int "ELF I/O Buffer Size"
|
2019-01-27 01:34:40 +08:00
|
|
|
default 32
|
2012-10-26 03:21:47 +08:00
|
|
|
---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
|
2021-03-11 04:13:31 +08:00
|
|
|
names. Default: 32
|
2012-10-26 03:21:47 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2012-10-25 00:46:12 +08:00
|
|
|
config ELF_DUMPBUFFER
|
|
|
|
bool "Dump ELF buffers"
|
|
|
|
default n
|
2016-06-18 09:30:19 +08:00
|
|
|
depends on DEBUG_INFO
|
2012-10-25 09:23:03 +08:00
|
|
|
---help---
|
|
|
|
Dump various ELF buffers for debug purposes
|
2015-06-02 04:16:18 +08:00
|
|
|
|
|
|
|
config ELF_EXIDX_SECTNAME
|
|
|
|
string "ELF Section Name for Exception Index"
|
|
|
|
default ".ARM.exidx"
|
2020-06-28 18:18:53 +08:00
|
|
|
depends on CXX_EXCEPTION && ARCH_ARM
|
2015-06-02 04:16:18 +08:00
|
|
|
---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.
|
2019-03-19 22:57:13 +08:00
|
|
|
|
|
|
|
config ELF_RELOCATION_BUFFERCOUNT
|
|
|
|
int "ELF Relocation Table Buffer Count"
|
|
|
|
default 256
|
|
|
|
---help---
|
2021-03-11 04:13:31 +08:00
|
|
|
This is a relocation buffer that is used to store elf relocation table to
|
2019-03-19 23:13:50 +08:00
|
|
|
reduce access fs. Default: 256
|
|
|
|
|
|
|
|
config ELF_SYMBOL_CACHECOUNT
|
|
|
|
int "ELF SYMBOL Table Cache Count"
|
|
|
|
default 256
|
|
|
|
---help---
|
2021-03-11 04:13:31 +08:00
|
|
|
This is a cache that is used to store elf symbol table to
|
2019-03-19 22:57:13 +08:00
|
|
|
reduce access fs. Default: 256
|
2021-11-17 23:53:28 +08:00
|
|
|
|
|
|
|
config ELF_COREDUMP
|
|
|
|
bool "ELF Coredump"
|
2023-07-20 05:28:37 +08:00
|
|
|
depends on ARCH_HAVE_TCBINFO
|
2021-11-17 23:53:28 +08:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Generate ELF core dump to provide information about the CPU state and the
|
|
|
|
memory state of program.
|
|
|
|
The memory state embeds a snapshot of all segments mapped in the
|
|
|
|
memory space of the program. The CPU state contains register values
|
|
|
|
when the core dump has been generated.
|
2023-08-21 20:28:56 +08:00
|
|
|
|
|
|
|
config ELF_LOADTO_LMA
|
|
|
|
bool "ELF load sections to LMA"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Load all section to LMA not VMA, so the startup code(e.g. start.S) need
|
|
|
|
relocate .data section to the final address(VMA) and zero .bss section
|
|
|
|
by self.
|