diff options
author | Laurent Vivier | 2018-02-20 18:33:06 +0100 |
---|---|---|
committer | Laurent Vivier | 2018-02-25 17:29:21 +0100 |
commit | 33dff5ff909c54c6545aa818419caf8802156d55 (patch) | |
tree | 080794b435ac61f4062a5c90a39e1fc64aeba44d /linux-user/mips64/target_elf.h | |
parent | linux-user: introduce functions to detect CPU type (diff) | |
download | qemu-33dff5ff909c54c6545aa818419caf8802156d55.tar.gz qemu-33dff5ff909c54c6545aa818419caf8802156d55.tar.xz qemu-33dff5ff909c54c6545aa818419caf8802156d55.zip |
linux-user, m68k: select CPU according to ELF header values
M680x0 doesn't support the same set of instructions
as ColdFire, so we can't use "any" CPU type to execute
m68020 instructions.
We select CPU type ("m68040" or "any" for ColdFire)
according to the ELF header. If we can't, we
use by default the value used until now: "any".
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180220173307.25125-4-laurent@vivier.eu>
Diffstat (limited to 'linux-user/mips64/target_elf.h')
0 files changed, 0 insertions, 0 deletions