From patchwork Tue Sep 10 13:11:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Capper X-Patchwork-Id: 19898 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 612DF25A72 for ; Tue, 10 Sep 2013 13:11:49 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id hf12sf8756141vcb.3 for ; Tue, 10 Sep 2013 06:11:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=IrVbQFIaHzSrIXnlW9l9/B9LkwSHuslOZYCzUiCqAb4=; b=ICPjz9ufsyqBT5LFMWh+WgsHXnfRtpen9MTeeIPQoqHfaEhhaoUie9gp6P9xD7fJPj du9pRJH9ivOI1gW9IsrSyVaaE30ciQqb4nfZMpq4E9lzlARXk6TCPqMWDQa+a+F6hs5y U+BL8Zx2m2R8f9ql69AyVwnzvsXoUiLJgGUkgIcg+gYYa1mCVwS1fNCyj2bSOQEld/gE GpK5I0wpul1Ss8SbVr2WdQGnluRRmyhnCS+UACDoBcqOf1VGomZTJD/eOBU6LWv5177r 4aU+2bPdJv6KEVzP6Sm8KQiTzDqype2T2CVSxSjZhB7I6wqvLET8AROsDXL+KVijoAq9 Mcuw== X-Received: by 10.58.117.4 with SMTP id ka4mr1667776veb.24.1378818709124; Tue, 10 Sep 2013 06:11:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.6.73 with SMTP id y9ls2247237qey.60.gmail; Tue, 10 Sep 2013 06:11:48 -0700 (PDT) X-Received: by 10.220.164.70 with SMTP id d6mr8301758vcy.19.1378818708874; Tue, 10 Sep 2013 06:11:48 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id xt2si4413810vcb.108.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 06:11:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id oy12so4610072veb.13 for ; Tue, 10 Sep 2013 06:11:48 -0700 (PDT) X-Gm-Message-State: ALoCoQlaK6BgoVd4kCWoC+hZRLqCILidCplfCi6rATaQ9mwupPoQX7x71mRhamBnsOU1SxYk9l4J X-Received: by 10.58.155.6 with SMTP id vs6mr408555veb.32.1378818708790; Tue, 10 Sep 2013 06:11:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp658vcz; Tue, 10 Sep 2013 06:11:48 -0700 (PDT) X-Received: by 10.180.206.129 with SMTP id lo1mr12696343wic.15.1378818707528; Tue, 10 Sep 2013 06:11:47 -0700 (PDT) Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by mx.google.com with ESMTPS id gi5si6898133wjd.171.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 06:11:47 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.172 is neither permitted nor denied by best guess record for domain of steve.capper@linaro.org) client-ip=74.125.82.172; Received: by mail-we0-f172.google.com with SMTP id w61so5621912wes.3 for ; Tue, 10 Sep 2013 06:11:46 -0700 (PDT) X-Received: by 10.180.73.40 with SMTP id i8mr12809443wiv.37.1378818706772; Tue, 10 Sep 2013 06:11:46 -0700 (PDT) Received: from marmot.wormnet.eu (marmot.wormnet.eu. [188.246.204.87]) by mx.google.com with ESMTPSA id fv10sm3175989wic.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 06:11:46 -0700 (PDT) From: Steve Capper To: libhugetlbfs-devel@lists.sourceforge.net Cc: patches@linaro.org, linaro-dev@lists.linaro.org, Steve Capper Subject: [PATCH 5/5] Cleanup ARM ld.hugetlbfs HTLB_LINK logic Date: Tue, 10 Sep 2013 14:11:32 +0100 Message-Id: <1378818692-24952-6-git-send-email-steve.capper@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1378818692-24952-1-git-send-email-steve.capper@linaro.org> References: <1378818692-24952-1-git-send-email-steve.capper@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: steve.capper@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , When ld.hugetlbfs is executed with --hugetlbfs-link, there is code to check for the ARM platform and warn that this is not supported. There is also code to check for CUSTOM_LDSCRIPTS being false and give a similar warning. This patch removes the ARM check as the CUSTOM_LDSCRIPTS check will catch this. Signed-off-by: Steve Capper --- ld.hugetlbfs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ld.hugetlbfs b/ld.hugetlbfs index 5128aa2..ba9e00a 100755 --- a/ld.hugetlbfs +++ b/ld.hugetlbfs @@ -79,11 +79,6 @@ if [ -n "$HTLB_LINK" ]; then HTLB_ALIGN="" # --hugetlbfs-link overrides --hugetlbfs-align LDSCRIPT="$EMU.x$HTLB_LINK" HTLBOPTS="-T${HUGETLB_LDSCRIPT_PATH}/${LDSCRIPT}" - - if [ "$EMU" == "armelf_linux_eabi" ]; then - echo "Please use --hugetlbfs-align when targeting ARM." - exit -1 - fi fi MB=$((1024*1024))