Message ID | 20250103231738.65413-7-philmd@linaro.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | disas: Allow linking multiple disassemblers in a heterogeneous binary | expand |
On 1/3/25 15:17, Philippe Mathieu-Daudé wrote: > When capstone is available, we get ARM/X86/PPC/S390X > disassemblers in common_ss[] for free. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > disas/Kconfig | 4 ++++ > 1 file changed, 4 insertions(+) Acked-by: Richard Henderson <richard.henderson@linaro.org> Hopefully starting with capstone 6 we'll be able to add more. r~
diff --git a/disas/Kconfig b/disas/Kconfig index 1d2c397c953..8af8ecd5c81 100644 --- a/disas/Kconfig +++ b/disas/Kconfig @@ -3,6 +3,7 @@ config ALPHA_DIS config ARM_DIS bool + default y if CAPSTONE config AVR_DIS bool @@ -15,6 +16,7 @@ config HPPA_DIS config I386_DIS bool + default y if CAPSTONE config LOONGARCH_DIS bool @@ -33,6 +35,7 @@ config OPENRISC_DIS config PPC_DIS bool + default y if CAPSTONE config RISCV_DIS bool @@ -42,6 +45,7 @@ config RX_DIS config S390_DIS bool + default y if CAPSTONE config SH4_DIS bool
When capstone is available, we get ARM/X86/PPC/S390X disassemblers in common_ss[] for free. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- disas/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)