Message ID | 1466485631-3532-15-git-send-email-ynorov@caviumnetworks.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1832186qgy; Mon, 20 Jun 2016 22:14:38 -0700 (PDT) X-Received: by 10.36.21.65 with SMTP id 62mr2517059itq.20.1466486078151; Mon, 20 Jun 2016 22:14:38 -0700 (PDT) Return-Path: <libc-alpha-return-70828-patch=linaro.org@sourceware.org> Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id i8si13997025paw.129.2016.06.20.22.14.37 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2016 22:14:38 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-70828-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org; spf=pass (google.com: domain of libc-alpha-return-70828-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-70828-patch=linaro.org@sourceware.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type; q=dns; s=default; b=gMVXW NCvXBw82jq0+DhGD2gQiaCRsv8OuIH+KAR/lz6bhJvRGdMw9Ns5fqxbKK8GrdGbw c8QxYf2W+adHojyB17nb8pgXGP9zFGrOoloLVAj5PHNMQcPodtzae35vMbg6kdg0 bwZ75ODYEyRSKoLloUHO+qSFR6NfRKrK5sKzF8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type; s=default; bh=n6wVsLfg0eT sNNnq529XQLZ/lD0=; b=ts6rtwr3L4/IkaykdB1ayNzAcfzfiSLUbQIoPxPUZjQ qrPLeR64zpj49ZZ4QwQUhwOQyVaBldRr8LGOAZGQ7+nbrwd/rFC+9ENoFppSx/vS OHamqjmLYrYaSlRgllv9O26XXE9ca5o8no3rM9q8czeI2Fwck1H2BrQaah1b6PHc = Received: (qmail 24743 invoked by alias); 21 Jun 2016 05:13:33 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <libc-alpha.sourceware.org> List-Unsubscribe: <mailto:libc-alpha-unsubscribe-patch=linaro.org@sourceware.org> List-Subscribe: <mailto:libc-alpha-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 19829 invoked by uid 89); 21 Jun 2016 05:13:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: na01-bn1-obe.outbound.protection.outlook.com Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; From: Yury Norov <ynorov@caviumnetworks.com> To: <libc-alpha@sourceware.org>, <linux-kernel@vger.kernel.org> CC: <arnd@arndb.de>, <catalin.marinas@arm.com>, <marcus.shawcroft@arm.com>, <philb@gnu.org>, <davem@davemloft.net>, <szabolcs.nagy@arm.com>, <maxim.kuvyrkov@linaro.org>, <joseph@codesourcery.com>, <pinskia@gmail.com>, Andrew Pinski <apinski@cavium.com>, Yury Norov <ynorov@caviumnetworks.com> Subject: [PATCH 13/27] [AARCH64] Set up wordsize for ILP32. Date: Tue, 21 Jun 2016 08:06:57 +0300 Message-ID: <1466485631-3532-15-git-send-email-ynorov@caviumnetworks.com> In-Reply-To: <1466485631-3532-1-git-send-email-ynorov@caviumnetworks.com> References: <1466485631-3532-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: HE1PR03CA0015.eurprd03.prod.outlook.com (10.163.170.153) To BN4PR07MB2241.namprd07.prod.outlook.com (10.164.63.147) X-MS-Office365-Filtering-Correlation-Id: 83542319-77b6-42e9-8c29-08d39992549e X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2241; 2:g3nOvuPkgHWRWvbgOOqul2zIuyTU/abJa2sAn3zfvCfUC8SKV6RT4GGcdlJvOcs1t2rMjcRNEU5X7nSOoaKPlYbmX/Wfdq4lSSxV0Eawhr5BiefzhlTlWSrUYfz4XIHzZLcNja0VT6r3mGr6UzOJas6jv0Kz0Cz75Ppghnksrsf/sHnjKBxtXOuTcYHkwSQL; 3:mvtLq3w8dmxOEve8EfKZ4NoOFRWPkNOjBpR06skFj3Twyo32kf1+CY2vhR0+RjOGbU7ingL9D1KnzCmFRCVa50CSI2WgRaMOZpkmLB0OMetmNMNyVFKIND3LQDFGELeA; 25:o+cEOAOBwiFSTwqgttE8qBPP/6QCseR1E8MCq/gBBqSzlEOXgmob0poagc+ZrJWoQQAEEgKQfOrxYSsmaRuVa4lpxgAZGXprfKwp8BfJXrU/OZaOz+L9BLeg1twZKELjeizPDayAxaw0PsSdA5qhJEJ1hoT1t8k/NqlufASIBBAW3q5wjoOzv8epeAxPyibq1IDmXn+mctxPqvsj669gE9I54i5wYQrs7g82J0EwLwIA2QcrQQTBOszZnnse1bZqdHPFJ5+toss63a5uPm3a2b0WiRYrHU/VnNkCi6w5akvAxfdHdFwL4rre3ok2C3bfR/yXtzwgwnpsAm7AWSOAkAt6AowWAU4wSjOoM3RflYt6eoSDaosKucay4ORNGg6yZ+sW87vWdaSMzdPvvADvKWRQ8CPRyomjxoflbADcKyA= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN4PR07MB2241; X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2241; 20:NjuNQFDI2PdE94DWXrueT7mUK3B6eKmCgbjq6r8cDXupahNxqzQuOSiHnHfTFUFs+DAvlyzNPja9hVu6Ojzn0RFfZE6o1HW23rQNF3kNp8/BcMxXg/ZG28OHEPUYuk7g3Gpv+oZmlQFKFj1BJllYXZe1u/qCSriVUw2KEZpv2IoXDqb09CpmqmXpOOHmt0MO+XQs5N+HretRuKHTWAjvjFxVB/xkBGhEnM4dTIs1KbB0eJw1Y22tKWTwbt4rDT93WINfNJt5O2jwMhZJnOMhJbP3Tve3imFNBm2ClZKMvfP66MeOkqGT+qmJiuJu0rRyXVHPGjiGRkr/uDHMTx7xYouD6oh8d0Tk3X09TU44gNli7VD6T+KtuHAIW0kilGmu+xc0fcyhInq5ORfE5oI7LIY6mqoS3/Q1LBfxabZc/QNNHskzlzdg4gH+Z6CsoAjCqssSwiZlvUM/pedr/thCY2A5MmZUmL86efXk9kwW3JQ9gRQtAJVy929kxFD58CAeJMPu2R/oQnu3QE1JPG3+VgwqzIJdksiDlu658dj0C4TX0/cPME59s1rd142a1+fQ/x0v7qgOAZonUEFcqa/E6pKFa/fAFSHOdhcYpCfwhYA= X-Microsoft-Antispam-PRVS: <BN4PR07MB224111BF4DFD876BC015DBD2EE2B0@BN4PR07MB2241.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(250305191791016)(278428928389397)(22074186197030); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BN4PR07MB2241; BCL:0; PCL:0; RULEID:; SRVR:BN4PR07MB2241; X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2241; 4:eBOgLvNVaagBGW+Odkac/WHrOchGjB8EaNbh4kNIniR75pQ1Wy3izUxUzcReZ2pwb1/KzrMM31/wXH+vFDOXoCXy0HuaycaBP6BJRUrqS/BXVkTQmVritP4hGElB68zPKqmzLZBCZNIYfoNxHOWVRoI5HDQU/LBMV2Q16QMWTdEljZfH+XAODX+2Lhp4iHn8rYA95rom64Po+senzZkXIOgmaysh4pUX+deoEhtE7hvDtT2nR9aCmLaNmO6vfsfZvApVImEKyRLd170nAM/3WYoDuCbgORMbJFLMIiDXsqNVf41A2MwHzE1qzj4xR1xEm4DBbjYoX4cKb+Zu/Fq8fmQPBauK4mcc5um1NbQU2B2ybz91wjPr1/ZXBeISD1LGrQfQJRQ8VSfjBcbf5JMfcecgCm3M4Y1YAtmMo2cUQUOBgW/cjxvnx5uRfmWfzYOYA6c7aAGb5rfApLSKNvXl0uiF7E6EOH3Fxp9Lb0h+nhk= X-Forefront-PRVS: 098076C36C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(199003)(189002)(77096005)(105586002)(42186005)(50226002)(106356001)(68736007)(76506005)(229853001)(7846002)(4326007)(5003940100001)(19580405001)(7736002)(36756003)(50466002)(19580395003)(15975445007)(47776003)(3846002)(586003)(6116002)(2950100001)(66066001)(81156014)(76176999)(2906002)(50986999)(33646002)(92566002)(48376002)(5001770100001)(189998001)(81166006)(8676002)(101416001)(4001430100002)(97736004)(107886002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN4PR07MB2241; 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; BN4PR07MB2241; 23:KSfUOB7axWSNHAaAItdV8LX5nM2RwQ2b1vgm5g8m1?= =?us-ascii?Q?jEcjnsoxf7zM1MaeagcKTK9cXfjWA5stdqn9Ym+bAqGy0sXaCXrwYbN7AlSz?= =?us-ascii?Q?uKOYR8CYUWF4buxJIJSg1SaOrPqXv+EvfhhxHU6VBanzv1qlMfa4mUtKuOc0?= =?us-ascii?Q?KF8ZIUz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osticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2016 05:10:14.8969 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN4PR07MB2241 |
diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h index 3ecccaa..3d5a79d 100644 --- a/sysdeps/aarch64/bits/wordsize.h +++ b/sysdeps/aarch64/bits/wordsize.h @@ -15,12 +15,16 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#define __WORDSIZE 64 +#ifdef __LP64__ +# define __WORDSIZE 64 +#else +# define __WORDSIZE 32 +#endif -/* LP64 ABI has a 64bit time_t. +/* LP64 and ILP32s ABI uses a 64bit time_t. This allows aarch32 and AARCH64 applications both access utmp. */ #define __WORDSIZE_TIME64_COMPAT32 1 -/* LP64 use the 64bit system call interface. */ +/* LP64 and ILP32 use the 64bit system call interface. */ #define __SYSCALL_WORDSIZE 64