xref: /onnv-gate/usr/src/lib/ncad_addr/common/mapfile-vers (revision 12692:4341b447c069)
12522Sraf#
22522Sraf# CDDL HEADER START
32522Sraf#
42522Sraf# The contents of this file are subject to the terms of the
52522Sraf# Common Development and Distribution License (the "License").
62522Sraf# You may not use this file except in compliance with the License.
72522Sraf#
82522Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92522Sraf# or http://www.opensolaris.org/os/licensing.
102522Sraf# See the License for the specific language governing permissions
112522Sraf# and limitations under the License.
122522Sraf#
132522Sraf# When distributing Covered Code, include this CDDL HEADER in each
142522Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152522Sraf# If applicable, add the following below this CDDL HEADER, with the
162522Sraf# fields enclosed by brackets "[]" replaced with your own identifying
172522Sraf# information: Portions Copyright [yyyy] [name of copyright owner]
182522Sraf#
192522Sraf# CDDL HEADER END
202522Sraf#
212522Sraf#
22*12692SAli.Bahrami@Oracle.COM# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
232522Sraf#
248744SAli.Bahrami@Sun.COM
258744SAli.Bahrami@Sun.COM#
268744SAli.Bahrami@Sun.COM# MAPFILE HEADER START
278744SAli.Bahrami@Sun.COM#
288744SAli.Bahrami@Sun.COM# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
298744SAli.Bahrami@Sun.COM# Object versioning must comply with the rules detailed in
308744SAli.Bahrami@Sun.COM#
318744SAli.Bahrami@Sun.COM#	usr/src/lib/README.mapfiles
328744SAli.Bahrami@Sun.COM#
338744SAli.Bahrami@Sun.COM# You should not be making modifications here until you've read the most current
348744SAli.Bahrami@Sun.COM# copy of that file. If you need help, contact a gatekeeper for guidance.
358744SAli.Bahrami@Sun.COM#
368744SAli.Bahrami@Sun.COM# MAPFILE HEADER END
372522Sraf#
382522Sraf
39*12692SAli.Bahrami@Oracle.COM$mapfile_version 2
40*12692SAli.Bahrami@Oracle.COM
412522Sraf# The following version madness was mistakenly inherited from
422522Sraf# libsocket in Solaris 9, when this library was created.
432522Sraf# See the isa-specific mapfiles for the contents of SUNW_0.7
442522Sraf
45*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_1.4 {		# SunOS 5.9 (Solaris 9)
462522Sraf    global:
472522Sraf	SUNW_1.4;
482522Sraf} SUNW_1.3;
492522Sraf
50*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_1.3 {
512522Sraf    global:
522522Sraf	SUNW_1.3;
532522Sraf} SUNW_1.2;
542522Sraf
55*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_1.2 {
562522Sraf    global:
572522Sraf	SUNW_1.2;
582522Sraf} SUNW_1.1;
592522Sraf
60*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_1.1 {
612522Sraf    global:
622522Sraf	SUNW_1.1;
632522Sraf} SUNW_0.7;
642522Sraf
65*12692SAli.Bahrami@Oracle.COM#
66*12692SAli.Bahrami@Oracle.COM# For most platforms, SUNW_0.7 contains bind. For ABI reasons, 32-bit sparc
67*12692SAli.Bahrami@Oracle.COM# puts it in SISCD_2.3 instead, and SUNW_0.7 exists solely so that 1.1 can
68*12692SAli.Bahrami@Oracle.COM# inherit from it on all platforms.
69*12692SAli.Bahrami@Oracle.COM#
70*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_0.7 {
71*12692SAli.Bahrami@Oracle.COM    global:
72*12692SAli.Bahrami@Oracle.COM$if _sparc && _ELF32
73*12692SAli.Bahrami@Oracle.COM	SUNW_0.7;
74*12692SAli.Bahrami@Oracle.COM} SISCD_2.3;
75*12692SAli.Bahrami@Oracle.COM
76*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SISCD_2.3 {
77*12692SAli.Bahrami@Oracle.COM    global:
78*12692SAli.Bahrami@Oracle.COM$endif
79*12692SAli.Bahrami@Oracle.COM	# Bind is intended to interpose on the real system call. However,
80*12692SAli.Bahrami@Oracle.COM	# we want debuggers to see its real name (nca_bind), so use NODYNSORT
81*12692SAli.Bahrami@Oracle.COM	# to prevent "bind" from going into the ELF .SUNW_dynsymsort section
82*12692SAli.Bahrami@Oracle.COM	bind			{ FLAGS = NODYNSORT };
83*12692SAli.Bahrami@Oracle.COM};
84*12692SAli.Bahrami@Oracle.COM
852522Sraf# There really should be only one SUNWprivate version.
862522Sraf# Don't add any more.  Add new private symbols to SUNWprivate_1.3
872522Sraf
88*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNWprivate_1.3 {
892522Sraf    global:
902522Sraf	SUNWprivate_1.3;
912522Sraf} SUNWprivate_1.2;
922522Sraf
93*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNWprivate_1.2 {
942522Sraf    global:
952522Sraf	SUNWprivate_1.2;
962522Sraf} SUNWprivate_1.1;
972522Sraf
98*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNWprivate_1.1 {
992522Sraf    global:
1002522Sraf	SUNWprivate_1.1;
1012522Sraf    local:
1022522Sraf	*;
1032522Sraf};
104