aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraglitke <aglitke@aglitke.localdomain>2006-08-25 16:50:26 -0500
committeraglitke <aglitke@aglitke.localdomain>2006-08-25 16:50:26 -0500
commit9eab1b47d9734e3d0b645ad0443142f8c23f2745 (patch)
tree14d2cc09d475470b32a339e7cd5457f9634c9b22
parent0919c57e6bea1a628241c6bd69cb5160bb5f80de (diff)
downloadlibhugetlbfs-9eab1b47d9734e3d0b645ad0443142f8c23f2745.tar.gz
ABI: Fix library versioning1.0-pre4
On top of my previous patch to add library versioning to libhugetlbfs, here is one that actually does something :/ VERSION { } is not needed within the script itself and we do have 4 global symbols, which need to be visible for the tests. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
-rw-r--r--Makefile2
-rw-r--r--VERSION13
2 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index a349892..998f74d 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ INSTALL_OBJSCRIPT = ld.hugetlbfs
INSTALL = install
-LDFLAGS = --no-undefined-version --version-script=VERSION
+LDFLAGS = --no-undefined-version -Wl,--version-script=VERSION
CFLAGS = -O2 -Wall -fPIC -g
CPPFLAGS = -D__LIBHUGETLBFS__
diff --git a/VERSION b/VERSION
index f952e13..d64d516 100644
--- a/VERSION
+++ b/VERSION
@@ -1,8 +1,9 @@
-VERSION {
-
VERS_1.0 {
- local:
- *;
+ global:
+ gethugepagesize;
+ hugetlbfs_test_path;
+ hugetlbfs_find_path;
+ hugetlbfs_unlinked_fd;
+ local:
+ *;
};
-
-}