From: Laurent Vivier <laurent@vivier.eu>
To: Michael Weiser <michael.weiser@gmx.de>, qemu-devel@nongnu.org
Cc: Riku Voipio <riku.voipio@iki.fi>
Subject: Re: [Qemu-devel] [PATCH v3 2/7] linux-user: Add separate aarch64_be uname
Date: Thu, 21 Dec 2017 11:02:28 +0100 [thread overview]
Message-ID: <c8a75a80-b090-6cb3-7f66-392d7d881cb4@vivier.eu> (raw)
In-Reply-To: <20171220212308.12614-3-michael.weiser@gmx.de>
Le 20/12/2017 à 22:23, Michael Weiser a écrit :
> Make big-endian aarch64 systems identify as aarch64_be as expected by
> big-endian userland and toolchains.
>
> Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> linux-user/aarch64/target_syscall.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/linux-user/aarch64/target_syscall.h b/linux-user/aarch64/target_syscall.h
> index 1b62953eeb..604ab99b14 100644
> --- a/linux-user/aarch64/target_syscall.h
> +++ b/linux-user/aarch64/target_syscall.h
> @@ -8,7 +8,11 @@ struct target_pt_regs {
> uint64_t pstate;
> };
>
> +#if defined(TARGET_WORDS_BIGENDIAN)
> +#define UNAME_MACHINE "aarch64_be"
> +#else
> #define UNAME_MACHINE "aarch64"
> +#endif
> #define UNAME_MINIMUM_RELEASE "3.8.0"
> #define TARGET_CLONE_BACKWARDS
> #define TARGET_MINSIGSTKSZ 2048
>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
next prev parent reply other threads:[~2017-12-21 10:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-20 21:23 [Qemu-devel] [PATCH v3 0/7] Add aarch64_be-linux-user target Michael Weiser
2017-12-20 21:23 ` [Qemu-devel] [PATCH v3 1/7] linux-user: Add support for big-endian aarch64 Michael Weiser
2017-12-20 21:23 ` [Qemu-devel] [PATCH v3 2/7] linux-user: Add separate aarch64_be uname Michael Weiser
2017-12-21 10:02 ` Laurent Vivier [this message]
2017-12-20 21:23 ` [Qemu-devel] [PATCH v3 3/7] linux-user: Fix endianess of aarch64 signal trampoline Michael Weiser
2017-12-20 21:23 ` [Qemu-devel] [PATCH v3 4/7] configure: Add aarch64_be-linux-user target Michael Weiser
2017-12-21 10:01 ` Laurent Vivier
2017-12-20 21:23 ` [Qemu-devel] [PATCH v3 5/7] linux-user: Add aarch64_be magic numbers to qemu-binfmt-conf.sh Michael Weiser
2017-12-21 10:01 ` Laurent Vivier
2017-12-20 21:23 ` [Qemu-devel] [PATCH v3 6/7] linux-user: Separate binfmt arm CPU families Michael Weiser
2017-12-21 9:59 ` Laurent Vivier
2017-12-20 21:23 ` [Qemu-devel] [PATCH v3 7/7] linux-user: Activate armeb handler registration Michael Weiser
2017-12-21 9:58 ` Laurent Vivier
2017-12-20 21:52 ` [Qemu-devel] [PATCH v3 0/7] Add aarch64_be-linux-user target no-reply
2018-01-08 12:06 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c8a75a80-b090-6cb3-7f66-392d7d881cb4@vivier.eu \
--to=laurent@vivier.eu \
--cc=michael.weiser@gmx.de \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).