> 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 16:06:22 up 3:12, 2 users, load average: 0.70, 0.25, 0.32
This commit is contained in:
parent
6602d1d7aa
commit
c7ce5a2d5b
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ func_t *get_func(vaddr_t addr) {
|
|||
if(func_table[mid].start <= addr) l = mid + 1;
|
||||
else r = mid;
|
||||
}
|
||||
return &func_table[r-1];
|
||||
return &func_table[r];
|
||||
}
|
||||
|
||||
void init_elf(const char *path) {
|
||||
|
|
Loading…
Reference in a new issue