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
{{ message }}
This repository was archived by the owner on Nov 28, 2023. It is now read-only.
It could be that something is going wrong with the linker script. A binary of a small example is almost 7 MB in size:
-rwxrwxr-x 2 user user 6.7M Jun 2 18:13 target/riscv64gc-unknown-none-elf/release/interrupt
Using size, this seems to be allocated to data sections:
$ size target/riscv64gc-unknown-none-elf/release/interrupt
text data bss dec hex filename
38522 6176916 73732 6289170 5ff712 target/riscv64gc-unknown-none-elf/release/interrupt
I'm not sure why this is not treated like the .bss section, implicitly implied to be filled with zeros (the section is correctly labeled NOLOAD, but are not generated with ELF section type SHT_NOBITS).