include/: Correct naming of standard header file. Should be dlfcn.h, not dllfcn.h. I am surprised no one ever noticed before now.
This commit is contained in:
parent
6a30e22ad4
commit
3ba777bb27
@ -1358,7 +1358,7 @@ libc/
|
||||
|-- dirent/
|
||||
| `-- <i>(Implementation of functions from dirent.h)</i>
|
||||
|-- dllfch/
|
||||
| `-- <i>(Implementation of functions from dllfcn.h)</i>
|
||||
| `-- <i>(Implementation of functions from dlfcn.h)</i>
|
||||
|-- fixedmath/
|
||||
| `-- <i>(Implementation of functions from fixedmath.h)</i>
|
||||
|-- hex2bin/
|
||||
|
@ -482,7 +482,7 @@ must be is one of the following.
|
||||
FLAT build using apps/examples/sotest (assuming that you also have SD
|
||||
card support enabled and that the SD card is mount at /mnt/sdcard):
|
||||
|
||||
CONFIG_LIBC_DLLFCN=y
|
||||
CONFIG_LIBC_DLFCN=y
|
||||
CONFIG_EXAMPLES_SOTEST=y
|
||||
CONFIG_EXAMPLES_SOTEST_BINDIR="/mnt/sdcard"
|
||||
|
||||
@ -538,7 +538,7 @@ must be is one of the following.
|
||||
Add the following for testing shared libraries in the FLAT
|
||||
build:
|
||||
|
||||
CONFIG_LIBC_DLLFCN=y
|
||||
CONFIG_LIBC_DLFCN=y
|
||||
CONFIG_EXAMPLES_SOTEST=y
|
||||
CONFIG_EXAMPLES_SOTEST_BUILTINFS=y
|
||||
CONFIG_EXAMPLES_SOTEST_DEVMINOR=1
|
||||
|
@ -1838,7 +1838,7 @@ Configuration sub-directories
|
||||
Add the following for testing shared libraries in the FLAT
|
||||
build:
|
||||
|
||||
CONFIG_LIBC_DLLFCN=y
|
||||
CONFIG_LIBC_DLFCN=y
|
||||
CONFIG_EXAMPLES_SOTEST=y
|
||||
CONFIG_EXAMPLES_SOTEST_BINDIR="/mnt/sdcard"
|
||||
|
||||
|
@ -1660,7 +1660,7 @@ Configuration Sub-directories
|
||||
FLAT build using apps/examples/sotest (assuming that you also have SD
|
||||
card support enabled and that the SD card is mount at /mnt/sdcard):
|
||||
|
||||
CONFIG_LIBC_DLLFCN=y
|
||||
CONFIG_LIBC_DLFCN=y
|
||||
CONFIG_EXAMPLES_SOTEST=y
|
||||
CONFIG_EXAMPLES_SOTEST_BINDIR="/mnt/sdcard"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* include/dllfcn.h
|
||||
* include/dlfcn.h
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2017, 2019 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_DLLFCN_H
|
||||
#define __INCLUDE_DLLFCN_H
|
||||
#ifndef __INCLUDE_DLFCN_H
|
||||
#define __INCLUDE_DLFCN_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@ -329,4 +329,4 @@ FAR char *dlerror(void);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_DLLFCN_H */
|
||||
#endif /* __INCLUDE_DLFCN_H */
|
@ -11,7 +11,7 @@ source libs/libc/machine/Kconfig
|
||||
source libs/libc/stdlib/Kconfig
|
||||
source libs/libc/unistd/Kconfig
|
||||
source libs/libc/string/Kconfig
|
||||
source libs/libc/dllfcn/Kconfig
|
||||
source libs/libc/dlfcn/Kconfig
|
||||
source libs/libc/modlib/Kconfig
|
||||
source libs/libc/wchar/Kconfig
|
||||
source libs/libc/locale/Kconfig
|
||||
|
@ -56,7 +56,7 @@ VPATH := .
|
||||
include aio/Make.defs
|
||||
include audio/Make.defs
|
||||
include dirent/Make.defs
|
||||
include dllfcn/Make.defs
|
||||
include dlfcn/Make.defs
|
||||
include endian/Make.defs
|
||||
include fixedmath/Make.defs
|
||||
include hex2bin/Make.defs
|
||||
|
@ -29,7 +29,7 @@ in the include/ directory provides the prototype for library functions. So
|
||||
we have:
|
||||
|
||||
audio - This part of the audio system: nuttx/audio/audio.h
|
||||
dllfcn - dllfcn.h
|
||||
dlfcn - dlfcn.h
|
||||
endian - endian.h
|
||||
hex2bin - hex2bin.h
|
||||
libgen - libgen.h
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
# menu "Shared Library Support"
|
||||
|
||||
config LIBC_DLLFCN
|
||||
config LIBC_DLFCN
|
||||
bool "Shared library support"
|
||||
default n
|
||||
select LIBC_MODLIB if !BUILD_FLAT
|
||||
@ -16,7 +16,7 @@ config LIBC_DLLFCN
|
||||
|
||||
A work in progress, hence, marked EXPERIMENTAL
|
||||
|
||||
if LIBC_DLLFCN
|
||||
if LIBC_DLFCN
|
||||
|
||||
config LDPATH_INITIAL
|
||||
string "Initial LD_LIBRARY_PATH Value"
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# libs/libc/dllfcn/Make.defs
|
||||
# libs/libc/dlfcn/Make.defs
|
||||
#
|
||||
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,15 +33,15 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
ifeq ($(CONFIG_LIBC_DLLFCN),y)
|
||||
ifeq ($(CONFIG_LIBC_DLFCN),y)
|
||||
|
||||
# Add the dllfcn.h files to the build
|
||||
# Add the dlfcn.h files to the build
|
||||
|
||||
CSRCS += lib_dlopen.c lib_dlclose.c lib_dlsym.c lib_dlerror.c lib_dlsymtab.c
|
||||
|
||||
# Add the dllfcn.h directory to the build
|
||||
# Add the dlfcn.h directory to the build
|
||||
|
||||
DEPPATH += --dep-path dllfcn
|
||||
VPATH += :dllfcn
|
||||
DEPPATH += --dep-path dlfcn
|
||||
VPATH += :dlfcn
|
||||
|
||||
endif
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libs/libc/dllfcn/lib_dlclose.c
|
||||
* libs/libc/dlfcn/lib_dlclose.c
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <dllfcn.h>
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/module.h>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libs/libc/dllfcn/lib_dlerror.c
|
||||
* libs/libc/dlfcn/lib_dlerror.c
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -40,7 +40,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <dllfcn.h>
|
||||
#include <dlfcn.h>
|
||||
#include <string.h>
|
||||
|
||||
/****************************************************************************
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libs/libc/dllfcn/lib_dlopen.c
|
||||
* libs/libc/dlfcn/lib_dlopen.c
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -42,7 +42,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <libgen.h>
|
||||
#include <dllfcn.h>
|
||||
#include <dlfcn.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libs/libc/dllfcn/lib_dlsym.c
|
||||
* libs/libc/dlfcn/lib_dlsym.c
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <dllfcn.h>
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/module.h>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libs/libc/dllfcn/lib_symtab.c
|
||||
* libs/libc/dlfcn/lib_symtab.c
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <dllfcn.h>
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/module.h>
|
@ -66,7 +66,7 @@ static const char *dequote_list[] =
|
||||
"CONFIG_USER_ENTRYPOINT", /* Name of entry point function */
|
||||
"CONFIG_EXECFUNCS_SYMTAB_ARRAY", /* Symbol table array used by exec[l|v] */
|
||||
"CONFIG_EXECFUNCS_NSYMBOLS_VAR", /* Variable holding number of symbols in the table */
|
||||
"CONFIG_MODLIB_SYMTAB_ARRAY", /* Symbol table array used by dllfcn[l|v] */
|
||||
"CONFIG_MODLIB_SYMTAB_ARRAY", /* Symbol table array used by modlib functions */
|
||||
"CONFIG_MODLIB_NSYMBOLS_VAR", /* Variable holding number of symbols in the table */
|
||||
"CONFIG_PASS1_BUILDIR", /* Pass1 build directory */
|
||||
"CONFIG_PASS1_TARGET", /* Pass1 build target */
|
||||
|
Loading…
Reference in New Issue
Block a user