xref: /titanic_41/usr/src/lib/libadm/common/mapfile-vers (revision 0778188f242b11e5d53f771c9e8a069354b3d5d4)
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
41SYMBOL_VERSION SUNW_1.2 {
42    global:
43	read_extvtoc;
44	write_extvtoc;
45} SUNW_1.1;
46
47# Due to mistakes made early in the history of this library, there are
48# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
49# Don't add any symbols to this version.
50
51SYMBOL_VERSION SUNW_1.1 {
52    global:
53	SUNW_1.1;
54} SUNW_0.7;
55
56SYMBOL_VERSION SUNW_0.7 {
57    global:
58	pkgdir;
59	read_vtoc;
60	write_vtoc;
61};
62
63SYMBOL_VERSION SUNWprivate_1.1 {
64    global:
65	_adddevtabrec;
66	_adddgrptabrec;
67	allocmenu;
68	ckdate;
69	ckdate_err;
70	ckdate_hlp;
71	ckdate_val;
72	ckgid;
73	ckgid_dsp;
74	ckgid_err;
75	ckgid_hlp;
76	ckgid_val;
77	ckindent;
78	ckint;
79	ckint_err;
80	ckint_hlp;
81	ckint_val;
82	ckitem;
83	ckitem_err;
84	ckitem_hlp;
85	ckkeywd;
86	ckpath;
87	ckpath_err;
88	ckpath_hlp;
89	ckpath_stx;
90	ckpath_val;
91	ckquit;
92	ckrange;
93	ckrange_err;
94	ckrange_hlp;
95	ckrange_val;
96	ckstr;
97	ckstr_err;
98	ckstr_hlp;
99	ckstr_val;
100	cktime;
101	cktime_err;
102	cktime_hlp;
103	cktime_val;
104	ckuid;
105	ckuid_dsp;
106	ckuid_err;
107	ckuid_hlp;
108	ckuid_val;
109	ckwidth;
110	ckyorn;
111	ckyorn_err;
112	ckyorn_hlp;
113	ckyorn_val;
114	devattr;
115	devfree;
116	devreserv;
117	_devtabpath;
118	_dgrptabpath;
119	_enddevtab;
120	fpkginfo;
121	fpkginst;
122	fpkgparam;
123	get_ABI_namelngth;
124	getdev;
125	getdgrp;
126	getfullblkname;
127	getfullrawname;
128	getinput;
129	get_install_root;
130	get_PKGADM;
131	get_PKGLOC;
132	getvol;
133	_getvol;
134	listdev;
135	listdgrp;
136	_moddevtabrec;
137	_opendevtab;
138	_opendgrptab;
139	pkgfile;
140	pkginfo;
141	pkginfofind;
142	pkgnmchk;
143	pkgparam;
144	printmenu;
145	puterror;
146	puthelp;
147	putprmpt;
148	puttext;
149	reservdev;
150	_rmdevtabattrs;
151	_rmdevtabrec;
152	_rmdgrpmems;
153	_rmdgrptabrec;
154	_rsvtabpath;
155	set_ABI_namelngth;
156	set_install_root;
157	setinvis;
158	setitem;
159	set_PKGADM;
160	set_PKGLOC;
161	set_PKGpaths;
162	_validalias;
163    local:
164	*;
165};
166
167
168$if _sparc || (_x86 && _ELF32)
169# The following applies to sparc (32/64-bit), and 32-bit x86:
170#
171# It was a mistake ever to have exported these symbols from libadm.
172# They are now being redirected to libgen where they really belong,
173# except for 'circf' and 'sed', which do not exist in libgen and
174# are being retained as dummy variables in libadm.
175
176SYMBOL_VERSION SUNW_0.7 {
177    global:
178	circf;
179	sed;
180	nbra		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
181$if _ELF32
182	loc1		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
183	loc2		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
184	locs		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
185$elif _ELF64
186	loc1		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
187	loc2		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
188	locs		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
189$else
190$error unknown ELFCLASS
191$endif
192};
193
194SYMBOL_VERSION SUNWprivate_1.1 {
195    global:
196	advance		{ TYPE = FUNCTION; FILTER = libgen.so.1 };
197	compile		{ TYPE = FUNCTION; FILTER = libgen.so.1 };
198	step		{ TYPE = FUNCTION; FILTER = libgen.so.1 };
199};
200$endif
201