Symbol table is ordered
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1924 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
d9c7b592fc
commit
7117b39923
@ -94,9 +94,9 @@ static void nxflat_dumpmemory(void *addr, int nbytes)
|
||||
bdbg(" %p: %02x %02x %02x %02x\n", ptr, ptr[0], ptr[1], ptr[2], ptr[3]);
|
||||
}
|
||||
}
|
||||
#else /* CONFIG_XFLAT_DEBUG */
|
||||
#else
|
||||
# define nnxflat_dumpmemory(a,n)
|
||||
#endif /* CONFIG_XFLAT_DEBUG */
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nxflat_dumploadinfo
|
||||
@ -131,9 +131,9 @@ static void nxflat_dumploadinfo(struct nxflat_loadinfo_s *loadinfo)
|
||||
bdbg(" NXFLT HEADER:");
|
||||
bdbg(" header: %p\n", loadinfo->header);
|
||||
}
|
||||
#else /* CONFIG_XFLAT_DEBUG */
|
||||
#else
|
||||
# define nxflat_dumploadinfo(i)
|
||||
#endif /* CONFIG_XFLAT_DEBUG */
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nxflat_loadbinary
|
||||
|
@ -247,9 +247,6 @@ CONFIG_HAVE_LIBM=n
|
||||
# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket
|
||||
# desciptors by task_create() when a new task is started. If
|
||||
# set, all sockets will appear to be closed in the new task.
|
||||
# CONFIG_NXFLAT. Enable support for the NXFLAT binary format.
|
||||
# This format will support execution of NuttX binaries located
|
||||
# in a ROMFS filesystem (see examples/nxflat).
|
||||
#
|
||||
CONFIG_EXAMPLE=nxflat
|
||||
CONFIG_DEBUG=n
|
||||
@ -273,7 +270,17 @@ CONFIG_SEM_NNESTPRIO=0
|
||||
CONFIG_FDCLONE_DISABLE=n
|
||||
CONFIG_FDCLONE_STDIO=n
|
||||
CONFIG_SDCLONE_DISABLE=y
|
||||
|
||||
#
|
||||
# Settings for examples/nxflat
|
||||
# CONFIG_NXFLAT. Enable support for the NXFLAT binary format.
|
||||
# This format will support execution of NuttX binaries located
|
||||
# in a ROMFS filesystem (see examples/nxflat).
|
||||
# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table
|
||||
# is ordered by symbol name
|
||||
#
|
||||
CONFIG_NXFLAT=y
|
||||
CONFIG_SYMTAB_ORDEREDBYNAME=y
|
||||
|
||||
#
|
||||
# The following can be used to disable categories of
|
||||
|
@ -60,6 +60,32 @@
|
||||
* Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Check configuration. This is not all of the configuration settings that
|
||||
* are required -- only the more obvious.
|
||||
*/
|
||||
|
||||
#if CONFIG_NFILE_DESCRIPTORS < 1
|
||||
# error "You must provide file descriptors via CONFIG_NFILE_DESCRIPTORS in your configuration file"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_NXFLAT
|
||||
# error "You must select CONFIG_NXFLAT in your configuration file"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_FS_ROMFS
|
||||
# error "You must select CONFIG_FS_ROMFS in your configuration file"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DISABLE_MOUNTPOINT
|
||||
# error "You must not disable mountpoints via CONFIG_DISABLE_MOUNTPOINT in your configuration file"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BINFMT_DISABLE
|
||||
# error "You must not disable loadable modules via CONFIG_BINFMT_DISABLE in your configuration file"
|
||||
#endif
|
||||
|
||||
/* Describe the ROMFS file system */
|
||||
|
||||
#define SECTORSIZE 512
|
||||
#define NSECTORS(b) (((b)+SECTORSIZE-1)/SECTORSIZE)
|
||||
#define ROMFSDEV "/dev/ram0"
|
||||
|
Loading…
Reference in New Issue
Block a user