Message ID | 1443564860-31208-22-git-send-email-ynorov@caviumnetworks.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 56CA8BEEA4 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Sep 2015 22:37:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7EF41205E8 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Sep 2015 22:37:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A910A205E5 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Sep 2015 22:37:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zh3Ug-0004Vr-Uf; Tue, 29 Sep 2015 22:35:30 +0000 Received: from mail-bl2on0054.outbound.protection.outlook.com ([65.55.169.54] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zh3Ew-0004TF-08 for linux-arm-kernel@lists.infradead.org; Tue, 29 Sep 2015 22:19:15 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (91.78.158.8) by DM2PR07MB624.namprd07.prod.outlook.com (10.141.177.154) with Microsoft SMTP Server (TLS) id 15.1.280.20; Tue, 29 Sep 2015 22:18:52 +0000 From: Yury Norov <ynorov@caviumnetworks.com> To: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <catalin.marinas@arm.com>, <arnd@arndb.de>, <agraf@suse.de>, <bamvor.zhangjian@huawei.com> Subject: [PATCH v5 21/23] arm64:ilp32: change COMPAT_ELF_PLATFORM to report a a subplatform for ILP32 Date: Wed, 30 Sep 2015 01:14:18 +0300 Message-ID: <1443564860-31208-22-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1443564860-31208-1-git-send-email-ynorov@caviumnetworks.com> References: <1443564860-31208-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [91.78.158.8] X-ClientProxiedBy: DB5PR02CA0039.eurprd02.prod.outlook.com (25.161.237.49) To DM2PR07MB624.namprd07.prod.outlook.com (10.141.177.154) X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 2:LmQBoyJTga1bDdAG8Blrivl74nsSN0hbw2459BTkHwf31il3QvPqIfjqsQoRAY//u0GJMes9nwoDJVBto0xYcrgITOdNtWYD2v4ZYgUXaM06XDalrOUakVp8E+U76l+mWIHtQbUt8GfTJ9a5u41Z0QzviJ2775vHG7dtrSEZWHk=; 3:Lhq4TeZXSMuNhvmusi7elRmSvLDfFO0YWOUlEliUM7FvUNyrl2R0DMC+PNWab0dccQj1j+GIENvjLL6Ld7N+Qv9MTc4UZjW78x09gpcaYk+fcsLiB1Ft+DE11thcaecWP3LrzKxT0bzDfbCcEgInLA==; 25:u3R3HvmCPxG2XZyfH0K170LsBFUAJMq8CvkJXE1DDc2oGyXNHCXDgzCbiJqyHJ8SlHrf8MxFYTTXRAfpHplnUISmUHFEcNNsEjwzJB6LN14MqH8+uVuvDkVZdtMvcfiglJxKIEbTPdLINDCwES394PyDILDBRghtP2ZLc6KOU1+NiItnLijJD7WQ+lbjoLCbNqOwIKUssdb3NcN10D9WY4FZ5TdP63BZHM7M1ipidZ0Lr2VT3lp3uoJKuqyquXvIz8r5IKtzE4p8+RMJg5+RWA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR07MB624; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 20:SsKaG2dKWzSXKyhkAg0Hvpy+BSu1+8TvRMkQ9x9Ivynzb/uMjco4Zaqkm8L/5IpCMPpFqf/zYPC1+20KSEqUBWe2V5d0ZfLg7FPjGJbNgadQF0QwXmzXqGnY7TnkBM2WRHzm11B5a4a6I4DSVO7ehdHxqz4+IZtIPIHMlOEXQeM5knI8z6bPwsIBy3LZGdnhuIZjrhAS91KVIbCFw6ocl8NL0pBeyhfymglHyV1eylBYhr9kRJbCbAB23Pj5JDixvzKU6m8dsrx3Yg0MsexZMri2zWX+5DZwQZuZpLK7l9a8Klcxn9Ku9vk5uwzBQB5aL4A/7jwTvtqGcH6IANuzhiMxhmq/Q14lu4Eh9o0Tm40bLzudS/uJHxSHl/FGTplwY/necOnifEMpoXVfOjKjDUSvK9+V6vDWA/ymXhx/16OgK9cetAlBRB9fFPXTH/Smj+oHOkIMLeQnuKiT/8kuXBhBlkLGn8PNS31iZBKCQEsy1NsHKNTjPKnUNGAZJPO3fy/phhyoR5zeeLzRgDycys1unt2hc63ZHlh8UEE2ziwr7s3Rqeoz5OYIc7s8ryiwbxNpTz1N3DrrH+Kl9q38Zsf2OMcTqgPnE8Ob9pSvWB4= X-Microsoft-Antispam-PRVS: <DM2PR07MB6241B3AEA01843A5B9D8B2AEE4E0@DM2PR07MB624.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(3002001); SRVR:DM2PR07MB624; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB624; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 4:/0Iv1YCdguJjT2UG0w0MYlvynrIaM/f5tw6Sr6wcCNrOD2vwpT10gW31qFZzHiVY8OSqNqfVsJg9dpLztRQvlXDa9Bq+PJhNSO68jL7De93mwTT3BhsjqzYbInrQhu1fLcLrzGA/BjD7jvYPYqaPSdYnUOc49rYwWc0hitFSoGHH2gQ+dMtTe8VWESWw+xBfhj2Nli/tYW2Hob0ImD6nNWa7veP7hmp1d0eMPD42cYy31h0IDGc2tsLQhAABP/5wzXmQ+2D5ZkRuxDEAifHYpjMHOghW4IdW9UBcxunQ5etbl5jg7dCXcAIXpUXM09R8v91gmC2zlkubh+5y6dDueYA6HeAImPkjGoK3ilpaA/U= X-Forefront-PRVS: 0714841678 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(199003)(189002)(42186005)(19580405001)(189998001)(50226001)(107886002)(87976001)(92566002)(46102003)(5004730100002)(5001960100002)(5007970100001)(97736004)(122386002)(19580395003)(101416001)(2201001)(50986999)(5001860100001)(47776003)(50466002)(76176999)(4001540100001)(48376002)(68736005)(81156007)(40100003)(5001830100001)(76506005)(5001770100001)(229853001)(36756003)(77156002)(2950100001)(77096005)(66066001)(64706001)(33646002)(105586002)(106356001)(5003940100001)(5008740100001)(62966003)(2101003)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB624; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR07MB624; 23:0w+84wBvxGbPKo+HjLYydugKQCkT0es/vRQq5gb2lj?= =?us-ascii?Q?tygeK/sCAj9ehcWt0pCoi5tSCaLFcDxeuGSWpfH2R6NDuiQdIgIMR6YlbM2b?= =?us-ascii?Q?8qk7NQkYNNEwceu4qoVC05bDFP3pF6065v9kKHuWPM9mNldmRmUzRd0aqAbW?= =?us-ascii?Q?e+9GCT40CvFTHxhgAcaz+Qlr38GrGHP/kNz9MUpDNtgzgUI+sQbMY9fbsS/o?= =?us-ascii?Q?gML/SOX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q3s?= =?us-ascii?Q?bKVpPHQOn6tDUYWW5F60ToInQ3MiEtMAphZ54s4itEo2r5W0r8aHu5G1ksF6?= =?us-ascii?Q?Vml+Pia8zxi4FumGQDl+jxs2KrRomd+or+C0hsbfUTiKBw1mOZMb7zje4pjo?= =?us-ascii?Q?7K1UU7vhwWzcBoPz+jZRmOvVXKVa4L1RLRM3Kg9VnF2bVCK1YHWyZbBVmU24?= =?us-ascii?Q?461cCocf+iRLZHtxL8Pfc=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 5:u+cL7MFzVO6VRtmo/wxzO7aBQLgI2/b9IqsAHpKl8WHirik9XLKQZSqlhZYivf+hTkDRxHURNz5vrj8J8Fe262sQZh3Wb1SlV4Xr03VXsXQMh7AgISGd1VwdfrU4Vfbx3DCTZhRj6JBrEbc6Yc2Cjg==; 24:YjLl06Sn9HNGzGKSGQEMgzB/mBN+iGFwqkiPHKMItMQLXYCps3FOxXososHLYvqpXMyOF4GK/lGJP/2L2ju4OW9iiePdI3v8K881u0G4UCw=; 20:8A+5c59bOjlRS3yKRS+Pr64Pbp3BRfsPbp+iABSozI1tcGpiz3l83bkZaJEX/RqjeImZbmxaSW1krsgoYoiaeA== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2015 22:18:52.2963 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB624 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150929_151914_380699_99588960 X-CRM114-Status: UNSURE ( 4.58 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: yury.norov@gmail.com, klimov.linux@gmail.com, Yury Norov <ynorov@caviumnetworks.com>, apinski@cavium.com, philipp.tomsich@theobroma-systems.com, christoph.muellner@theobroma-systems.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h index 9a854f9..8ef8fc5 100644 --- a/arch/arm64/include/asm/elf.h +++ b/arch/arm64/include/asm/elf.h @@ -163,9 +163,9 @@ extern int arch_setup_additional_pages(struct linux_binprm *bprm, #ifdef CONFIG_COMPAT #ifdef __AARCH64EB__ -#define COMPAT_ELF_PLATFORM ("v8b") +#define COMPAT_ELF_PLATFORM (is_ilp32_compat_task() ? "aarch64_be:ilp32" : "v8b") #else -#define COMPAT_ELF_PLATFORM ("v8l") +#define COMPAT_ELF_PLATFORM (is_ilp32_compat_task() ? "aarch64:ilp32" : "v8l") #endif #define COMPAT_ELF_ET_DYN_BASE (2 * TASK_SIZE_32 / 3)