Le 20/12/2017 à 22:23, Michael Weiser a écrit : > Add target aarch64_be-linux-user. This allows a qemu-aarch64_be binary > to be built that will run big-endian aarch64 binaries. > > Signed-off-by: Michael Weiser <michael.wei...@gmx.de> > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > --- > configure | 5 +++-- > default-configs/aarch64_be-linux-user.mak | 1 + > 2 files changed, 4 insertions(+), 2 deletions(-) > create mode 100644 default-configs/aarch64_be-linux-user.mak > > diff --git a/configure b/configure > index 9c8aa5a98b..95d5808be1 100755 > --- a/configure > +++ b/configure > @@ -6369,7 +6369,7 @@ target_name=$(echo $target | cut -d '-' -f 1) > target_bigendian="no" > > case "$target_name" in > - > armeb|hppa|lm32|m68k|microblaze|mips|mipsn32|mips64|moxie|or1k|ppc|ppcemb|ppc64|ppc64abi32|s390x|sh4eb|sparc|sparc64|sparc32plus|xtensaeb) > + > armeb|aarch64_be|hppa|lm32|m68k|microblaze|mips|mipsn32|mips64|moxie|or1k|ppc|ppcemb|ppc64|ppc64abi32|s390x|sh4eb|sparc|sparc64|sparc32plus|xtensaeb) > target_bigendian=yes > ;; > esac > @@ -6424,7 +6424,8 @@ case "$target_name" in > mttcg="yes" > gdb_xml_files="arm-core.xml arm-vfp.xml arm-vfp3.xml arm-neon.xml" > ;; > - aarch64) > + aarch64|aarch64_be) > + TARGET_ARCH=aarch64 > TARGET_BASE_ARCH=arm > bflt="yes" > mttcg="yes" > diff --git a/default-configs/aarch64_be-linux-user.mak > b/default-configs/aarch64_be-linux-user.mak > new file mode 100644 > index 0000000000..a69d9d2e41 > --- /dev/null > +++ b/default-configs/aarch64_be-linux-user.mak > @@ -0,0 +1 @@ > +# Default configuration for aarch64_be-linux-user >
Reviewed-by: Laurent Vivier <laur...@vivier.eu>