Message ID | 1459894127-17698-10-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@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F24F79F3D1 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 5 Apr 2016 22:14:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 21F1D2013A for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 5 Apr 2016 22:14:19 +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 3B3BE200D4 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 5 Apr 2016 22:14:18 +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 1anZCi-0007fR-QY; Tue, 05 Apr 2016 22:12:08 +0000 Received: from mail-bn1on0084.outbound.protection.outlook.com ([157.56.110.84] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1anZBm-0006Vh-40 for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2016 22:11:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dkWqiF5nUs/EU0RrxzDT3kyik4sTmGhZPlJd8mAxo20=; b=Qv+f2dTCRXiLO3t394+nUKIeFQK/FkTi8aGnL7pYPURXl7fZNYSWC1Yvvbq4mR0Pgs52GOuNNOLOlClh0njThnWRFypH6Uac7Z4LEeXi/6Rx9WFjhYNJjXJyKl+rfENzQgQ6ChVrPMSGu1PEyMV7M2HDw3au/jMfuIkuF2h1OwI= Authentication-Results: arndb.de; dkim=none (message not signed) header.d=none;arndb.de; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (95.143.213.121) by BY2PR07MB614.namprd07.prod.outlook.com (10.141.222.146) with Microsoft SMTP Server (TLS) id 15.1.447.15; Tue, 5 Apr 2016 22:10:58 +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 09/25] arm64: ensure the kernel is compiled for LP64 Date: Wed, 6 Apr 2016 01:08:31 +0300 Message-ID: <1459894127-17698-10-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> References: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM2PR03CA0037.eurprd03.prod.outlook.com (10.160.207.47) To BY2PR07MB614.namprd07.prod.outlook.com (10.141.222.146) X-MS-Office365-Filtering-Correlation-Id: ee83870e-d87e-41b8-72ab-08d35d9f2ade X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB614; 2:+xXyuNV2dIzfXNnIJ0MxTk3RNr33FnxvB8faylHwTAaYImSaWM7FgfjdBHrBxBvA2Tpu/DKJaSQyFDDkb+NkLDwZuR8qHNdiAkc0naMrfBi8NPGEDcnEt/99GP1vPUU3zkxRPuJFJKXqLP4K4hJLWr9MAEpw70mFKz/iE2G08saVhWTm4HNMyVV1qEemhSpQ; 3:7dVTrbQb89fHSHdIl1EtdiiliJbxQWflPHnpVcuEgt9UCH1wo6fxk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gFb52iRQxWumYzdeT/jiY3n9m+n4qRrIK3pKp0ksDXaceDhdQpBCWb4ZLFcN+IkPiwvUE3Q= X-Microsoft-Antispam-PRVS: <BY2PR07MB6146264C3653C1DE6CE36FCEE9E0@BY2PR07MB614.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BY2PR07MB614; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB614; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB614; 4:tgG7HXdrKNjMwTbRQQkB9wmvbm90yXUMiYpAEooA6+g9ikHfCu5F1OttfCD+2daNOIVL+4Yimlfs8n2ZNh1N6RPLx6ZXugMf4jov2l2j9z40MmjUiB2w6UiV5oE4ZFYByH/ypmBy3XMKKbLfVV9iGMondsO15cXBo/SlOkL+vCs9gYz6m9gW1mny/0xdc5M2Msovl7b8v1UoUyRE5miIx9E4KBQSb3JADIkewsw+wrqPvLLSoH/BZUD+emex/McagEM84SRY59VNSN1lEGZuet6MH7gDgYykibBrSiW1KxkId09cMPCxb6lUJUWWxcF8FSY599NeVHBAKMG7j09BjMFTY1+pH9bXDv0hP+lSxWqGEr2GhSCxDNpqlajCUEn0 X-Forefront-PRVS: 0903DD1D85 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(6069001)(6009001)(1096002)(5008740100001)(6116002)(92566002)(33646002)(68736007)(36756003)(47776003)(3846002)(5001770100001)(50466002)(2201001)(586003)(50226001)(2950100001)(48376002)(229853001)(19580405001)(76506005)(5003940100001)(19580395003)(42186005)(81166005)(66066001)(77096005)(5004730100002)(2906002)(189998001)(50986999)(76176999)(4326007)(2101003)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB614; H:localhost; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB614; 23:6DqyYY2rnouFFeG5e9G4k1Ot85cHay9qDecZoN0+p5?= =?us-ascii?Q?re4SMZ6HmY7AfvA5iC0z9s8F9KBvy4B8ouys2hva2HmRayHZiXI4Yf0CoTnN?= =?us-ascii?Q?21IsG3dqm8F6K1LfeDZM8f9CM9WV+Y7pooVenjaS07neRDPN9DcV9xHg7Gfa?= =?us-ascii?Q?AvXcbpDhWeBFOf3oDpdiZH/Es69Mjlbt/+ZBybvYckW9I4j9RaIXE9bXH2LS?= =?us-ascii?Q?G2Ozgn1eIWPkfR0CYQawLxLjtN+XvP8ue6kva01r/EKvW3vcnzRUERmjP+7i?= =?us-ascii?Q?ct/krYKYi24wwJn6VbikhSOsCKel9pzTkiqExif0tjsQP7KgsREIqlWV1rYz?= =?us-ascii?Q?yNEzQLge7niISXZDk5rfX6Umxns1m6oA0Zob9Ez8Lcq2D+if/upvi+x00NoW?= =?us-ascii?Q?4ktYXl30qZ9gnPDoMUk2Q/sqmC6tEAvvOIn1IP0BO3htaL2b/g8ZOR0F9XBx?= =?us-ascii?Q?YByKtSWqQrk1Riw9IHb9/vvhITcmE/B3tFvTrRB1NOVzBVLUPfbHrBhg1AM4?= =?us-ascii?Q?u4GpaVXi+/ubcwC3A59Q6vhR9PQhvcxC/3B7NJLzzWuXE2FFUq0rPfLivs2U?= =?us-ascii?Q?HptsBpymCfNPuL9If2pRyQ43HkWsDV1KHoGJMbRju+t3K3ItN1FuMoMVOKEM?= =?us-ascii?Q?5BT89ahfToNtYLLw0InyTUjp07XkJ+MOdUBGzZ9hYdUx8oxqOqva0riymtiF?= =?us-ascii?Q?ldjbeJuEZpgFyEomssCvEBpOWys2gjL+WIhX4Tl+iHdYELe+GGo4xO2aP5sI?= =?us-ascii?Q?6fYt4FegAw7iRdxRlzJLRP2w/qRuDa/Y7x1JDfiMEyUQybRWAcXPBET4v7n+?= =?us-ascii?Q?coju9NaP88rDGeuFGkHVou6nBOY32cSj4VyXnucjqkyZ+lhmKdvfJCsGSdcA?= =?us-ascii?Q?AQOrME/hPybd61ZUR+UPM8l8Xk/CeKxjay8tCcMi1Wc3pgsZfwO+ZWbijfaY?= =?us-ascii?Q?oAL/KAYCbKVhcpCVO9OBj2TbNbthoA7+C3E7dlCSmWto67Gjky6A2Mkk85z2?= =?us-ascii?Q?DVElQZcqGG6+NRhWbSDHL9zoY4qnwAHW3kcs/0+kPhgDX+4t9GGAjBzsllAd?= =?us-ascii?Q?z48Xk=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB614; 5:zEqjSTTLlKiH6pUUreRNdqFZ/IvTQEh4DOZ94BFsFP7K2/6wmDDdC/bkLNoP03sdKEWJWtP6EKWmTdPiXXxzYF3NZpcgBNlPHeciSpjjNRN0i1OIuNzjVTA9NxH/CbIAPOo58WMM9PxEQpFWdgtQdA==; 24:3+xskM+V4RsxU4mB7ixdHvWs8XAJ3ijcZv7232QRJVZ2xrW6M+bwWyMmZ+qBRaxh+EYfXfZk48W78VJ809Pc0S0LB+i/fHPORVZi8dhmvGQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2016 22:10:58.5245 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB614 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160405_151110_576778_CDF3791F X-CRM114-Status: UNSURE ( 4.30 ) 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: linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, broonie@kernel.org, linux-doc@vger.kernel.org, heiko.carstens@de.ibm.com, agraf@suse.de, klimov.linux@gmail.com, Andrew Pinski <Andrew.Pinski@caviumnetworks.com>, ynorov@caviumnetworks.com, bamvor.zhangjian@huawei.com, Andrew Pinski <apinski@cavium.com>, schwidefsky@de.ibm.com, Nathan_Lynch@mentor.com, Philipp Tomsich <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=-5.1 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, 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/Makefile b/arch/arm64/Makefile index 354d754..29ebf23 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -35,14 +35,19 @@ KBUILD_CFLAGS += -fno-asynchronous-unwind-tables KBUILD_CFLAGS += $(call cc-option, -mpc-relative-literal-loads) KBUILD_AFLAGS += $(lseinstr) +KBUILD_CFLAGS += $(call cc-option,-mabi=lp64) +KBUILD_AFLAGS += $(call cc-option,-mabi=lp64) + ifeq ($(CONFIG_CPU_BIG_ENDIAN), y) KBUILD_CPPFLAGS += -mbig-endian AS += -EB LD += -EB +LDFLAGS += -maarch64linuxb else KBUILD_CPPFLAGS += -mlittle-endian AS += -EL LD += -EL +LDFLAGS += -maarch64linux endif CHECKFLAGS += -D__aarch64__