You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've build the RISC-V toolchain whit NewLib as indicated in the official repository (cause I'll need it), so when I compiled a simple main whit a string copy implemented on, the simulator execute from _start to the call of atexit and then stops the execution without any error o message, and also without calling main.
Here I put also the disassembled code (builded whit local tool-chain) and the object file. disass.txt main_elf.txt (change extension to .elf).
There is an issue on the simulator or is a tool-chain configuration issue??
My goal is to simulate the boot stage of the compiled code!
[EDIT]
I also need to specify the linker script for allocating ELF sections in a memory map that's different from the default one, so here there is also the linker script: ld_script.txt
Thanks to who respond me,
Alan Masutti
The text was updated successfully, but these errors were encountered:
Hi,
I've build the RISC-V toolchain whit NewLib as indicated in the official repository (cause I'll need it), so when I compiled a simple main whit a string copy implemented on, the simulator execute from
_start
to the call ofatexit
and then stops the execution without any error o message, and also without callingmain
.Here is the code:
Here I put also the disassembled code (builded whit local tool-chain) and the object file.
disass.txt
main_elf.txt (change extension to .elf).
There is an issue on the simulator or is a tool-chain configuration issue??
My goal is to simulate the boot stage of the compiled code!
[EDIT]
I also need to specify the linker script for allocating ELF sections in a memory map that's different from the default one, so here there is also the linker script:
ld_script.txt
Thanks to who respond me,
Alan Masutti
The text was updated successfully, but these errors were encountered: