xref: /titanic_41/usr/src/cmd/sgs/libdl/common/mapfile-vers (revision cd3e933325e68e23516a196a8fea7f49b1e497c3)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
510a4fa49Srie# Common Development and Distribution License (the "License").
610a4fa49Srie# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
2110a4fa49Srie
2210a4fa49Srie#
23*cd3e9333SAli Bahrami# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
2410a4fa49Srie#
25bfed486aSAli Bahrami
26bfed486aSAli Bahrami#
27bfed486aSAli Bahrami# MAPFILE HEADER START
28bfed486aSAli Bahrami#
29bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
31bfed486aSAli Bahrami#
32bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
33bfed486aSAli Bahrami#
34bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
35bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
36bfed486aSAli Bahrami#
37bfed486aSAli Bahrami# MAPFILE HEADER END
38bfed486aSAli Bahrami#
397c478bd9Sstevel@tonic-gate
40*cd3e9333SAli Bahrami$mapfile_version 2
41*cd3e9333SAli Bahrami
42*cd3e9333SAli Bahrami$if _x86 && _ELF64
43*cd3e9333SAli Bahrami$add amd64
44*cd3e9333SAli Bahrami$endif
45*cd3e9333SAli Bahrami
46*cd3e9333SAli Bahrami# Starting with SUNW_1.5 and dlamd64getunwind(), the amd64
47*cd3e9333SAli Bahrami# platform is one version ahead of the other platforms.
48*cd3e9333SAli Bahrami$if amd64
49*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.6 {
50*cd3e9333SAli Bahrami$else
51*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.5 {
52*cd3e9333SAli Bahrami$endif
537c478bd9Sstevel@tonic-gate	global:
54*cd3e9333SAli Bahrami		dl_iterate_phdr		{ TYPE = FUNCTION };
55*cd3e9333SAli Bahrami$if amd64
56*cd3e9333SAli Bahrami} SUNW_1.5;
57*cd3e9333SAli Bahrami
58*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.5 {
59*cd3e9333SAli Bahrami	global:
60*cd3e9333SAli Bahrami		dlamd64getunwind	{ TYPE = FUNCTION };
61*cd3e9333SAli Bahrami$endif
62*cd3e9333SAli Bahrami} SUNW_1.4;
63*cd3e9333SAli Bahrami
64*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.4 {
65*cd3e9333SAli Bahrami	global:
66*cd3e9333SAli Bahrami		dladdr1			{ TYPE = FUNCTION };
677c478bd9Sstevel@tonic-gate} SUNW_1.3;
687c478bd9Sstevel@tonic-gate
69*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.3 {
707c478bd9Sstevel@tonic-gate	global:
717c478bd9Sstevel@tonic-gate		SUNW_1.3;
727c478bd9Sstevel@tonic-gate} SUNW_1.2;
737c478bd9Sstevel@tonic-gate
74*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.2 {
757c478bd9Sstevel@tonic-gate	global:
767c478bd9Sstevel@tonic-gate		SUNW_1.2;
777c478bd9Sstevel@tonic-gate} SUNW_1.1;
787c478bd9Sstevel@tonic-gate
79*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.1 {
807c478bd9Sstevel@tonic-gate	global:
81*cd3e9333SAli Bahrami		dldump			{ TYPE = FUNCTION };
82*cd3e9333SAli Bahrami		dlinfo			{ TYPE = FUNCTION };
83*cd3e9333SAli Bahrami		dlmopen			{ TYPE = FUNCTION };
847c478bd9Sstevel@tonic-gate} SUNW_0.8;
857c478bd9Sstevel@tonic-gate
86*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_0.8 {
877c478bd9Sstevel@tonic-gate	global:
88*cd3e9333SAli Bahrami		dladdr			{ TYPE = FUNCTION };
89*cd3e9333SAli Bahrami} SUNW_0.7;
90*cd3e9333SAli Bahrami
91*cd3e9333SAli Bahrami
92*cd3e9333SAli Bahrami#
93*cd3e9333SAli Bahrami# For most platforms, SUNW_0.7 contains dlclose, dlerror, dlopen, and dlsym.
94*cd3e9333SAli Bahrami# For ABI reasons, 32-bit sparc puts them in SISCD_2.3 instead, and SUNW_0.7
95*cd3e9333SAli Bahrami# exists solely so that SUNW_0.8 can inherit from it on all platforms.
96*cd3e9333SAli Bahrami#
97*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_0.7 {
98*cd3e9333SAli Bahrami	global:
99*cd3e9333SAli Bahrami$if _sparc && _ELF32
100*cd3e9333SAli Bahrami		SUNW_0.7;
101*cd3e9333SAli Bahrami} SISCD_2.3;
102*cd3e9333SAli Bahrami
103*cd3e9333SAli BahramiSYMBOL_VERSION SISCD_2.3 {
104*cd3e9333SAli Bahrami	global:
105*cd3e9333SAli Bahrami$endif
106*cd3e9333SAli Bahrami		dlclose			{ TYPE = FUNCTION };
107*cd3e9333SAli Bahrami		dlerror			{ TYPE = FUNCTION };
108*cd3e9333SAli Bahrami		dlopen			{ TYPE = FUNCTION };
109*cd3e9333SAli Bahrami		dlsym			{ TYPE = FUNCTION };
110*cd3e9333SAli Bahrami};
111*cd3e9333SAli Bahrami
112*cd3e9333SAli Bahrami
113*cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.1 {
114*cd3e9333SAli Bahrami	global:
115*cd3e9333SAli Bahrami		_ld_libc		{ TYPE = FUNCTION };
116*cd3e9333SAli Bahrami		_dlinfo			{ TYPE = FUNCTION };
117*cd3e9333SAli Bahrami		_dldump			{ TYPE = FUNCTION };
118*cd3e9333SAli Bahrami		_dlmopen		{ TYPE = FUNCTION };
119*cd3e9333SAli Bahrami		_dlopen			{ TYPE = FUNCTION };
120*cd3e9333SAli Bahrami		_dlerror		{ TYPE = FUNCTION };
121*cd3e9333SAli Bahrami		_dlsym			{ TYPE = FUNCTION };
122*cd3e9333SAli Bahrami		_dlclose		{ TYPE = FUNCTION };
123*cd3e9333SAli Bahrami		_dladdr			{ TYPE = FUNCTION };
124*cd3e9333SAli Bahrami		_dladdr1		{ TYPE = FUNCTION };
125*cd3e9333SAli Bahrami
126*cd3e9333SAli Bahrami$if amd64
127*cd3e9333SAli Bahrami		_dlamd64getunwind	{ TYPE = FUNCTION };
128*cd3e9333SAli Bahrami$endif
129*cd3e9333SAli Bahrami
130*cd3e9333SAli Bahrami	local:
131*cd3e9333SAli Bahrami		*;
1327c478bd9Sstevel@tonic-gate};
133