sched/symtab: Reference default symtab name to binfmt
This commit is contained in:
parent
c43b3e5a34
commit
0124b629a9
@ -335,7 +335,8 @@ config USER_INITPATH
|
|||||||
|
|
||||||
config INIT_SYMTAB
|
config INIT_SYMTAB
|
||||||
string "Symbol table"
|
string "Symbol table"
|
||||||
default "NULL"
|
default "NULL" if !EXECFUNCS_HAVE_SYMTAB
|
||||||
|
default EXECFUNCS_SYMTAB_ARRAY if EXECFUNCS_HAVE_SYMTAB
|
||||||
depends on !BUILD_PROTECTED && !BUILD_KERNEL
|
depends on !BUILD_PROTECTED && !BUILD_KERNEL
|
||||||
---help---
|
---help---
|
||||||
The name of othe global array that holds the exported symbol table.
|
The name of othe global array that holds the exported symbol table.
|
||||||
@ -348,7 +349,8 @@ config INIT_SYMTAB
|
|||||||
|
|
||||||
config INIT_NEXPORTS
|
config INIT_NEXPORTS
|
||||||
string "Symbol table size"
|
string "Symbol table size"
|
||||||
default "0"
|
default "0" if !EXECFUNCS_HAVE_SYMTAB
|
||||||
|
default EXECFUNCS_NSYMBOLS_VAR if EXECFUNCS_HAVE_SYMTAB
|
||||||
depends on !BUILD_PROTECTED && !BUILD_KERNEL
|
depends on !BUILD_PROTECTED && !BUILD_KERNEL
|
||||||
---help---
|
---help---
|
||||||
The size of the symbol table. NOTE that is is logically a numeric
|
The size of the symbol table. NOTE that is is logically a numeric
|
||||||
|
@ -50,6 +50,7 @@
|
|||||||
#include <nuttx/arch.h>
|
#include <nuttx/arch.h>
|
||||||
#include <nuttx/board.h>
|
#include <nuttx/board.h>
|
||||||
#include <nuttx/init.h>
|
#include <nuttx/init.h>
|
||||||
|
#include <nuttx/symtab.h>
|
||||||
#include <nuttx/wqueue.h>
|
#include <nuttx/wqueue.h>
|
||||||
#include <nuttx/kthread.h>
|
#include <nuttx/kthread.h>
|
||||||
#include <nuttx/userspace.h>
|
#include <nuttx/userspace.h>
|
||||||
@ -114,6 +115,9 @@
|
|||||||
# undef CONFIG_INIT_NEXPORTS
|
# undef CONFIG_INIT_NEXPORTS
|
||||||
# define CONFIG_INIT_SYMTAB NULL
|
# define CONFIG_INIT_SYMTAB NULL
|
||||||
# define CONFIG_INIT_NEXPORTS 0
|
# define CONFIG_INIT_NEXPORTS 0
|
||||||
|
# else
|
||||||
|
extern const struct symtab_s CONFIG_INIT_SYMTAB[];
|
||||||
|
extern const int CONFIG_INIT_NEXPORTS;
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user