RISC-V crt0.S

Liviu Ionescu <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Hi,

I tried to use the RISC-V semihosting configuration, and I noticed that crt0.S is very simple, and does not process the command line arguments, as per Arm semihosting specs.

Then I tried to override _startup() with my own version, and I noticed that the function is not defined as weak, so I had to name mine differently, and call it from the reset handler.


It would be great to bring the RISC-V semihosting crt0.S to the same functionality level of Arm semihosting.


Regards,

Liviu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.