1
0
Fork 0
forked from nuttx/nuttx-update
local-nuttx-update/tools
xuxin19 480471f46c sim:support sim elf and dynamic libs package in post build
use the dynamic library .so of the binding compilation environment,
and then modify the dynamic loader of elf at runtime to run sim elf across system versions

1.add post-build for sim build
2.collect dynamic .so and dynamic interpreter
3.add execution script for the entire package sim elf

change text-segment to 0x50000000
because patchelf will modify the .dynamic section in elf,
the upward alignment of elf will be less than 0x3fffffff,
which will cause asan shadow memory overlap error

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2024-11-06 01:56:44 +08:00
..
bl602 Documentation/bl602: Update some imformation; Add partition.toml in tool/bl602 2021-07-27 21:01:15 -07:00
ci mps/clang: Add a defconfig for mps to support clang compilation 2024-10-28 22:19:58 +08:00
cxd56 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
esp32 tools/espressif: add esptool version check to Espressif build system 2024-10-15 20:42:57 +02:00
esp32c3 tools/espressif: add esptool version check to Espressif build system 2024-10-15 20:42:57 +02:00
esp32s2 tools/espressif: add esptool version check to Espressif build system 2024-10-15 20:42:57 +02:00
esp32s3 tools/esp32s3/Config.mk: fix "printf:`\': invalid format character" 2024-10-22 08:54:15 +08:00
espressif tools/espressif: add esptool version check to Espressif build system 2024-10-15 20:42:57 +02:00
gdb gdb/thread.py:Remove dependence on g_current_regs 2024-10-08 23:55:59 +08:00
imx9 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
licensing tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
lwl tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mpfs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
pic32 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
rp2040 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
simwifi tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
zds tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
.gitignore build: add initial cmake build system 2023-07-08 13:50:48 +08:00
b16.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
bdf-converter.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
btdecode.sh tools/btdecode.sh: add optional elf file parameter 2024-09-30 08:44:18 +08:00
build-globals.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
callstack.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cfgdefine.c Simplify BOARD_MEMORY_RANGE initialization logic 2024-10-09 15:41:48 +08:00
cfgdefine.h tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cfgparser.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cfgparser.h tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
checkpatch.sh tools/checkpatch: fix isort doesn't return error 2024-10-18 21:30:13 +08:00
checkrelease.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
CMakeLists.txt cmake:add cmake host tool mkdeps incdir 2024-10-31 17:55:13 +08:00
cmpconfig.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cnvwindeps.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Config.mk gcov: Fix typographical errors 2024-10-30 14:45:23 +08:00
configure.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
configure.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
configure.sh tools/configure.sh: add relative path 2024-10-12 14:27:58 +08:00
configure_completion.bash tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
convert-comments.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
copydir.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
copydir.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
coredump.py coredump.py:bug fix python file not have rename 2024-10-30 12:29:22 +08:00
csvparser.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
csvparser.h tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
D.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
define.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
define.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
detab.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Directories.mk clang:libclang_rt.builtins-xxx.a supports builtin 2024-10-28 16:38:45 +08:00
discover.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
doreleasenotes.py tools/doreleasenotes 2024-09-25 01:38:04 +08:00
Export.mk tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
flash_writer.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
FlatLibs.mk clang:libclang_rt.builtins-xxx.a supports builtin 2024-10-28 16:38:45 +08:00
gcov.sh tools/gcov: ignore lcov error 2024-10-10 22:55:46 +08:00
gdbserver.py gdbserver:skip load symbol if use logfile as input 2024-10-16 08:01:28 +08:00
gencromfs.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
ide_exporter.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
incdir.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
incdir.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
incdir.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
indent.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
initialconfig.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
jlink-nuttx.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
kasan_global.py mm/kasan: Kasan global support setting alignment length 2024-09-20 21:47:23 +08:00
kconfig.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
kconfig2html.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
KernelLibs.mk clang:libclang_rt.builtins-xxx.a supports builtin 2024-10-28 16:38:45 +08:00
LibTargets.mk clang:libclang_rt.builtins-xxx.a supports builtin 2024-10-28 16:38:45 +08:00
link.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
link.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
lowhex.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
macar-qcs.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Make.defs tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
Makefile.host tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
merge_config.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkallsyms.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkallsyms.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkconfig.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkconfigvars.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkctags.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkdeps.c tools/mkdeps: increase MAX_BUFFER from 16384 to 65536 2024-10-31 08:55:07 +08:00
mkexport.sh binfmt/libelf:Remove libelf implementation [2/2] 2024-10-12 12:29:06 +08:00
mkfsdata.pl tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkfsdata.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mknulldeps.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkromfsimg.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mksymtab.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mksyscall.c tools/syscall: Resolve compile time warning on address validation. 2023-06-28 08:47:07 +08:00
mkversion.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkwindeps.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
netusb.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
noteinfo.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
nxstyle.c clang: Support compiling rt.profile library 2024-10-30 17:10:23 +08:00
parsecallstack.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
parsememdump.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
parsetrace.py tools: fix parsetrace.py output 2024-10-18 10:29:48 +08:00
pre-commit tools: add git pre-commit hook based on checkpatch.sh 2023-05-03 14:42:34 +02:00
process_config.sh macos : fix “sed: -I or -i may not be used with stdin” 2024-11-04 22:40:29 +08:00
ProtectedLibs.mk clang:libclang_rt.builtins-xxx.a supports builtin 2024-10-28 16:38:45 +08:00
refresh.sh tools/refresh.sh:skip config check on debug configs 2024-10-30 22:14:40 +08:00
rmcr.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Rust.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
sethost.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
showsize.sh tools/showsize.sh: support pass custom nuttx executable 2024-10-13 02:11:12 +08:00
showstack.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
simbridge.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
simhostroute.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
simlaunch.sh sim:support sim elf and dynamic libs package in post build 2024-11-06 01:56:44 +08:00
size_report.py fix: TreeNode has same attribute with NodeMixin 2023-10-09 17:51:01 -04:00
stm32_pinmap_tool.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Swift.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
testbuild.sh cmake: Renamed savedefconfig with refreshsilent 2024-10-18 22:14:50 +08:00
toolchain.cmake.export Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale). 2024-04-29 17:34:10 +08:00
uncrustify.cfg tools/uncrustify: disable leading space removal for block comment 2024-04-16 19:10:08 +08:00
Unix.mk macos : fix “sed: -I or -i may not be used with stdin” 2024-11-04 22:40:29 +08:00
unlink.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
unlink.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
version.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Win.mk tools/Unix.mk:make incdir precedence over other targets 2024-10-30 22:14:40 +08:00
xmlrpc_test.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Zig.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
zipme.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00