summaryrefslogtreecommitdiff
path: root/usr/src/lib/ncad_addr/common/mapfile-vers
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/ncad_addr/common/mapfile-vers')
-rw-r--r--usr/src/lib/ncad_addr/common/mapfile-vers39
1 files changed, 30 insertions, 9 deletions
diff --git a/usr/src/lib/ncad_addr/common/mapfile-vers b/usr/src/lib/ncad_addr/common/mapfile-vers
index 98c87b3a33..66479635e0 100644
--- a/usr/src/lib/ncad_addr/common/mapfile-vers
+++ b/usr/src/lib/ncad_addr/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,44 +36,66 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# The following version madness was mistakenly inherited from
# libsocket in Solaris 9, when this library was created.
# See the isa-specific mapfiles for the contents of SUNW_0.7
-SUNW_1.4 { # SunOS 5.9 (Solaris 9)
+SYMBOL_VERSION SUNW_1.4 { # SunOS 5.9 (Solaris 9)
global:
SUNW_1.4;
} SUNW_1.3;
-SUNW_1.3 {
+SYMBOL_VERSION SUNW_1.3 {
global:
SUNW_1.3;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
} SUNW_0.7;
+#
+# For most platforms, SUNW_0.7 contains bind. For ABI reasons, 32-bit sparc
+# puts it in SISCD_2.3 instead, and SUNW_0.7 exists solely so that 1.1 can
+# inherit from it on all platforms.
+#
+SYMBOL_VERSION SUNW_0.7 {
+ global:
+$if _sparc && _ELF32
+ SUNW_0.7;
+} SISCD_2.3;
+
+SYMBOL_VERSION SISCD_2.3 {
+ global:
+$endif
+ # Bind is intended to interpose on the real system call. However,
+ # we want debuggers to see its real name (nca_bind), so use NODYNSORT
+ # to prevent "bind" from going into the ELF .SUNW_dynsymsort section
+ bind { FLAGS = NODYNSORT };
+};
+
# There really should be only one SUNWprivate version.
# Don't add any more. Add new private symbols to SUNWprivate_1.3
-SUNWprivate_1.3 {
+SYMBOL_VERSION SUNWprivate_1.3 {
global:
SUNWprivate_1.3;
} SUNWprivate_1.2;
-SUNWprivate_1.2 {
+SYMBOL_VERSION SUNWprivate_1.2 {
global:
SUNWprivate_1.2;
} SUNWprivate_1.1;
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local: