From patchwork Tue Jun 28 16:39:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 71138 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1694216qgy; Tue, 28 Jun 2016 09:44:05 -0700 (PDT) X-Received: by 10.66.73.193 with SMTP id n1mr3472852pav.70.1467132244933; Tue, 28 Jun 2016 09:44:04 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id qc5si1832105pac.119.2016.06.28.09.44.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jun 2016 09:44:04 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-71228-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-71228-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-71228-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=cpRQb 05z91uldWJYg99Q1PUgDQeLjlbhlPIWo6WPrxbT2mqcyQD8q4ualqrgLPyxH9aGO uW2Mi2b9eQ5AbSMDyFoV0Dni/EpZA4PVCVUOPk52X0VzQhvo264UtlOQdnozgzTu 4DdbBUcSBt1tYSaZ9OlnfcR1tFOvHm4DdNw4rA= 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=3+1qapLVA9Z eEWtitD7UGtmxB8M=; b=yGWCrbT4p9nmjjgdoxNM7fy+UUU6euJpN1wLnyRxvwW 12CAmiOxskS067juyuBuJI5wBX1sbi9LSA9q0KCNr1gGmd+rKmoEcE2IKBRW9GFl 37lzpAGD95X87s1VmqPF6zVGr9sn4+iEDGfA5VRLDflzWDztMerpztl8x17tGkPM = Received: (qmail 35301 invoked by alias); 28 Jun 2016 16:43:24 -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 35179 invoked by uid 89); 28 Jun 2016 16:43:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 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 To: , CC: , , , , , , , , , , , , , , , , Andrew Pinski , Yury Norov Subject: [PATCH 20/23] [AARCH64] Fix ILP32 warning Date: Tue, 28 Jun 2016 19:39:35 +0300 Message-ID: <1467131978-669-21-git-send-email-ynorov@caviumnetworks.com> In-Reply-To: <1467131978-669-1-git-send-email-ynorov@caviumnetworks.com> References: <1467131978-669-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-ClientProxiedBy: AM5PR0901CA0004.eurprd09.prod.outlook.com (10.164.186.142) To SN1PR07MB2256.namprd07.prod.outlook.com (10.164.47.150) X-MS-Office365-Filtering-Correlation-Id: 67338679-1227-4727-32db-08d39f734978 X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2256; 2:T7AR5fa89atKSgZyqY51vIJX6VDJtOlF9GRywSC+wqE+cAQO/qW/PuEMudMVP8LLAdE3L5yinn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WrXvc40SQzVLzeucorFJM3dUlVj+/poJd6oxyZPMuil9OFybpJD9cYfHQX0eW1FHBl/BQLSLWyT8KKgKZoSGGf2qIla1BvKdPpWi/aglYvPIyvpB6WnC+Fn91p0ZzRpy8MCF2W4XyA0fFkdxzGfTcOQMbDMNWOJb+aIxJ4lSd0HfITDyzDFzR83YsgXgNqrBnErYxAs2AC1k2SExkopmxN8h60cIwSbm2U+oYJEFISm2LariOMhMnM9IWUQbRHUO4QGR0P+WHmHE6oWaw4IJdTs1HJ7ez5rQFsN9AcLKNJqQ4FZ6dhekTdsdS9hmXdaXfp3NbBqHilb2lFhB/zQAjtP/GeyGsEryit1NtAH8iVpgIyXcJAftg7RvpsBaFqdc+seGk/1qg+80Ni2RBpTSEVeiaHRNLR7xl70iQPIYiNJT4L0cWKyECF82uiHOkNQBK+/CqaiEEjoxGJVUt5gq1iDU1cUz3LWHBDh+pGuo80ePPtifAnMTrzQUD0T19nm0gHoac0OAZa+q+GmDI+9nimpPZXPKAIcyKkpvmZn6GY6fcrAY= 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:SN1PR07MB2256; BCL:0; PCL:0; RULEID:; SRVR:SN1PR07MB2256; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2256; 4:5l4c2YJ1bI1ZHlBtccT0HXKRNrqOomW97V0Y/LX0VWCZFo1CwBFVbrnR6PBLmNkump7kaKVy2hRLVmKJv9kuX7P1eXZFSsHrY552dOx0byGZqV6K4q8l6X2OSveuG1Nq1tPPJEdKpsXgZVZULF8VO3V9ToXdobmLU1JRQPq3t/W9ZOvdxKXexO/Fj6CiQ9BluwmoW1EXW5VhpJVbuTnQCiw2OWkGEVMjji8di2SYc7CN3BEti3WLFXqxH0xVH0EDaYJJ6PFgPWra7bf/EXnTyWT+BDnJODqlI9wuR95PN10Ju+yHJyLIGHNfVX6tL/IyaHouYuJWBeetFFnMPcQ9g90lRvOzY90l7InWyUnXQ0Uu1MuTZVfHTDuCIBeRTV9D X-Forefront-PRVS: 0987ACA2E2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(199003)(189002)(47776003)(92566002)(5003940100001)(2950100001)(48376002)(3846002)(586003)(6116002)(36756003)(50466002)(50226002)(81156014)(66066001)(81166006)(189998001)(68736007)(77096005)(4001430100002)(8676002)(105586002)(76506005)(42186005)(19580405001)(106356001)(229853001)(5001770100001)(97736004)(101416001)(7846002)(107886002)(76176999)(575784001)(50986999)(19580395003)(4326007)(7736002)(2906002)(305945005)(33646002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2256; 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; SN1PR07MB2256; 23:VxKeLq6ZDCO++NMM0dKheF80p69NjDkgx0ParmlO7?= =?us-ascii?Q?alyXkUnC+vpModuH4CUpdhkLf+R1RHWrLsqAX/JfsFffQ8Cw0M77hQqdH+pG?= =?us-ascii?Q?8NMZOWsvFghkg2kPC+xMbwzq52egJEnNek6OmuDjVpTrOm/dYGs7Bshmcb1Z?= =?us-ascii?Q?CzhVGXFuqLJCa+3Ka5kKOOExOjNY8k6/q4vwegxnqpK8pEHHY6lTNxCNT1Fo?= =?us-ascii?Q?2eVQ4vR9irw/80dSt3Y0CZ6sRKYgRiXbsg1CoL4kQVvFzx1nGBT7CtRCx88Y?= =?us-ascii?Q?7d5EuZeCV86+qqGHMTqFtM0r7fKJb8BvwM1S0KssOLc9MpRO59Jo21Y2khZ8?= =?us-ascii?Q?6qSWqxJ4s0zu8CnoGDfceJzeG9ggaqO8nmYiTuAnF2Zbn0aLJiqMFVCizZX2?= =?us-ascii?Q?N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CQ2gnxM7zLkKLtwBdEGE2BiHVcGwaxkL/rA9u6YrBduOLIu+LTuc6slNun4DZW/SHwldbwaUptVCLd3EgUqB2QAD1z7KJF0rkD0Wi1Z5hQdFL/lL8XXqpxz7u3K/5QoqZZec237PKQ/KGo+p2tFwR3YpX3x0RN5umgpKuQuZuP2rW7Ib64GY+UtZvRAuElmIp8ddu4eoANiQcqgSl3000InApR7vAxDc8+kttUyt3OH+u9l1Fj7V0Wpgg=; 5:4UW5Q0EmBXcQ3+l+lUVpGTavu/WHUqNfmvvjSfx5W2hJ53j+gxwbWizcuQbXZj/6BoSH8XfzU85UqkPhZ+mLSuqgglpe3oojCXQdyCQ6uiKtBtMlgpKfzubD3AVXNVFPYHWsDod8pBlFe30aiowebA==; 24:Wn739dC7gaUtOr3CycEmbkH2X0alHadyjHm1SgER/pyuRieW+jkSpdK9Gl53Fi0hZTlbzYAD9yWljcKisfVUf9widGV5oNLrtXB7iock9zs=; 7:CtvDE0qoJDpC+znQ1FKS7LkKCmPxsfKqHdYrOvkp4dftGZ0QdObPgJn9y+4C5iEDUdBX9wLXqwnkLfSwg0VkTT7CBdPHSii6AwEkmsEEpl6ak/I4Sne05YZgaM/76/IyvtrPIoqxB7BOQY+bC/pf7KPhcAYBUZHyVvaqwJYjOZJ1fYKjb0sWZXZ663ieD54+Homensr9p2y8QLPo4rSl6lRA0ua4J1JCzcwgW1wMlDk7a0laKNwfyOCoVCXrWGUC SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2016 16:43:08.7227 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2256 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..11ace17 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);