]> git.proxmox.com Git - mirror_qemu.git/commit - scripts/qemu-binfmt-conf.sh
linux-user: Separate binfmt arm CPU families
authorMichael Weiser <michael.weiser@gmx.de>
Thu, 11 Jan 2018 13:25:33 +0000 (13:25 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Jan 2018 13:25:33 +0000 (13:25 +0000)
commit2ced93eee04ac636387233c64720d0f764d8d24d
tree6a18e593ac1555e26675297cf9444f6095d39826
parentf772f212b39a79b4510b0e9b403714cc03dae9b9
linux-user: Separate binfmt arm CPU families

Give big-endian arm and aarch64 CPUs their own family in
qemu-binfmt-conf.sh to make sure we register qemu-user for binaries of
the opposite endianness on arm and aarch64. Apart from the family
assignments of the magic values, qemu_get_family() needs to be able to
distinguish the two and recognise aarch64{,_be} as well.

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-id: 20171220212308.12614-7-michael.weiser@gmx.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
scripts/qemu-binfmt-conf.sh