use this existing new method rather than the deprecated linker-script.

Signed-off-by: Michel Normand <norm...@linux.vnet.ibm.com>
---
 Makefile     |    1 +
 ld.hugetlbfs |    1 +
 2 files changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 36259f1..ccd9a3f 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,7 @@ ifeq ($(ARCH),ppc64le)
 CC64 = $(CC) -m64
 ELF64 = elf64lppc
 TMPLIB64 = lib64
+CUSTOM_LDSCRIPTS = no
 else
 ifeq ($(ARCH),ppc)
 CC32 = $(CC) -m32
diff --git a/ld.hugetlbfs b/ld.hugetlbfs
index ba9e00a..df446dd 100755
--- a/ld.hugetlbfs
+++ b/ld.hugetlbfs
@@ -84,6 +84,7 @@ fi
 MB=$((1024*1024))
 case "$EMU" in
 elf32ppclinux|elf64ppc)        HPAGE_SIZE=$((16*$MB)) SLICE_SIZE=$((256*$MB)) 
;;
+elf64lppc)             HPAGE_SIZE=$((16*$MB)) SLICE_SIZE=$((256*$MB)) ;;
 elf_i386|elf_x86_64)   HPAGE_SIZE=$((4*$MB)) SLICE_SIZE=$HPAGE_SIZE ;;
 elf_s390|elf64_s390)   HPAGE_SIZE=$((1*$MB)) SLICE_SIZE=$HPAGE_SIZE ;;
 armelf_linux_eabi|aarch64elf)  HPAGE_SIZE=$((2*MB)) SLICE_SIZE=$HPAGE_SIZE ;;
-- 
1.7.9.5


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to