From 738d21f532f77a961ea8832a92397420618367b3 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 12 Sep 2014 13:03:10 -0600 Subject: Fix one more dependency upon having a symbol table --- nuttx/configs/sama5d4-ek/README.txt | 4 ++++ nuttx/libc/unistd/lib_execsymtab.c | 16 +++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/nuttx/configs/sama5d4-ek/README.txt b/nuttx/configs/sama5d4-ek/README.txt index 3e0931083..50198f922 100644 --- a/nuttx/configs/sama5d4-ek/README.txt +++ b/nuttx/configs/sama5d4-ek/README.txt @@ -3926,6 +3926,10 @@ Configurations Update: I don't believe that this HSMCI error occurs if file system debug output is enabled. + 2014-9-11: Everything seems to be working quite nicely witn the ROMFS + file system. A considerable amount of testing has been done and + there are no known defects as of this writing. + nsh: This configuration directory provide the NuttShell (NSH). This is a diff --git a/nuttx/libc/unistd/lib_execsymtab.c b/nuttx/libc/unistd/lib_execsymtab.c index 35df4c059..35ddb0a8d 100644 --- a/nuttx/libc/unistd/lib_execsymtab.c +++ b/nuttx/libc/unistd/lib_execsymtab.c @@ -53,16 +53,18 @@ * following must also be defined: */ -/* Symbol table used by exec[l|v] */ +#ifdef CONFIG_EXECFUNCS_HAVE_SYMTAB + /* Symbol table used by exec[l|v] */ -#ifndef CONFIG_EXECFUNCS_SYMTAB -# error "CONFIG_EXECFUNCS_SYMTAB must be defined" -#endif +# ifndef CONFIG_EXECFUNCS_SYMTAB +# error "CONFIG_EXECFUNCS_SYMTAB must be defined" +# endif -/* Number of Symbols in the Table */ + /* Number of Symbols in the Table */ -#ifndef CONFIG_EXECFUNCS_NSYMBOLS -# error "CONFIG_EXECFUNCS_NSYMBOLS must be defined" +# ifndef CONFIG_EXECFUNCS_NSYMBOLS +# error "CONFIG_EXECFUNCS_NSYMBOLS must be defined" +# endif #endif /**************************************************************************** -- cgit v1.2.3