From a35f25f77a2edade7b61d2e01d705181ec1c2ce0 Mon Sep 17 00:00:00 2001 From: Steve Capper Date: Tue, 30 Jul 2013 14:58:01 +0100 Subject: Cleanup ARM ld.hugetlbfs HTLB_LINK logic 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)) -- cgit v1.2.1