> 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:26:22 up 2 days 14:02, 2 users, load average: 0.99, 0.42, 0.33
This commit is contained in:
parent
1b7dd394fe
commit
14e93a47cc
1 changed files with 1 additions and 2 deletions
|
@ -22,11 +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;
|
||||
}
|
||||
if(symtab && strtab) break;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue