Message ID | 20190307100656.14044-4-laurent@vivier.eu |
---|---|
State | Accepted |
Commit | e20e3ec928ebdcad051ed3ac71ccf46a5aacc59b |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp7248699jad; Thu, 7 Mar 2019 02:10:22 -0800 (PST) X-Google-Smtp-Source: APXvYqz/1eq/0OpW4VrlvDKb2A971Li7P5sFuZSZvLYWQxmWqzM+ZcHXL5s8ARN9qWVVmeHP1lsF X-Received: by 2002:a0d:c6c5:: with SMTP id i188mr9128220ywd.320.1551953421966; Thu, 07 Mar 2019 02:10:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551953421; cv=none; d=google.com; s=arc-20160816; b=GlScUb7S2y1/fm3zQlb+DI3iNn7qPZjzrLEywCO6cxLthj9RuuWbPOgKouWHwVEwxw kMN3NiK76oAHdqoqWJhdq/kUA0RbDC49WoLK9ru68x3D/yBRGa+oKK6wCSMcxgVNgHAr nSQeHb6s5G1LDvU6kzOzr7cXV+azDJOZ6EWKH+FmzpM2yLpeGcH6d9IBMjbY1bdBohKJ zT3Wcn5t9o1fXZKjCv40OpXIzt3kjcg/TzcGMCY1h54Oh9x8640Hl6nJfVPN1Gljs77R GZT6SkdynAUgSPzmWW37ZsfxqXzw+aRHONyiejXLVAnM8DVUvIRCJODDPd61G89pUx1s Mq0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from; bh=28kaq0i14y511XFQ1Pouh/FW3y0yYhxHP2zGmecEIbA=; b=kTuC8SsGoTy/MyxbGnN+6jcuVT/El+Mww8lLdAWhTZxgZKueskIeiC6ivg1G3t9bK0 oo7QxUW686EDvaPpAwbLhfp+is42uTFVainbk2I3IvqXAU8YxAvF2KHGd+zR/HkjHPq1 mJoe0Eld63rfAgdmpz4DW3fPY/FvEvI1IUz7MV+xTxy17qgYILFPAzzQ3osxJPRWD+Yl hq+e0NZPVzSLk+Ow5c5i9XNy0OnuEH3u4gDYTfaM2yXk15S2Ux2hgKMCWGugA9sC/2c2 A09sXaB9jWZLQ6DqT/Ni10GKKSPtZJQjpG2ft1qyqdv8z2IjUUY7jxoOUMjlh4X8RLvx +bvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c200si868302ybf.355.2019.03.07.02.10.21 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 07 Mar 2019 02:10:21 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([127.0.0.1]:48488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1h1pyn-0006RW-DM for patch@linaro.org; Thu, 07 Mar 2019 05:10:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <laurent@vivier.eu>) id 1h1pvq-00044u-2m for qemu-devel@nongnu.org; Thu, 07 Mar 2019 05:07:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <laurent@vivier.eu>) id 1h1pvo-0007Uj-JN for qemu-devel@nongnu.org; Thu, 07 Mar 2019 05:07:17 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:53559) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <laurent@vivier.eu>) id 1h1pvo-0007Tr-2Y for qemu-devel@nongnu.org; Thu, 07 Mar 2019 05:07:16 -0500 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MqJyX-1ggVgS1yFf-00nOnl; Thu, 07 Mar 2019 11:07:03 +0100 From: Laurent Vivier <laurent@vivier.eu> To: qemu-devel@nongnu.org Date: Thu, 7 Mar 2019 11:06:50 +0100 Message-Id: <20190307100656.14044-4-laurent@vivier.eu> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307100656.14044-1-laurent@vivier.eu> References: <20190307100656.14044-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:8R4sioWsjeSQoQBolvdH0WYJpxsKiToch9EhROvgEUxNuhWb/b6 3apstc/848r8PPYLO7nOlaywVqOAzkvVNGuGucxJfx+9q8uHCuttbFCGwArmC8d6/MAfLOC 2BLEhbCUMJZGjuXCLjRFSqYnsm9CVEupH3sSW57BtthG8fJVek7CyIvq6gQmFopIGdQLIl8 mjf+9NBF0DgUbv74EBx1g== X-UI-Out-Filterresults: notjunk:1; V03:K0:ckyG3+OTvRQ=:KmTWP3abWlCf8KGyYiA97+ 0eVT6OPxmzNMED2C17MDZ6Q0mz3azHGNBV84C4fOtvbcT4h5NNcZYUB2KdL1gxxmYwjRBWp5G YTbWrohQDU70ZdD9fhsKh6JdoohYp2ovrTJ3dGnbn+2nK7kNvhdWKUklETcQQ8iqA9DacUCDc DM2pFGn2FeW2PvEVQPyNOAr0V3ZwNMFssoSEcUeNOtvFsQMX5McJujOcghdmNfe6Evv9FviEq QwtY5nydTmhhcBRMEUhz+zWPlYppJrg8+8bZ/KcE5WHgJcsSHe3vpamNBJ4o8uQ9zdneEGbID CPvqKXXEHbGQcn3GuxIsK3L2TJ34UmjuL5U+FmdsoroWAn/354PkytmWgaTRZ4NlSxlSdcq0g gzsJP+quIlUlyuX2wR23CwsnCOLig2LEDJRTI/A9GwBGfk1+MuT8cG6EnJCDlF8SPw4YfmghS doXnhIrhQLzu+PdnKuiqZvdQQz5sEsZDJuy6DXNH22flN67XJ6TAhDTfLDS7J9ku/ui6WJ8gt Jw7JBYgb48VPNucyQnLpM8OX0wj20vVyQepqdwl3pfI7yW0fRJOQb8FwzGo63j5VT7RxjoO2l i7OvJcvz9E8xAHGGiqZ6qmT8BEH2gMYwIThjvjR1Kc7xVf2rrT6e9rcOD+9F8Wm0YsJX53HXq 0QZS3l9lFJ2zUjk1pknw7RZu8d8NU+QehVV33GR1tZgqo9e/ufrL2yeTwC6FK4qtZCtzvLLD3 /h/qJu8Lg+TrvZ+tLYCe1eNcPnIXapBckktLXA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.13 Subject: [Qemu-devel] [PULL 3/9] linux-user: Fix ELF_PLATFORM for aarch64_be-linux-user X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Riku Voipio <riku.voipio@iki.fi>, Richard Henderson <richard.henderson@linaro.org>, Laurent Vivier <laurent@vivier.eu> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
None
|
expand
|
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 940a97a2f2e9..c1a26021f8d7 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -537,7 +537,11 @@ static const char *get_elf_platform(void) #define ELF_ARCH EM_AARCH64 #define ELF_CLASS ELFCLASS64 -#define ELF_PLATFORM "aarch64" +#ifdef TARGET_WORDS_BIGENDIAN +# define ELF_PLATFORM "aarch64_be" +#else +# define ELF_PLATFORM "aarch64" +#endif static inline void init_thread(struct target_pt_regs *regs, struct image_info *infop)