> 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
 15:47:34  up   2:53,  2 users,  load average: 1.21, 0.78, 0.49
This commit is contained in:
tracer-ysyx 2024-03-20 15:47:34 +08:00 committed by xinyangli
parent 3bbd5cfbaf
commit c6cc74192c

View file

@ -13,7 +13,7 @@ int func_table_len = 0, func_table_size = 8;
#endif
static int cmp_func_t(const void *a, const void *b) {
return ((func_t *)a)->start > ((func_t *)b)->start;
return ((func_t *)a)->start >= ((func_t *)b)->start;
}
func_t *get_func(vaddr_t addr) {