Include nuttx/symtab.h instead of nuttx/binfmt/symtab.h since symtab.h under binfmt folder is for internal use.

This commit is contained in:
Gregory Nutt 2019-12-10 08:39:22 -06:00
parent 7479cd6819
commit 3da8091d30
14 changed files with 15 additions and 16 deletions

View File

@ -30,7 +30,7 @@ varlist=`find ${dir} -executable -type f | xargs nm | fgrep ' U ' | sed -e "s/^[
# faile
echo "#include <nuttx/compiler.h>"
echo "#include <nuttx/binfmt/symtab.h>"
echo "#include <nuttx/symtab.h>"
echo ""
for var in $varlist; do

View File

@ -30,7 +30,7 @@ varlist=`find ${dir} -executable -type f | xargs nm | fgrep ' U ' | sed -e "s/^[
# faile
echo "#include <nuttx/compiler.h>"
echo "#include <nuttx/binfmt/symtab.h>"
echo "#include <nuttx/symtab.h>"
echo ""
for var in $varlist; do

View File

@ -54,7 +54,7 @@
#include <debug.h>
#include <nuttx/module.h>
#include <nuttx/binfmt/symtab.h>
#include <nuttx/symtab.h>
#if defined(CONFIG_EXAMPLES_MODULE_ROMFS)
# include <nuttx/drivers/ramdisk.h>

View File

@ -22,7 +22,7 @@ varlist=`find $dir -name "*-thunk.S"| xargs grep -h asciz | cut -f3 | sort | uni
echo "#ifndef __EXAMPLES_NXFLAT_TESTS_SYMTAB_H"
echo "#define __EXAMPLES_NXFLAT_TESTS_SYMTAB_H"
echo ""
echo "#include <nuttx/binfmt/symtab.h>"
echo "#include <nuttx/symtab.h>"
echo ""
echo "static const struct symtab_s g_nxflat_exports[] = "
echo "{"

View File

@ -74,12 +74,11 @@ spawn_main.o: spawn_main.c \
$(TOPDIR)/include/debug.h \
$(TOPDIR)/include/errno.h \
$(TOPDIR)/include/nuttx/drivers/ramdisk.h \
$(TOPDIR)/include/nuttx/binfmt/elf.h \
$(TOPDIR)/include/nuttx/binfmt/symtab.h \
$(TOPDIR)/include/nuttx/symtab.h \
filesystem/romfs.h
symtab.o: filesystem/symtab.c \
$(TOPDIR)/include/nuttx/compiler.h \
$(TOPDIR)/include/nuttx/binfmt/symtab.h
$(TOPDIR)/include/nuttx/symtab.h
include $(APPDIR)/Application.mk

View File

@ -30,7 +30,7 @@ varlist=`find ${dir} -executable -type f | xargs nm | fgrep ' U ' | sed -e "s/^[
# faile
echo "#include <nuttx/compiler.h>"
echo "#include <nuttx/binfmt/symtab.h>"
echo "#include <nuttx/symtab.h>"
echo ""
for var in $varlist; do

View File

@ -53,7 +53,7 @@
#include <errno.h>
#include <nuttx/drivers/ramdisk.h>
#include <nuttx/binfmt/symtab.h>
#include <nuttx/symtab.h>
#include "filesystem/romfs.h"

View File

@ -36,7 +36,7 @@ varlist=`echo $tmplist | sed -e "s/modprint//g"`
# fail
echo "#include <nuttx/compiler.h>"
echo "#include <nuttx/binfmt/symtab.h>"
echo "#include <nuttx/symtab.h>"
echo ""
for var in $varlist; do

View File

@ -50,7 +50,7 @@
#include <errno.h>
#include <debug.h>
#include <nuttx/binfmt/symtab.h>
#include <nuttx/symtab.h>
#ifdef CONFIG_EXAMPLES_SOTEST_BUILTINFS
# include <nuttx/drivers/ramdisk.h>

View File

@ -22,7 +22,7 @@ varlist=`find $dir -name "*-thunk.S"| xargs grep -h asciz | cut -f3 | sort | uni
echo "#ifndef __EXAMPLES_NXFLAT_TESTS_SYMTAB_H"
echo "#define __EXAMPLES_NXFLAT_TESTS_SYMTAB_H"
echo ""
echo "#include <nuttx/binfmt/symtab.h>"
echo "#include <nuttx/symtab.h>"
echo ""
echo "static const struct symtab_s g_thttpd_exports[] = "
echo "{"

View File

@ -42,7 +42,7 @@
#include <nuttx/config.h>
#include <nuttx/binfmt/symtab.h>
#include <nuttx/symtab.h>
/****************************************************************************
* Public Data

View File

@ -56,7 +56,7 @@
#include <arpa/inet.h>
#include <nuttx/compiler.h>
#include <nuttx/binfmt/symtab.h>
#include <nuttx/symtab.h>
#include "netutils/thttpd.h"
#include "config.h"

View File

@ -54,7 +54,7 @@
#include <errno.h>
#include <debug.h>
#include <nuttx/binfmt/symtab.h>
#include <nuttx/symtab.h>
#include <nuttx/binfmt/binfmt.h>
#include "netutils/thttpd.h"

View File

@ -47,7 +47,7 @@
#include <errno.h>
#if defined(CONFIG_LIBC_EXECFUNCS)
# include <nuttx/binfmt/symtab.h>
# include <nuttx/symtab.h>
#endif
#include "platform/cxxinitialize.h"