xref: /titanic_51/usr/src/cmd/sgs/elfedit/modules/common/mapfile-vers (revision 63251bc7f1ca38259078c48e316fee4ed66d4e93)
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#
23# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27#
28# MAPFILE HEADER START
29#
30# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
31# Object versioning must comply with the rules detailed in
32#
33#	usr/src/lib/README.mapfiles
34#
35# You should not be making modifications here until you've read the most current
36# copy of that file. If you need help, contact a gatekeeper for guidance.
37#
38# MAPFILE HEADER END
39#
40
41# This mapfile is shared by all of the elfedit modules.
42# These sharable objects only export two functions,
43# elfedit[32|64]_init. Everything else is reduced to
44# local scope.
45#
46# The routines exported by elfedit for use by the modules
47# are also defined here, using the PARENT mapfile keyword.
48
49SUNWprivate_1.1 {
50	global:
51		# Standard init routines exported by every module
52		elfedit32_init;
53		elfedit64_init;
54
55
56		# liblddbg dbg_print() function
57		dbg_print =			PARENT NODIRECT;
58
59
60		# Core API
61		elfedit_command_usage =		PARENT;
62		elfedit_cpl_match =		PARENT;
63		elfedit_cpl_ndx =		PARENT;
64		elfedit_elferr =		PARENT;
65		elfedit_flags =			PARENT;
66		elfedit_malloc =		PARENT;
67		elfedit_msg =			PARENT;
68		elfedit_outstyle =		PARENT;
69		elfedit_pager_init =		PARENT;
70		elfedit_printf =		PARENT;
71		elfedit_realloc =		PARENT;
72		elfedit_str_to_c_literal =	PARENT;
73		elfedit_write =			PARENT;
74
75
76
77		# ato[u]i routines
78		elfedit_const_to_atoui =	PARENT;
79		elfedit_mach_sunw_hw1_to_atoui = PARENT;
80
81		elfedit_atoi =			PARENT;
82		elfedit_atoui =			PARENT;
83		elfedit_atoconst =		PARENT;
84
85		elfedit_atoi2 =			PARENT;
86		elfedit_atoui2 =		PARENT;
87		elfedit_atoconst2 =		PARENT;
88
89		elfedit_atoi_range =		PARENT;
90		elfedit_atoui_range =		PARENT;
91		elfedit_atoconst_range =	PARENT;
92
93		elfedit_atoi_range2 =		PARENT;
94		elfedit_atoui_range2 =		PARENT;
95		elfedit_atoconst_range2 =	PARENT;
96
97		elfedit_atoi_value_to_str =	PARENT;
98		elfedit_atoui_value_to_str =	PARENT;
99		elfedit_atoconst_value_to_str =	PARENT;
100
101		elfedit_cpl_atoi =		PARENT;
102		elfedit_cpl_atoui =		PARENT;
103		elfedit_cpl_atoconst =		PARENT;
104
105
106
107		# Convenience functions built on top of the ato[u]i routines
108		elfedit_atobool =		PARENT;
109		elfedit_atoshndx =		PARENT;
110
111
112
113		# Getopt
114		elfedit_getopt_init =		PARENT;
115		elfedit_getopt =		PARENT;
116
117
118
119		# Utilities
120		elfedit_array_elts_delete =	PARENT;
121
122		elfedit_array_elts_move =	PARENT;
123
124		elfedit_bits_set =		PARENT;
125
126		elfedit32_dyn_elt_init =	PARENT;
127		elfedit64_dyn_elt_init =	PARENT;
128
129		elfedit32_dyn_elt_save =	PARENT;
130		elfedit64_dyn_elt_save =	PARENT;
131
132		elfedit32_dyn_offset_to_str =	PARENT;
133		elfedit64_dyn_offset_to_str =	PARENT;
134
135		elfedit32_dynstr_getpad =	PARENT;
136		elfedit64_dynstr_getpad =	PARENT;
137
138		elfedit32_dynstr_insert =	PARENT;
139		elfedit64_dynstr_insert =	PARENT;
140
141		elfedit32_modified_data =	PARENT;
142		elfedit64_modified_data =	PARENT;
143
144		elfedit32_modified_ehdr =	PARENT;
145		elfedit64_modified_ehdr =	PARENT;
146
147		elfedit32_modified_phdr =	PARENT;
148		elfedit64_modified_phdr =	PARENT;
149
150		elfedit32_modified_shdr =	PARENT;
151		elfedit64_modified_shdr =	PARENT;
152
153		elfedit32_name_to_shndx =	PARENT;
154		elfedit64_name_to_shndx =	PARENT;
155
156		elfedit32_name_to_symndx =	PARENT;
157		elfedit64_name_to_symndx =	PARENT;
158
159		elfedit32_offset_to_str =	PARENT;
160		elfedit64_offset_to_str =	PARENT;
161
162		elfedit32_sec_findstr =		PARENT;
163		elfedit64_sec_findstr =		PARENT;
164
165		elfedit32_sec_get =		PARENT;
166		elfedit64_sec_get =		PARENT;
167
168		elfedit32_sec_getcap =		PARENT;
169		elfedit64_sec_getcap =		PARENT;
170
171		elfedit32_sec_getdyn =		PARENT;
172		elfedit64_sec_getdyn =		PARENT;
173
174		elfedit32_sec_getstr =		PARENT;
175		elfedit64_sec_getstr =		PARENT;
176
177		elfedit32_sec_getsyminfo =	PARENT;
178		elfedit64_sec_getsyminfo =	PARENT;
179
180		elfedit32_sec_getsymtab =	PARENT;
181		elfedit64_sec_getsymtab =	PARENT;
182
183		elfedit32_sec_getversym =	PARENT;
184		elfedit64_sec_getversym =	PARENT;
185
186		elfedit32_sec_getxshndx =	PARENT;
187		elfedit64_sec_getxshndx =	PARENT;
188
189		elfedit32_sec_issymtab =	PARENT;
190		elfedit64_sec_issymtab =	PARENT;
191
192		elfedit32_shndx_to_name =	PARENT;
193		elfedit64_shndx_to_name =	PARENT;
194
195		elfedit32_sec_msgprefix =	PARENT;
196		elfedit64_sec_msgprefix =	PARENT;
197
198		elfedit32_strtab_insert =	PARENT;
199		elfedit64_strtab_insert =	PARENT;
200
201		elfedit32_strtab_insert_test =	PARENT;
202		elfedit64_strtab_insert_test =	PARENT;
203
204		elfedit32_type_to_shndx =	PARENT;
205		elfedit64_type_to_shndx =	PARENT;
206
207local:
208		*;
209};
210