On 01/16/2018 09:25 AM, Laurent Vivier wrote: > From: YunQiang Su <s...@debian.org> > > Add a function to return ELF e_flags and use it > to select the CPU model. > > [lv: split the patch and some cleanup in get_elf_eflags()] > Signed-off-by: Laurent Vivier <laur...@vivier.eu> > --- > > Notes: > YunQiang Su, please add your Signed-off-by that was > missing in your original patch. > > v2: call cpu_get_model() with the result of get_elf_eflags() > > linux-user/elfload.c | 35 +++++++++++++++++++++++++++++++++++ > linux-user/main.c | 20 ++++++++++---------- > linux-user/qemu.h | 1 + > 3 files changed, 46 insertions(+), 10 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~