aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric B Munson <ebmunson@us.ibm.com>2008-05-06 11:48:39 -0700
committerNishanth Aravamudan <nacc@us.ibm.com>2008-05-07 09:17:16 -0700
commit8e9bb0423d71f7816e95734c692cd6251f069518 (patch)
treef0d3d191191f4b0ea8ff61ccc5dac47d7d039c58 /Makefile
parent7e7b88643420becef7338f850b7bb3d0afe974d6 (diff)
downloadlibhugetlbfs-8e9bb0423d71f7816e95734c692cd6251f069518.tar.gz
Add plt_extrasz for PPC32
Currently segment remapping on powerpc32 fails to copy the PLT section. This is because, like ppc64, the PLT is NOBITS so it is missed by the PROGBITS copy. This patch adds the elf32ppclinux.c file that defines the plt_extrasz function to compute the PLT size to ensure that it is copied. The only difference from the 64 bit version is the size of PLT[0] is 72 bytes on PPC32 as opposed to 24 bytes on PPC64. Signed-off-by: Eric Munson <ebmunson@us.ibm.com> Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6d5b328..dfc069f 100644
--- a/Makefile
+++ b/Makefile
@@ -80,6 +80,9 @@ endif
ifdef ELF64
LIBOBJS64 = obj64/elflink.o obj64/sys-$(ELF64).o
endif
+ifeq ($(ELF32),elf32ppclinux)
+LIBOBJS32 += obj32/$(ELF32).o
+endif
ifeq ($(ELF64),elf64ppc)
LIBOBJS64 += obj64/$(ELF64).o
endif