xref: /titanic_44/usr/src/lib/ncad_addr/common/mapfile-vers (revision 1a5e258f5471356ca102c7176637cdce45bac147)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23#
24
25#
26# MAPFILE HEADER START
27#
28# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29# Object versioning must comply with the rules detailed in
30#
31#	usr/src/lib/README.mapfiles
32#
33# You should not be making modifications here until you've read the most current
34# copy of that file. If you need help, contact a gatekeeper for guidance.
35#
36# MAPFILE HEADER END
37#
38
39$mapfile_version 2
40
41# The following version madness was mistakenly inherited from
42# libsocket in Solaris 9, when this library was created.
43# See the isa-specific mapfiles for the contents of SUNW_0.7
44
45SYMBOL_VERSION SUNW_1.4 {		# SunOS 5.9 (Solaris 9)
46    global:
47	SUNW_1.4;
48} SUNW_1.3;
49
50SYMBOL_VERSION SUNW_1.3 {
51    global:
52	SUNW_1.3;
53} SUNW_1.2;
54
55SYMBOL_VERSION SUNW_1.2 {
56    global:
57	SUNW_1.2;
58} SUNW_1.1;
59
60SYMBOL_VERSION SUNW_1.1 {
61    global:
62	SUNW_1.1;
63} SUNW_0.7;
64
65#
66# For most platforms, SUNW_0.7 contains bind. For ABI reasons, 32-bit sparc
67# puts it in SISCD_2.3 instead, and SUNW_0.7 exists solely so that 1.1 can
68# inherit from it on all platforms.
69#
70SYMBOL_VERSION SUNW_0.7 {
71    global:
72$if _sparc && _ELF32
73	SUNW_0.7;
74} SISCD_2.3;
75
76SYMBOL_VERSION SISCD_2.3 {
77    global:
78$endif
79	# Bind is intended to interpose on the real system call. However,
80	# we want debuggers to see its real name (nca_bind), so use NODYNSORT
81	# to prevent "bind" from going into the ELF .SUNW_dynsymsort section
82	bind			{ FLAGS = NODYNSORT };
83};
84
85# There really should be only one SUNWprivate version.
86# Don't add any more.  Add new private symbols to SUNWprivate_1.3
87
88SYMBOL_VERSION SUNWprivate_1.3 {
89    global:
90	SUNWprivate_1.3;
91} SUNWprivate_1.2;
92
93SYMBOL_VERSION SUNWprivate_1.2 {
94    global:
95	SUNWprivate_1.2;
96} SUNWprivate_1.1;
97
98SYMBOL_VERSION SUNWprivate_1.1 {
99    global:
100	SUNWprivate_1.1;
101    local:
102	*;
103};
104