Xiang Xiao
cb8df39207
binfmt/elf: Fix the minor style issue
...
and remove the unused macros and unnecessary cast
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-27 18:46:40 -03:00
Xiang Xiao
ebcb03dce9
libc/symtab: Don't include symtab.h in the header files
...
to unify the inclusion of symtab.h only from the source files
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-10 23:03:17 +03:00
Xiang Xiao
8f38fa6062
symtab: Remove the unnessary inclusion of nuttx/symtab.h
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-06 09:24:02 -03:00
YAMAMOTO Takashi
33aaefa2d1
modlib: Replace Gregory Nutt's copyright notice with Apache 2.0
...
While I'm here adding a new file. (modlib_loadshdrs.c)
The licence text was copied from:
sched/sched/sched_getcpu.c
tools/zds/Makefile
2020-04-13 09:49:22 -06:00
Xiang Xiao
095e28d45e
binfmt/, binfmt/libelf/, include/nuttx, libs/libc/machine, libs/libc/modlib, and others: Move elf related arch function to include/nuttx/elf.h because the implementation is located in libs/libc/machine and in order to avoid the conflict with the 3rd party libraries and clean up the file inclusion: (1) Remove redundant elf32.h, (2) Remove nuttx/binfmt/elf.h in libs/libc/machine, (2) Remove nuttx/binfmt/elf.h in modlib, and (4) Rmove nuttx/module.h in modlib.
2019-01-26 11:18:45 -06:00
nchao
6509a0c0ca
binfmt/ and libs/libc: Make exepath_*() more common:
...
1. Move exepath_*() related code to libc/misc
1. Rename exepath_ to envpath_
2. Rename BINFMT_EXEPATH to LIB_ENVPATH
libs/libc/modlib: Add pre module library symbol table support
2018-11-08 07:27:14 -06:00
Gregory Nutt
cf99fb40c9
This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now.
...
Squashed commit of the following:
libs/libxx: Fix some confusing in naming. If the directory is called libxx, then the library must be libxx.a (unless perhaps LIBCXX is selected).
libs/: Fix paths in moved library directories.
libs: Brute force move of libc, libnx, and libxx to libs. Cannot yet build it in that configuration.
2018-05-29 13:21:26 -06:00