From patchwork Fri Mar 16 01:41:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Hope X-Patchwork-Id: 7324 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 705FC23E0C for ; Fri, 16 Mar 2012 01:41:25 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2F86CA181EA for ; Fri, 16 Mar 2012 01:41:25 +0000 (UTC) Received: by iage36 with SMTP id e36so6316712iag.11 for ; Thu, 15 Mar 2012 18:41:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:message-id :date:from:user-agent:mime-version:to:subject:content-type :content-transfer-encoding:x-gm-message-state; bh=KNZkbuY8OAMjfgLEjxfvJ9D2KiiMuXllkLWxGrpLc4I=; b=keJToYU59KcSJr8fI883QCjHMRyFmVHdZqXH4q/Jbw7u0SqVGlW51rCugPDg9jdKe2 xBltZjX7r3JMWKvOKDjlzJOjd9ieLH8RaPsrQG6xJpcVdlMyhSwKDQq3p2jk5iITjveL g2V2GAQXKomRtv/SSkHNmwMGAFQC9sNijC+Qthlmd8+bIJjROp6YeYf5+1cxGFL6QYVj xGBEkxaFHovpdFmF8H/9DjIEQWTaCy2TNxyHS5O7Lkat0lB3TdTjsoG06vAE33upWxEa z79Ol8ItOI1kQdfyvCTD2mMLSAO6vdHEoIh7Hm1iM8gHxfh6ZL92FdgI/pgxADPQJVCY 2SrA== Received: by 10.42.147.199 with SMTP id o7mr398481icv.50.1331862084497; Thu, 15 Mar 2012 18:41:24 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.53.18 with SMTP id k18csp51044ibg; Thu, 15 Mar 2012 18:41:23 -0700 (PDT) Received: by 10.50.57.133 with SMTP id i5mr9991298igq.14.1331862083309; Thu, 15 Mar 2012 18:41:23 -0700 (PDT) Received: from mail-iy0-f178.google.com (mail-iy0-f178.google.com [209.85.210.178]) by mx.google.com with ESMTPS id k6si3833501igw.10.2012.03.15.18.41.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Mar 2012 18:41:23 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.178 is neither permitted nor denied by best guess record for domain of michael.hope@linaro.org) client-ip=209.85.210.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.178 is neither permitted nor denied by best guess record for domain of michael.hope@linaro.org) smtp.mail=michael.hope@linaro.org Received: by iakl21 with SMTP id l21so6010210iak.37 for ; Thu, 15 Mar 2012 18:41:23 -0700 (PDT) Received: by 10.50.153.193 with SMTP id vi1mr11887541igb.2.1331862083144; Thu, 15 Mar 2012 18:41:23 -0700 (PDT) Received: from [192.168.1.13] (204.47.255.123.static.snap.net.nz. [123.255.47.204]) by mx.google.com with ESMTPS id mi10sm3550068igc.8.2012.03.15.18.41.20 (version=SSLv3 cipher=OTHER); Thu, 15 Mar 2012 18:41:22 -0700 (PDT) Message-ID: <4F629A3E.1020600@linaro.org> Date: Fri, 16 Mar 2012 14:41:18 +1300 From: Michael Hope User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120309 Thunderbird/11.0 MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org, patches@linaro.org Subject: [PATCH, ARM, 4.6] backport PR pch/45979 X-Gm-Message-State: ALoCoQkPspsUqRsek869mTOib0fSBGVAC7KeLN9wGY/BYTU/2/lqXxkguacZaC1kqHMVV00dzExZ Hi there. This patch backports my PCH on ARM EABI fix[1] for pch/PR45979 to the 4.6 branch. This fixes PCH support on ARM and tidies up the random pch testsuite failures that are seen between runs. OK for 4.6? -- Michael [1] http://gcc.gnu.org/ml/gcc-patches/2011-05/msg00017.html gcc/ 2012-03-16 Michael Hope Backport from mainline 2011-05-05 Michael Hope PR pch/45979 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __ARM_EABI__ hosts. diff --git a/gcc/config/host-linux.c b/gcc/config/host-linux.c index 47ce3ea..ec61055 100644 --- a/gcc/config/host-linux.c +++ b/gcc/config/host-linux.c @@ -84,6 +84,8 @@ # define TRY_EMPTY_VM_SPACE 0x60000000 #elif defined(__mc68000__) # define TRY_EMPTY_VM_SPACE 0x40000000 +#elif defined(__ARM_EABI__) +# define TRY_EMPTY_VM_SPACE 0x60000000 #else # define TRY_EMPTY_VM_SPACE 0 #endif