aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNishanth Aravamudan <nacc@us.ibm.com>2008-02-27 13:00:25 -0800
committerNishanth Aravamudan <nacc@us.ibm.com>2008-02-28 15:52:32 -0800
commite068a9516ead1d7a0b55be4dd545fc2b2cd6528a (patch)
tree8bf261e9b57bb87e448a63e0093e99abd09dabcc /Makefile
parent5f6c3a5a85e93720e759a5927214f1356fe74348 (diff)
downloadlibhugetlbfs-e068a9516ead1d7a0b55be4dd545fc2b2cd6528a.tar.gz
libhugetlbfs: consolidate to one constructor
Use one constructor to control the constructor order for libhugetlbfs. Currently, the constructors are run in the order their containing object files are linked in to libhugetlbfs.so. This is fragile as new features are added. Instead, have one constructor that calls the others (which are now no longer actually constructors). Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Acked-by: Andrew Hastings <abh@cray.com> Acked-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2c0f0f6..a689ad6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
PREFIX = /usr/local
-LIBOBJS = hugeutils.o version.o morecore.o debug.o
+LIBOBJS = hugeutils.o version.o init.o morecore.o debug.o
INSTALL_OBJ_LIBS = libhugetlbfs.so libhugetlbfs.a
LDSCRIPT_TYPES = B BDT
LDSCRIPT_DIST_ELF = elf32ppclinux elf64ppc elf_i386 elf_x86_64