Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Conversation

@HexRabbit
Copy link
Contributor

@HexRabbit HexRabbit commented Nov 12, 2019

Glibc runtime use .init_array and .fini_array (which is not loaded by emulator) to do initialization and finalization.
I add a quick fix so it now load every section from binary except NULL address section and .bss. Since ram lives in emulator's .bss section, emulator don't have to zero out the memory while loading .bss section.

Now emulator load every segments from binary except NULL address segments and `.bss`
@jserv jserv merged commit ebf54c4 into sysprog21:master Nov 12, 2019
eriktai pushed a commit to eriktai/rv32emu that referenced this pull request Jan 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants