nuttx/arch/sim/src
cuiziwei 8e58245524 sim: Fix sim m32 start up crash issue.
After compilation, when starting nsh, the following crash occurs.
==2500151==Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.
==2500151==ASan shadow was supposed to be located in the [0x1ffff000-0x3fffffff] range.
==2500151==Process memory map follows:
0x30000000-0x33dd4000 /nuttx/nuttx

To avoid overlaps, change the starting address of the text segment.

Using Ttext-segment=0x30000000 causes a crash when starting the 32-bit SIM.
Using -Ttext-segment=0x50000000 causes a crash when starting the 64-bit SIM.
Setting -Ttext-segment=0x40000000 resolves all issues perfectly.

Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2024-11-23 01:47:34 +08:00
..
cmake sim: Fix sim m32 start up crash issue. 2024-11-23 01:47:34 +08:00
sim sim/win: Replace nuttx_mode_t with int 2024-11-17 08:31:08 -03:00
.gitignore arch/sim: Copy include/nuttx/config.h to the local folder 2021-07-27 07:44:33 +09:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Makefile gprof: Remove duplicate content 2024-11-15 01:05:16 +08:00
nuttx-names.in nuttx-names.in: add feof 2024-10-10 22:55:04 +08:00