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.cap...@linaro.org> --- 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)) -- 1.8.1.4 _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev