Message ID | 1450215766-14765-20-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 4BA1DBEEE1 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 15 Dec 2015 21:56:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7F1EB203E3 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 15 Dec 2015 21:56:24 +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 93CD2203C0 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 15 Dec 2015 21:56:23 +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 1a8xYW-0004aI-OV; Tue, 15 Dec 2015 21:54:48 +0000 Received: from mail-bn1bon0072.outbound.protection.outlook.com ([157.56.111.72] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a8xVk-0001Uk-4f for linux-arm-kernel@lists.infradead.org; Tue, 15 Dec 2015 21:52:04 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by CO2PR07MB617.namprd07.prod.outlook.com (10.141.228.143) with Microsoft SMTP Server (TLS) id 15.1.337.19; Tue, 15 Dec 2015 21:51:33 +0000 From: Yury Norov <ynorov@caviumnetworks.com> To: <arnd@arndb.de>, <catalin.marinas@arm.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH v6 19/20] arm64:ilp32: change COMPAT_ELF_PLATFORM to report a a subplatform for ILP32 Date: Wed, 16 Dec 2015 00:42:45 +0300 Message-ID: <1450215766-14765-20-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1450215766-14765-1-git-send-email-ynorov@caviumnetworks.com> References: <1450215766-14765-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM3PR08CA0037.eurprd08.prod.outlook.com (25.160.207.175) To CO2PR07MB617.namprd07.prod.outlook.com (10.141.228.143) X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB617; 2:1q1IqFRBBQSSIbKq7qA/ApMxdLLBy3cTL/u1GRulyfCFC5z1JAIbp/oArFJ7fyqcRQ1btQkJNdFmPR11e3XmdJ6OFkMnMv/taa4qSdMILj793Y9Z3yTPIiYwwU7i170brj3/1zOHPX3DyfI0yLFRPw==; 3:Ke3eEyxq71m+xBARprCqM2a7UN5HxJEWBrCN4l4uYNYNUpK56RnEQvjSsClWYnYHRL+LDNnjo/EmxYKLITNZXvu0MGdN7B+4aUiQ5wRBzbZW2Pp317v/KLWDSq7Koa0G; 25:2wuuHVTZ2QI/4vg5Hj/+2eu6Z8Rj6AEhmuHyW6g58nl4ANoLQtFgvIiSjiXtdp2MP1hB/f8vFRK6pVPcYXSikXCxxxtc8tUyUNt5No2UDopdHGuJTOisOj3ucx/ALW0+3VM53FnMUx4tXp2G4aKguTJStd15eeQ8RlyJ+TPt7BJ49hgGE0XTMMZksw/ou0QR6dF9uzWcN2scAD5jym/uGSCkQyXcFqbJppGpZ+983qQUDOVXOizxXDRDIr+eMEw0O2+wGzzcdlZBCYTM01iCEA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB617; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB617; 20:+ZEgeOu/XJuHrI+QOZ6TSsH7dHFNljSbEStoxzuvzoZTKtvGGciA3wEz6kub9+m0AQUl5DovNEWX5hCgLfObYMcI/0hArtARYsPwCm8HJqJ8zQQdcuyktOr5j2spxbbwju9sKlA6CBNJk6ETxsH6mBdhRPisps+d/fRdXtbEWfeC8VC+t/eEixyIRV5QB5G029v06LnzxAxMoRXcV2d0qefhfroerfN+icwYEhBPB12RR+doJd64LwrPpZfGjSuSXKPtxGCi8rl2/Z3vWTqhHsZeesNq8ud2lDdRiflVJURe5pZ8W4Ou0VEIHW2fYw6SZdoDlr5GyS9BhPAlPNVVBmUn9g5GW9iYkGAG/PSWruhN0Azw3oWYUmPLyanREaiOYfeF8pQJ7R9+4dD6xlAOHSeqqj9tJY4oGEZkdwgPhUz5gUd7yDL1rTXoDiq41SEkoL9dy6hGpqUb99Q1T5IFhzGL8IP9gd8u6+mBAkBkL7rKD1lkj82gIjmJvOjFjzOKZDPlcQGCQCmi2zo5NZebKlzYRS3QnotufTPofExh3KNTumKTvuGa/pmNPCa42mn/PgRxIxU9XlGb3CPCkYK94DLAzx8ZVUBnhT8RAzM5DbY= X-Microsoft-Antispam-PRVS: <CO2PR07MB61781FABCF9201806C24EE6EEEE0@CO2PR07MB617.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046); SRVR:CO2PR07MB617; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB617; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB617; 4:IAHbKYPfGsLQPVuetBQGN006n3dmIiBdMhvt+io0mwpChqWuiB6oxL716NwMordQBUtbHbwKLOVxtc3+iW5Wj2Bu5U8+gyGN4BvF2rRnrLsVDxW8wVfIQLdo3yFQLqkOA3k2HRNu3Texy/kAIZ542k1Z2KbEMsohx9OH9eToclqRznAHCbRZwZRBZxLwAPglulth2LIANDYMk4hpa9ODt6s7foIboLO4Qr0AVhRXTE4On49w57+06FeC0xMtpk+s7Lfwa5w9IStQajpQd/nr8OgN8eGTX5IRlIpW4tE97t307kMyna9hGpX6Tt9jMk8ygasPKuvYwBSDiC960Jvz3N4EEqanGTouPV+4A516//qRp2g8yhFTrN1cY/0IwvqaykjZdintTZheQov8LqLTlsfAPr+K9LGKsvl3Tnoy4HdtIFUIgRxkbzK3vhdt06O8 X-Forefront-PRVS: 07915F544A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(189002)(199003)(5008740100001)(2201001)(77096005)(2950100001)(19580395003)(5004730100002)(122386002)(5003940100001)(50226001)(50466002)(106356001)(1096002)(19580405001)(48376002)(42186005)(76506005)(50986999)(6116002)(3846002)(107886002)(4001430100002)(47776003)(586003)(36756003)(101416001)(229853001)(66066001)(97736004)(33646002)(92566002)(5001770100001)(87976001)(81156007)(189998001)(76176999)(105586002)(40100003)(5001960100002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB617; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; CO2PR07MB617; 23:8Crou50lAQPnZBzQZnZPCLkBTddgGE6NFsf3V2AaL7?= =?us-ascii?Q?OOKlPjV+bPRVa4qo2OHuYOxOPLaznNWrUwl1TRZMi/FWOa9Nq/TNEo+fPHso?= =?us-ascii?Q?Fhoadgfn1D2hFIxrNKnrYq86T5vlp4CQ8x8s9JcgJNASDm7veiI2YjwEhkSv?= =?us-ascii?Q?NutCAzY/oRQW8LryU7D58i0A3rffvB+0E09rYIWUsHdhle/6rvF/rYDo0Qqb?= =?us-ascii?Q?gEfi9dYCfh4vYFp4gVUoKgNILE5qC9W/IU6156XjtwCJ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8WMuTm9TC28hA7Au07uHxCqOuzf?= X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB617; 5:IsHVLeKgl6YFMYReSK8vStsHghq2rUNkf+CHjG0aiCNW4ex5zbv4ui1SM4DgDu9X9Fm0YjPSRwy0c4CiVT80MfcYlniHrI35qwOvU6loe+BEzGmWG8vzJhef8QhiIkscKfjuwaFdPHjVNjpXfGAgxA==; 24:4X5OfQa3eK5wwSMPn2fqZUSFdWWT5FUniQZklpTXZSbhJF/WZCpUgo/vkabi0mspX69vqTFk+IhHUjr+GaBp8+SE+YsUQegh0yQ1Uc/i8Zk= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Dec 2015 21:51:33.4207 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB617 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151215_135157_097261_97D59E76 X-CRM114-Status: UNSURE ( 5.74 ) 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: pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, broonie@kernel.org, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, Andrew Pinski <Andrew.Pinski@caviumnetworks.com>, ynorov@caviumnetworks.com, jan.dakinevich@gmail.com, ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, joseph@codesourcery.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 4e2e3c0..1fc6b48 100644 --- a/arch/arm64/include/asm/elf.h +++ b/arch/arm64/include/asm/elf.h @@ -164,9 +164,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)