xref: /titanic_41/usr/src/lib/libadm/common/mapfile-vers (revision 938d11f4dc1913fa271733c9057f13109fd80cdb)
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	get_PKGOLD;
133	getvol;
134	_getvol;
135	listdev;
136	listdgrp;
137	_moddevtabrec;
138	_opendevtab;
139	_opendgrptab;
140	pkgfile;
141	pkginfo;
142	pkginfofind;
143	pkgnmchk;
144	pkgparam;
145	printmenu;
146	puterror;
147	puthelp;
148	putprmpt;
149	puttext;
150	reservdev;
151	_rmdevtabattrs;
152	_rmdevtabrec;
153	_rmdgrpmems;
154	_rmdgrptabrec;
155	_rsvtabpath;
156	set_ABI_namelngth;
157	set_install_root;
158	setinvis;
159	setitem;
160	set_PKGADM;
161	set_PKGLOC;
162	set_PKGpaths;
163	_validalias;
164    local:
165	*;
166};
167
168
169$if _sparc || (_x86 && _ELF32)
170# The following applies to sparc (32/64-bit), and 32-bit x86:
171#
172# It was a mistake ever to have exported these symbols from libadm.
173# They are now being redirected to libgen where they really belong,
174# except for 'circf' and 'sed', which do not exist in libgen and
175# are being retained as dummy variables in libadm.
176
177SYMBOL_VERSION SUNW_0.7 {
178    global:
179	circf;
180	sed;
181	nbra		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
182$if _ELF32
183	loc1		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
184	loc2		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
185	locs		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
186$elif _ELF64
187	loc1		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
188	loc2		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
189	locs		{ TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
190$else
191$error unknown ELFCLASS
192$endif
193};
194
195SYMBOL_VERSION SUNWprivate_1.1 {
196    global:
197	advance		{ TYPE = FUNCTION; FILTER = libgen.so.1 };
198	compile		{ TYPE = FUNCTION; FILTER = libgen.so.1 };
199	step		{ TYPE = FUNCTION; FILTER = libgen.so.1 };
200};
201$endif
202