Skip to content

Commit

Permalink
configure: fix detection for x32 linux-user
Browse files Browse the repository at this point in the history
x32 uses the same signal handling fragments as x86_64, since host_arch
is set to x86_64 when Meson runs.  Remove the unnecessary forwarder and
set the host_arch variable properly in configure.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Tested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Tested-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20230808120303.585509-2-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed Aug 8, 2023
1 parent 9400601 commit f140823
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,8 @@ fi
case "$cpu" in
riscv*)
host_arch=riscv ;;
x32)
host_arch=x86_64 ;;
*)
host_arch="$cpu" ;;
esac
Expand Down
1 change: 0 additions & 1 deletion linux-user/include/host/x32/host-signal.h

This file was deleted.

0 comments on commit f140823

Please sign in to comment.