* RISC-V crt0.S
@ 2022-06-11 15:56 Liviu Ionescu
0 siblings, 0 replies; only message in thread
From: Liviu Ionescu @ 2022-06-11 15:56 UTC (permalink / raw)
To: newlib
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-11 15:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11 15:56 RISC-V crt0.S Liviu Ionescu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).