mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] [Question] about arch/riscv64/crt_arch.h
@ 2020-10-28  1:40 Chen Wang
  2020-10-28  1:48 ` Patrick Oppenlander
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Wang @ 2020-10-28  1:40 UTC (permalink / raw)
  To: musl; +Cc: unicorn_wang

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]

hi,
I'm reading musl (1.2.1) code for riscv. In arch/riscv64/crt_arch.h,

__asm__(
......
"andi sp, sp, -16\n\t" // <--- why do we need this?
"tail " START "_c"
);





Best Regards

Wang Chen

[-- Attachment #2: Type: text/html, Size: 920 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-28  1:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28  1:40 [musl] [Question] about arch/riscv64/crt_arch.h Chen Wang
2020-10-28  1:48 ` Patrick Oppenlander
2020-10-28  1:50   ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).