qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] disas: Fix build against Capstone v6 (again)
@ 2024-10-22  1:30 Richard Henderson
  2024-11-02 17:46 ` Gustavo Romero
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Henderson @ 2024-10-22  1:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: gustavo.romero

Like 9971cbac2f3, which set CAPSTONE_AARCH64_COMPAT_HEADER,
also set CAPSTONE_SYSTEMZ_COMPAT_HEADER.  Fixes the build
against capstone v6-alpha.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 include/disas/capstone.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/disas/capstone.h b/include/disas/capstone.h
index a11985151d..c43033f7f6 100644
--- a/include/disas/capstone.h
+++ b/include/disas/capstone.h
@@ -4,6 +4,7 @@
 #ifdef CONFIG_CAPSTONE
 
 #define CAPSTONE_AARCH64_COMPAT_HEADER
+#define CAPSTONE_SYSTEMZ_COMPAT_HEADER
 #include <capstone.h>
 
 #else
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] disas: Fix build against Capstone v6 (again)
  2024-10-22  1:30 [PATCH] disas: Fix build against Capstone v6 (again) Richard Henderson
@ 2024-11-02 17:46 ` Gustavo Romero
  2024-11-04 13:40   ` Peter Maydell
  0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Romero @ 2024-11-02 17:46 UTC (permalink / raw)
  To: Richard Henderson, qemu-devel, Peter Maydell

Hi Richard,

Sorry, I've missed that one and just found it when doing a
check before the soft freeze :)

On 10/21/24 22:30, Richard Henderson wrote:
> Like 9971cbac2f3, which set CAPSTONE_AARCH64_COMPAT_HEADER,
> also set CAPSTONE_SYSTEMZ_COMPAT_HEADER.  Fixes the build
> against capstone v6-alpha.
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   include/disas/capstone.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/include/disas/capstone.h b/include/disas/capstone.h
> index a11985151d..c43033f7f6 100644
> --- a/include/disas/capstone.h
> +++ b/include/disas/capstone.h
> @@ -4,6 +4,7 @@
>   #ifdef CONFIG_CAPSTONE
>   
>   #define CAPSTONE_AARCH64_COMPAT_HEADER
> +#define CAPSTONE_SYSTEMZ_COMPAT_HEADER
>   #include <capstone.h>
>   
>   #else


Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org>

@Peter, would you mind adding this to your queue?


Cheers,
Gustavo


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] disas: Fix build against Capstone v6 (again)
  2024-11-02 17:46 ` Gustavo Romero
@ 2024-11-04 13:40   ` Peter Maydell
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2024-11-04 13:40 UTC (permalink / raw)
  To: Gustavo Romero; +Cc: Richard Henderson, qemu-devel

On Sat, 2 Nov 2024 at 17:46, Gustavo Romero <gustavo.romero@linaro.org> wrote:
>
> Hi Richard,
>
> Sorry, I've missed that one and just found it when doing a
> check before the soft freeze :)
>
> On 10/21/24 22:30, Richard Henderson wrote:
> > Like 9971cbac2f3, which set CAPSTONE_AARCH64_COMPAT_HEADER,
> > also set CAPSTONE_SYSTEMZ_COMPAT_HEADER.  Fixes the build
> > against capstone v6-alpha.
> >
> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> > ---
> >   include/disas/capstone.h | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/include/disas/capstone.h b/include/disas/capstone.h
> > index a11985151d..c43033f7f6 100644
> > --- a/include/disas/capstone.h
> > +++ b/include/disas/capstone.h
> > @@ -4,6 +4,7 @@
> >   #ifdef CONFIG_CAPSTONE
> >
> >   #define CAPSTONE_AARCH64_COMPAT_HEADER
> > +#define CAPSTONE_SYSTEMZ_COMPAT_HEADER
> >   #include <capstone.h>
> >
> >   #else
>
>
> Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org>
>
> @Peter, would you mind adding this to your queue?

Sure; applied to target-arm.next, thanks.

-- PMM


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-04 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22  1:30 [PATCH] disas: Fix build against Capstone v6 (again) Richard Henderson
2024-11-02 17:46 ` Gustavo Romero
2024-11-04 13:40   ` Peter Maydell

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).