> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar  1 12:35:11 UTC 2024 x86_64 GNU/Linux
 00:25:34  up 2 days 14:01,  2 users,  load average: 0.46, 0.24, 0.27
This commit is contained in:
tracer-ysyx 2024-03-16 00:25:34 +08:00 committed by xinyangli
parent fd754ceb7e
commit 1b7dd394fe

View file

@ -22,8 +22,10 @@ void init_elf(const char *path) {
psh = section_header + i;
if (psh->sh_type == SHT_SYMTAB) {
symtab = psh;
break;
} else if (psh->sh_type == SHT_STRTAB) {
strtab = psh;
break;
}
}