This idea has been suggested to me before by Philippe
Mathieu-Daudé, and recently YunQiang Su has proposed a
patch to manage the MIPS r6 case.

Based on this, this series tries to clean-up the original
patch, and introduces the use for m68k architecture and
port the patch from YunQiang Su.

Laurent Vivier (1):
  linux-user,m68k: select CPU according to ELF header values

YunQiang Su (2):
  linux-user: introduce functions to detect CPU type
  linux-user: MIPS set cpu to r6 CPU if binary is R6

 include/elf.h        |   4 ++
 linux-user/elfload.c |  37 ++++++++++++++++
 linux-user/main.c    | 121 +++++++++++++++++++++++++++++++--------------------
 linux-user/qemu.h    |   1 +
 4 files changed, 115 insertions(+), 48 deletions(-)

-- 
2.14.3


Reply via email to