Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759987AbbLCLg6 (ORCPT ); Thu, 3 Dec 2015 06:36:58 -0500 Received: from vegas.theobroma-systems.com ([144.76.126.164]:51114 "EHLO mail.theobroma-systems.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752085AbbLCLg4 convert rfc822-to-8bit (ORCPT ); Thu, 3 Dec 2015 06:36:56 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: [PATCH v6 05/19] arm64:uapi: set __BITS_PER_LONG correctly for ILP32 and LP64 From: "Dr. Philipp Tomsich" In-Reply-To: <20151203113157.GI10747@e104818-lin.cambridge.arm.com> Date: Thu, 3 Dec 2015 12:36:50 +0100 Cc: Yury Norov , Arnd Bergmann , linux-arm-kernel , linux-kernel@vger.kernel.org, Andrew Pinski , Prasun.Kapoor@caviumnetworks.com, Andreas Schwab , Nathan Lynch , Alexander Graf , klimov.linux@gmail.com, broonie@kernel.org, jan.dakinevich@gmail.com, ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, andrey.konovalov@linaro.org, joseph@codesourcery.com, christoph.muellner@theobroma-systems.com Content-Transfer-Encoding: 8BIT Message-Id: <20345DE6-4D42-46E3-BA5F-58FB9741F78A@theobroma-systems.com> References: <1447795019-30176-1-git-send-email-ynorov@caviumnetworks.com> <1447795019-30176-6-git-send-email-ynorov@caviumnetworks.com> <20151203113157.GI10747@e104818-lin.cambridge.arm.com> To: Catalin Marinas X-Mailer: Apple Mail (2.2104) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1055 Lines: 28 Catalin, > Quick question: IIRC, earlier aarch64 gcc versions did not generate > __ILP32__ when -mabi=ilp32, they only removed __LP64__. When did the > change happen? Could we assume that all compiler versions used to > generate ILP32 would define this? The __ILP32__ define has been supported since > commit b01b37f5768911598640cf8a8c82beacb4200c13 > Author: yufeng > Date: Tue Jul 23 12:26:33 2013 +0000 > > [AArch64, ILP32] 4/6 Define _ILP32 and __ILP32__. > > gcc/ > > * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define _ILP32 > and __ILP32__ when the ILP32 model is in use. > > > git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201167 138bc75d-0d04-0410-961f-82ee72b054a4 Best regards, Philipp.-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/