From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: anjo@rev.ng, philmd@linaro.org, thuth@redhat.com
Subject: [PATCH v2 1/5] disas: Move disas.c to disas/
Date: Tue, 9 May 2023 17:33:22 +0100 [thread overview]
Message-ID: <20230509163326.121090-2-richard.henderson@linaro.org> (raw)
In-Reply-To: <20230509163326.121090-1-richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230503072331.1747057-80-richard.henderson@linaro.org>
---
meson.build | 3 ---
disas.c => disas/disas.c | 0
disas/meson.build | 4 +++-
3 files changed, 3 insertions(+), 4 deletions(-)
rename disas.c => disas/disas.c (100%)
diff --git a/meson.build b/meson.build
index 229eb585f7..d56358b65f 100644
--- a/meson.build
+++ b/meson.build
@@ -3152,9 +3152,6 @@ specific_ss.add(files('cpu.c'))
subdir('softmmu')
-common_ss.add(capstone)
-specific_ss.add(files('disas.c'), capstone)
-
# Work around a gcc bug/misfeature wherein constant propagation looks
# through an alias:
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99696
diff --git a/disas.c b/disas/disas.c
similarity index 100%
rename from disas.c
rename to disas/disas.c
diff --git a/disas/meson.build b/disas/meson.build
index c865bdd882..cbf6315f25 100644
--- a/disas/meson.build
+++ b/disas/meson.build
@@ -10,4 +10,6 @@ common_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files('riscv.c'))
common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
-common_ss.add(when: capstone, if_true: files('capstone.c'))
+common_ss.add(when: capstone, if_true: [files('capstone.c'), capstone])
+
+specific_ss.add(files('disas.c'), capstone)
--
2.34.1
next prev parent reply other threads:[~2023-05-09 16:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-09 16:33 [PATCH v2 0/5] Make the core disassembler functions target-independent Richard Henderson
2023-05-09 16:33 ` Richard Henderson [this message]
2023-05-10 15:12 ` [PATCH v2 1/5] disas: Move disas.c to disas/ Philippe Mathieu-Daudé
2023-05-09 16:33 ` [PATCH v2 2/5] disas: Remove target_ulong from the interface Richard Henderson
2023-05-10 6:48 ` Thomas Huth
2023-05-09 16:33 ` [PATCH v2 3/5] disas: Remove target-specific headers Richard Henderson
2023-05-09 16:33 ` [PATCH v2 4/5] disas: Move softmmu specific code to separate file Richard Henderson
2023-05-09 16:33 ` [PATCH v2 5/5] disas: Move disas.c into the target-independent source set Richard Henderson
2023-05-10 6:53 ` Thomas Huth
2023-05-10 7:46 ` Richard Henderson
2023-05-10 8:10 ` Thomas Huth
2023-05-10 8:13 ` Richard Henderson
2023-05-10 15:19 ` Philippe Mathieu-Daudé
2023-05-10 6:54 ` [PATCH v2 0/5] Make the core disassembler functions target-independent Thomas Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230509163326.121090-2-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=anjo@rev.ng \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).