The Solaris/Linux symbol export files must be named "mapfile" (see the
definition of SHLIB_LINKER for Solaris).
RCS file: /cvs/openafs/src/sys/Attic/afssetpag.map,v
Working file: src/sys/afssetpag.map
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 4; selected revisions: 0
description:
(cherry picked from commit
8922ad369e1df7d9a983986b4eafe19153da55ae)
case ${SYS_NAME} in \
*_linux*) \
${SHLIB_LINKER} -Wl,-h,libafssetpag.so.${LIBAFSSETPAGMAJOR} \
- -o ${LIBAFSSETPAG} -Wl,--version-script=afssetpag.map \
+ -o ${LIBAFSSETPAG} -Wl,--version-script=mapfile \
${SHLIBOBJS};; \
rs_aix4*) \
${SHLIB_LINKER} -o ${LIBAFSSETPAG} ${SHLIBOBJS} \
-bE:afssetpag.exp;; \
sun*_5*) \
${SHLIB_LINKER} -h libafssetpag.so.${LIBAFSSETPAGMAJOR} \
- -Wl,-M afssetpag.map -o ${LIBAFSSETPAG} ${SHLIBOBJS};; \
+ -o ${LIBAFSSETPAG} ${SHLIBOBJS};; \
*) \
${SHLIB_LINKER} -o ${LIBAFSSETPAG} ${SHLIBOBJS};; \
esac
+++ /dev/null
-# Export map for libafssetpag, used on Linux and Solaris to restrict
-# exports from the shared libraries to just the public ABI. Add symbol
-# versioning while we're at it, just in case.
-
-AFSSETPAG_1.0 {
- global:
- lsetpag;
- local:
- *;
-};
--- /dev/null
+# Export map for libafssetpag, used on Linux and Solaris to restrict
+# exports from the shared libraries to just the public ABI. Add symbol
+# versioning while we're at it, just in case.
+
+AFSSETPAG_1.0 {
+ global:
+ lsetpag;
+ local:
+ *;
+};