diff mbox

[5/5] Cleanup ARM ld.hugetlbfs HTLB_LINK logic

Message ID 1378818692-24952-6-git-send-email-steve.capper@linaro.org
State New
Headers show

Commit Message

Steve Capper Sept. 10, 2013, 1:11 p.m. UTC
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 <steve.capper@linaro.org>
---
 ld.hugetlbfs | 5 -----
 1 file changed, 5 deletions(-)
diff mbox

Patch

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))