]> git.proxmox.com Git - mirror_qemu.git/commit - include/elf.h
linux-user: MIPS set cpu to r6 CPU if binary is R6
authorYunQiang Su <syq@debian.org>
Tue, 20 Feb 2018 17:33:07 +0000 (18:33 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 25 Feb 2018 16:29:45 +0000 (17:29 +0100)
commit45506bddba6fe73f61cf15fb682ffff73ce156c0
treebf2bbf59bb6d98715f1a04e8b52d053a270cf8cd
parent33dff5ff909c54c6545aa818419caf8802156d55
linux-user: MIPS set cpu to r6 CPU if binary is R6

So here we need to detect the version of binaries and set
cpu_model for it.

Signed-off-by: YunQiang Su <syq@debian.org>
[lv: original patch modified to move code into cpu_get_model()]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180220173307.25125-5-laurent@vivier.eu>
include/elf.h
linux-user/mips/target_elf.h
linux-user/mips64/target_elf.h