From patchwork Tue Jun 21 05:07:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 70524 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1832675qgy; Mon, 20 Jun 2016 22:16:24 -0700 (PDT) X-Received: by 10.98.130.65 with SMTP id w62mr26082343pfd.5.1466486183162; Mon, 20 Jun 2016 22:16:23 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id e127si37912459pfa.238.2016.06.20.22.16.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2016 22:16:23 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-70836-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-70836-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-70836-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=yOXdX 2pUf839VKjZ1B5YF0gmaaGJzb2sY7cVHmZqlsA9AUyq+hLlI2uWqAB6o0QIh1AmO QVESE023aYtz5YRNgLRwXzs+Lbv47z4qlpr++EvR3fyYoexApWLWZDmZ5cRsextZ hh7SjL/XD0JOuQpECeqpaVEiUAx3KcMPxuu1YI= 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=SldZcTn4T8C 0/3rDDOvCq+GyWNM=; b=n1CSNA2QksBhZD4hHyVutezAiEwVl73BRk2qQ2wxpTz 1aHOcOYuWDpRVkw1nwSooL0lzUsQQ/SFQiG8axVeiIdHnR5bHzxUFBX5NcNI7QOG BkgF3el7DWJ4NvtxyfSM/VFbzvbcxOzATvY4qQp66DaXn0fIEk7asZvS8s7fp54o = Received: (qmail 29481 invoked by alias); 21 Jun 2016 05:13:37 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 19828 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.4 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1956, H*r:157.56.110 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 To: , CC: , , , , , , , , , Andrew Pinski , Yury Norov Subject: [PATCH 25/27] [AARCH64] Fix ILP32 warning Date: Tue, 21 Jun 2016 08:07:09 +0300 Message-ID: <1466485631-3532-27-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 X-ClientProxiedBy: HE1PR03CA0007.eurprd03.prod.outlook.com (10.163.170.145) To BN4PR07MB2244.namprd07.prod.outlook.com (10.164.63.150) X-MS-Office365-Filtering-Correlation-Id: 4934e120-e2bd-41fd-fd4d-08d399929efd X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2244; 2:ZfVb/R3kUDgxOT009dMsCMB3BiTTSjNA1wEnS6R0cHVN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aeeJw4uzMi9qY/eMlQ9SNI+MajgoGouBPv3Gxx/g9bfUkjJ3kaX7b8KM5HTonsDMSxuzFHxEImbnfn6igByFQkF/A5F9mNaq0vvA9NlQf+Al0lVv9V/j4touEgoE5O/PQx/9MTNDQ3iL+RqUlb5MrmgS03ZOtt9eRP7ugRb5EVPpv1MDXxVBIWAXaPIcjLJS8KMA1dEm4BXnnNKl2amoFQK3osRfhiDmgYXM+F6jslAVlnNCVvMNzWDK63MGMXMEX4GBz2wfbiscbISIKLGkZuHEDRL6ncwePPFkJv0Ei1iEPZ2c2+HdY4916fXCsQrS8zKLCk+kLvfX1GgqNLp4UzOy9Fxd3Ss= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:BN4PR07MB2244; BCL:0; PCL:0; RULEID:; SRVR:BN4PR07MB2244; X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2244; 4:PMwea4d1SvOFem4NHZheYdQU5xiLhOtvawXZAC0BY7MhgVkOe3neJZU53attGefEPs5eWP+aAYbS0p0yo3XTDCiNUvRgchFAT+fsw+TSKQC1VMs8MT6vmCQ/YapT9O1bTcll4hPJF14S0X+cgYkPBKoZYHbWBcGvmL7NicylsrqNnn++6fYcNLB1G4Zlral1KxerW4InXfDIAIKtvZtDrpwYH09I2Mg7bertL0gPJmSKd26nCbqXtDN8ovCpLNJWZWiFZ1ngojoFGFNJviqQbLjXzjpCJIsqxSUxfrOZdSt0uhQoMvXHiDFpDnt8n/Ekf3Sx0doxPaspvF3jWToEhYCcwpi4ehn2fskuZFGALElJC2dSAHl7MnobNjxqa7/M X-Forefront-PRVS: 098076C36C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(189002)(199003)(4326007)(6116002)(586003)(3846002)(5003940100001)(66066001)(7846002)(7736002)(68736007)(2950100001)(575784001)(47776003)(107886002)(33646002)(8676002)(50466002)(81166006)(97736004)(81156014)(76176999)(5001770100001)(92566002)(50226002)(105586002)(48376002)(106356001)(2906002)(50986999)(101416001)(19580395003)(189998001)(4001430100002)(42186005)(76506005)(77096005)(36756003)(229853001)(19580405001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN4PR07MB2244; 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; BN4PR07MB2244; 23:Gjk3vR5x7wv2A13Qgb9mwxlHnI1uKoqXkOA45PesY?= =?us-ascii?Q?Do4ik7VEqZb9YJjnQnLqNBwVz3rwvPuC1JSI0wH1OcLKfb5twaO9axZFkoQQ?= =?us-ascii?Q?bd2GTAA8ISyvozLTmlUc7AKLJcYi89B5M4oiAKn5rXqH3th+3OlB3gokTblM?= =?us-ascii?Q?uA03S1XUvQ1a+XkShSiBb1zUAo0q696+WdetmflnxOYGNdUz47RqAVVmTC7T?= =?us-ascii?Q?6c2u3LFi6axHuVkk3HfQFvkDd430QJRrKQV6t/D+eQVG0iprEP0lCu+U2x52?= =?us-ascii?Q?4SlFkZsu1mrvpelMyCJs7lWPSAEJw30lgv+sdkbZbzaE3O0p4iP1P7rq9j0R?= =?us-ascii?Q?jCc2O0UAIakevMgLMy5hT49/JKFQ5f5ID4GGI4FgtsqpJAZKT0oY/3neV7Tr?= =?us-ascii?Q?YUrsdzqfs4hL/qIA1lDbvDYNTqfwpQcp9Txl3jxGQFDfKiV1pnPIzO7+igzN?= =?us-ascii?Q?ikZBuOhxaAWpsnFeLcLsjTiX/ukZUBLx6eXRjD8ZBcg8b94aKeGl0/gWgLKN?= =?us-ascii?Q?fDCzXo4WUQXrFEDLqYvhhV0k42Yje3FXZFCGYswnul2fCs2bjSDQzWcUEEKv?= =?us-ascii?Q?SWOQP5IuKqobD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9vdMjzXWxqBm6z8oXde7mRsgfPFYflgcEyW+I4VY0qftpaWCBlgQvjbufAYJF7dZM+BGGhsPmlsHHnmAOrcdreKQ==; 24:tPrnTVEDBSI6txf5j9k4ykYHl8dp5APecopHxb9tt2iEDjZCVALqmnlT7ayHXdckt/7OEbT+8QOMdHvy/IOfrU2cvctOQK47bJeGgiQO2lw=; 7:U0TWhszjG1VRdIwWrvykARSF3D0JQYzNHSrgVzOJmWyQh4Q5MAPZjAHJ+aOfBiFXfB9jDiIcF+uPwIIPv9TIKHNW5ujzQcutoishKpgI7BXX91aBoN8eqFD7RarLXSD40ZvSfsudJiaUvdoLkebEeecSRDctI6yBrlVF640Jd5zOi0G409SSGhkJfIOx0tA0vhpWWcxsngR4aInDUHMjJmfc55QITHxAFpWFTzWfEtyleNDCc48muaWWlwKjqeGu SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2016 05:12:19.6808 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN4PR07MB2244 From: Andrew Pinski Signed-off-by: Yury Norov --- sysdeps/aarch64/jmpbuf-unwind.h | 2 +- sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h | 2 +- sysdeps/unix/sysv/linux/generic/brk.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 2.7.4 diff --git a/sysdeps/aarch64/jmpbuf-unwind.h b/sysdeps/aarch64/jmpbuf-unwind.h index 3e0a37d..5603828 100644 --- a/sysdeps/aarch64/jmpbuf-unwind.h +++ b/sysdeps/aarch64/jmpbuf-unwind.h @@ -27,7 +27,7 @@ ((void *) (address) < (void *) demangle (jmpbuf[JB_SP])) #define _JMPBUF_CFA_UNWINDS_ADJ(jmpbuf, context, adj) \ - _JMPBUF_UNWINDS_ADJ (jmpbuf, (void *) _Unwind_GetCFA (context), adj) + _JMPBUF_UNWINDS_ADJ (jmpbuf, (void *)(size_t) _Unwind_GetCFA (context), adj) #define _JMPBUF_UNWINDS_ADJ(_jmpbuf, _address, _adj) \ ((uintptr_t) (_address) - (_adj) < _jmpbuf_sp (_jmpbuf) - (_adj)) diff --git a/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h b/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h index a579501..ee54222 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h +++ b/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h @@ -19,7 +19,7 @@ #include #define SIGCONTEXT siginfo_t *_si, struct ucontext * -#define GET_PC(ctx) ((void *) (ctx)->uc_mcontext.pc) +#define GET_PC(ctx) ((void *) (size_t) (ctx)->uc_mcontext.pc) /* There is no reliable way to get the sigcontext unless we use a three-argument signal handler. */ diff --git a/sysdeps/unix/sysv/linux/generic/brk.c b/sysdeps/unix/sysv/linux/generic/brk.c index 1b84004..f369e06 100644 --- a/sysdeps/unix/sysv/linux/generic/brk.c +++ b/sysdeps/unix/sysv/linux/generic/brk.c @@ -33,7 +33,7 @@ __brk (void *addr) { INTERNAL_SYSCALL_DECL (err); - __curbrk = (void *) INTERNAL_SYSCALL (brk, err, 1, addr); + __curbrk = (void *) (size_t) INTERNAL_SYSCALL (brk, err, 1, addr); if (__curbrk < addr) { __set_errno (ENOMEM);