RFC disas: Allow linking multiple disassemblers in a heterogeneous binary
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | target: Only link capstone to targets requiring itdisas/ target/ target/ +2 more | +4 | 2 replies | |
| 2/6 | target/hexagon: Add Kconfig filetarget/ target/ | +3 | 1 reply | |
| 3/6 | target/xtensa: Move xtensa-isa.c to common_ss[]target/ | +2 | 1 reply | |
| 4/6 | disas: Have each system target select its disassemblerKconfig disas/ meson.build +18 more | +79 | 0 replies | |
| 5/6 | Kconfig: Expose host CONFIG_CAPSTONE definitionKconfig.host meson.build | +4 | 0 replies | |
| 6/6 | disas: Select capstone targets by defaultdisas/ | +4 | 1 reply |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Brian Cain | Richard Henderson |
|---|---|---|
| 1/6 | ||
| 2/6 | R-b | |
| 3/6 | R-b | |
| 4/6 | ||
| 5/6 | ||
| 6/6 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/6] disas: Allow linking multiple disassemblers in a heterogeneous binary
Hi,
This series is an experiment to link multiple disassembler in the same system binary. At least in my prototype I wanted to get 3: x86 host and microblaze/xtensa targets.
Instead of having meson.build select one pair of host+target, we let targets to be selected by Kconfig. By default each target keeps selecting its disassembler, so there is no change in current uses of 1 target per binary.
Unfortunately I couldn't generalize to user emulation because we don't use Kconfig there.
Philippe Mathieu-Daudé (6):
target: Only link capstone to targets requiring it target/hexagon: Add Kconfig file target/xtensa: Move xtensa-isa.c to common_ss[]
disas: Have each system target select its disassembler
Kconfig: Expose host CONFIG_CAPSTONE definition
disas: Select capstone targets by default
meson.build | 4 ++- Kconfig | 1 + Kconfig.host | 3 ++ disas/Kconfig | 60 +++++++++++++++++++++++++++++++++++++++ disas/meson.build | 1 - target/Kconfig | 1 + target/alpha/Kconfig | 1 + target/arm/meson.build | 1 + target/avr/Kconfig | 1 + target/hexagon/Kconfig | 3 ++ target/hppa/Kconfig | 1 + target/i386/Kconfig | 1 + target/i386/meson.build | 1 + target/loongarch/Kconfig | 1 + target/m68k/Kconfig | 1 + target/microblaze/Kconfig | 1 + target/mips/Kconfig | 1 + target/openrisc/Kconfig | 1 + target/ppc/Kconfig | 1 + target/ppc/meson.build | 1 + target/riscv/Kconfig | 2 ++ target/rx/Kconfig | 1 + target/s390x/Kconfig | 1 + target/s390x/meson.build | 1 + target/sh4/Kconfig | 1 + target/sparc/Kconfig | 2 ++ target/tricore/Kconfig | 1 + target/xtensa/Kconfig | 1 + target/xtensa/meson.build | 3 +- 29 files changed, 96 insertions(+), 3 deletions(-) create mode 100644 disas/Kconfig create mode 100644 target/hexagon/Kconfig
Signature · 1 line
2.47.1