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