Message ID | 79cb1f1d698da5e1e183863aa3c8a91b2e750664.1434369586.git.riku.voipio@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBC4MBBM76YMRBWMG7OVQKGQETXSJZRA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 20FA0211FD for <linaro@patches.linaro.org>; Mon, 15 Jun 2015 12:21:46 +0000 (UTC) Received: by wifx6 with SMTP id x6sf20723021wif.1 for <linaro@patches.linaro.org>; Mon, 15 Jun 2015 05:21:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=M7jjBEchjiSzrrCDZyKRMQP1wNPTDrdir30clVHn67M=; b=hLrOkiVaQWhrZgfLTVyEMlRhYuob1kUDXIxfAFyafhdos65smfbpv5vvFKe4Ese8xp i/EMVl5VHSQn9Sa05wmfDiHoccI6ANLzO6/xFRVS2zv391UJ3j/zmJoDpCLuvUm0HejV yX0YI5ncLswiKiAu8CTZFvDEHTdrTiGFKgK8HBv6RLAet6nBu3gr61PKZBv0iRwBryZS t7bazrLyigFLp5Bw/KRbyAQPEHm8F8xe4RXQ+UPmpqyHxv2RNgYervL/+2onRyUQp5OY rzZ2DmLjGRvk79lK298Hj4DL7P8wvGm1dl3AkGQJRn1nc3GwWZ0U3FKPVieq5P8oUMxO 5WEw== X-Gm-Message-State: ALoCoQkfjYtnAwo+SiE1Wcho9LZVqPa7Z19JOKD6UIIU+E1kHPt8kcH/AfEcuHVtd9raXlhz3RAJ X-Received: by 10.112.138.2 with SMTP id qm2mr29308875lbb.19.1434370905372; Mon, 15 Jun 2015 05:21:45 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.22.97 with SMTP id c1ls818407laf.66.gmail; Mon, 15 Jun 2015 05:21:45 -0700 (PDT) X-Received: by 10.152.219.3 with SMTP id pk3mr26858139lac.114.1434370905218; Mon, 15 Jun 2015 05:21:45 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id o3si10373841laf.40.2015.06.15.05.21.45 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 05:21:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbbti3 with SMTP id ti3so14838086lbb.1 for <patchwork-forward@linaro.org>; Mon, 15 Jun 2015 05:21:45 -0700 (PDT) X-Received: by 10.152.87.33 with SMTP id u1mr3728630laz.35.1434370905069; Mon, 15 Jun 2015 05:21:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1377810lbb; Mon, 15 Jun 2015 05:21:44 -0700 (PDT) X-Received: by 10.140.151.130 with SMTP id 124mr37498543qhx.18.1434370903753; Mon, 15 Jun 2015 05:21:43 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id z139si12525925qkz.91.2015.06.15.05.21.43 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 15 Jun 2015 05:21:43 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:33882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1Z4TOY-0000AI-Pc for patch@linaro.org; Mon, 15 Jun 2015 08:21:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1Z4TNu-000853-CO for qemu-devel@nongnu.org; Mon, 15 Jun 2015 08:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1Z4TNo-0003AD-V2 for qemu-devel@nongnu.org; Mon, 15 Jun 2015 08:21:02 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:35230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1Z4TNo-00035N-6y for qemu-devel@nongnu.org; Mon, 15 Jun 2015 08:20:56 -0400 Received: by lbbwc1 with SMTP id wc1so360143lbb.2 for <qemu-devel@nongnu.org>; Mon, 15 Jun 2015 05:20:54 -0700 (PDT) X-Received: by 10.152.6.1 with SMTP id w1mr26361596law.91.1434370854712; Mon, 15 Jun 2015 05:20:54 -0700 (PDT) Received: from localhost.localdomain (91-157-196-38.elisa-laajakaista.fi. [91.157.196.38]) by mx.google.com with ESMTPSA id bm5sm2683890lbc.45.2015.06.15.05.20.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Jun 2015 05:20:54 -0700 (PDT) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Mon, 15 Jun 2015 15:20:46 +0300 Message-Id: <79cb1f1d698da5e1e183863aa3c8a91b2e750664.1434369586.git.riku.voipio@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <cover.1434369586.git.riku.voipio@linaro.org> References: <cover.1434369586.git.riku.voipio@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.217.175 Cc: Yongbok Kim <yongbok.kim@imgtec.com>, peter.maydell@linaro.org Subject: [Qemu-devel] [PULL 2/6] linux-user: Use abi_ulong for TARGET_ELF_PAGESTART X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index b71e866..1788368 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1256,7 +1256,8 @@ struct exec /* Necessary parameters */ #define TARGET_ELF_EXEC_PAGESIZE TARGET_PAGE_SIZE -#define TARGET_ELF_PAGESTART(_v) ((_v) & ~(unsigned long)(TARGET_ELF_EXEC_PAGESIZE-1)) +#define TARGET_ELF_PAGESTART(_v) ((_v) & \ + ~(abi_ulong)(TARGET_ELF_EXEC_PAGESIZE-1)) #define TARGET_ELF_PAGEOFFSET(_v) ((_v) & (TARGET_ELF_EXEC_PAGESIZE-1)) #define DLINFO_ITEMS 14