On Wed, 30 Jul 2025 at 01:15, Richard Henderson <[email protected]> wrote: > > Move get_elf_platform to i386/elfload.c; pass in CPUState. > Create a simple get_elf_platform for x86_64. > > Signed-off-by: Richard Henderson <[email protected]> > --- > linux-user/loader.h | 3 +++ > linux-user/elfload.c | 18 ++---------------- > linux-user/i386/elfload.c | 13 +++++++++++++ > linux-user/x86_64/elfload.c | 5 +++++ > 4 files changed, 23 insertions(+), 16 deletions(-) >
Reviewed-by: Peter Maydell <[email protected]> thanks -- PMM
