Skip to content

Commit

Permalink
Fix personality syscall number for riscv (#1024)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-schwab committed Aug 29, 2024
1 parent d1aaf88 commit c1cf4ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-vm
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,8 @@ vm_set_personality_syscall() {
alpha*) PERSONALITY_SYSCALL=324 ;;
sparc*) PERSONALITY_SYSCALL=191 ;;
ia64*) PERSONALITY_SYSCALL=1140 ;;
aarch64*|loongarch*) PERSONALITY_SYSCALL=92 ;;
i?86*|ppc*|arm*|sh4|cris|m68k*|s390*|unicore32|microblaze|riscv*) PERSONALITY_SYSCALL=136 ;;
aarch64*|loongarch*|riscv*) PERSONALITY_SYSCALL=92 ;;
i?86*|ppc*|arm*|sh4|cris|m68k*|s390*|unicore32|microblaze) PERSONALITY_SYSCALL=136 ;;
*) cleanup_and_exit 1 "Unknown architecture personality: '$archname'" ;;
esac
}
Expand Down

0 comments on commit c1cf4ae

Please sign in to comment.