OSDN Git Service

disas: Move disas.c into the target-independent source set
authorThomas Huth <thuth@redhat.com>
Tue, 9 May 2023 16:27:48 +0000 (17:27 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 11 May 2023 08:51:07 +0000 (09:51 +0100)
commiteb0153efa6fa58b2c9d891b17766dbedc10e31b5
treecd69d8a2e4097f5b6fbc92893add541c42bceb94
parente22d3c48db6fea230a24881a6a29766f2156283a
disas: Move disas.c into the target-independent source set

Use target_words_bigendian() instead of an ifdef.

Remove CONFIG_RISCV_DIS from the check for riscv as a host; this is
a poisoned identifier, and anyway will always be set by meson.build
when building on a riscv host.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230508133745.109463-3-thuth@redhat.com>
[rth: Type change done in a separate patch]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
disas/disas.c
disas/meson.build