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