xref: /illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/mapfile-vers (revision bea83d026ee1bd1b2a2419e1d0232f107a5d7d9b)
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_elferr =		PARENT;
52		elfedit_flags =			PARENT;
53		elfedit_malloc =		PARENT;
54		elfedit_msg =			PARENT;
55		elfedit_outstyle =		PARENT;
56		elfedit_pager_init =		PARENT;
57		elfedit_printf =		PARENT;
58		elfedit_realloc =		PARENT;
59		elfedit_str_to_c_literal =	PARENT;
60		elfedit_write =			PARENT;
61
62
63
64		# ato[u]i routines
65		elfedit_const_to_atoui =	PARENT;
66		elfedit_mach_sunw_hw1_to_atoui = PARENT;
67
68		elfedit_atoi =			PARENT;
69		elfedit_atoui =			PARENT;
70		elfedit_atoconst =		PARENT;
71
72		elfedit_atoi2 =			PARENT;
73		elfedit_atoui2 =		PARENT;
74		elfedit_atoconst2 =		PARENT;
75
76		elfedit_atoi_range =		PARENT;
77		elfedit_atoui_range =		PARENT;
78		elfedit_atoconst_range =	PARENT;
79
80		elfedit_atoi_range2 =		PARENT;
81		elfedit_atoui_range2 =		PARENT;
82		elfedit_atoconst_range2 =	PARENT;
83
84		elfedit_atoi_value_to_str =	PARENT;
85		elfedit_atoui_value_to_str =	PARENT;
86		elfedit_atoconst_value_to_str =	PARENT;
87
88		elfedit_cpl_atoi =		PARENT;
89		elfedit_cpl_atoui =		PARENT;
90		elfedit_cpl_atoconst =		PARENT;
91
92
93
94		# Convenience functions built on top of the ato[u]i routines
95		elfedit_atobool =		PARENT;
96		elfedit_atoshndx =		PARENT;
97
98
99
100		# Getopt
101		elfedit_getopt_init =		PARENT;
102		elfedit_getopt =		PARENT;
103
104
105
106		# Utilities
107		elfedit_array_elts_delete =	PARENT;
108
109		elfedit_array_elts_move =	PARENT;
110
111		elfedit_bits_set =		PARENT;
112
113		elfedit32_dyn_elt_init =	PARENT;
114		elfedit64_dyn_elt_init =	PARENT;
115
116		elfedit32_dyn_elt_save =	PARENT;
117		elfedit64_dyn_elt_save =	PARENT;
118
119		elfedit32_dyn_offset_to_str =	PARENT;
120		elfedit64_dyn_offset_to_str =	PARENT;
121
122		elfedit32_dynstr_getpad =	PARENT;
123		elfedit64_dynstr_getpad =	PARENT;
124
125		elfedit32_dynstr_insert =	PARENT;
126		elfedit64_dynstr_insert =	PARENT;
127
128		elfedit32_modified_data =	PARENT;
129		elfedit64_modified_data =	PARENT;
130
131		elfedit32_modified_ehdr =	PARENT;
132		elfedit64_modified_ehdr =	PARENT;
133
134		elfedit32_modified_phdr =	PARENT;
135		elfedit64_modified_phdr =	PARENT;
136
137		elfedit32_modified_shdr =	PARENT;
138		elfedit64_modified_shdr =	PARENT;
139
140		elfedit32_name_to_shndx =	PARENT;
141		elfedit64_name_to_shndx =	PARENT;
142
143		elfedit32_name_to_symndx =	PARENT;
144		elfedit64_name_to_symndx =	PARENT;
145
146		elfedit32_offset_to_str =	PARENT;
147		elfedit64_offset_to_str =	PARENT;
148
149		elfedit32_sec_findstr =		PARENT;
150		elfedit64_sec_findstr =		PARENT;
151
152		elfedit32_sec_get =		PARENT;
153		elfedit64_sec_get =		PARENT;
154
155		elfedit32_sec_getcap =		PARENT;
156		elfedit64_sec_getcap =		PARENT;
157
158		elfedit32_sec_getdyn =		PARENT;
159		elfedit64_sec_getdyn =		PARENT;
160
161		elfedit32_sec_getstr =		PARENT;
162		elfedit64_sec_getstr =		PARENT;
163
164		elfedit32_sec_getsyminfo =	PARENT;
165		elfedit64_sec_getsyminfo =	PARENT;
166
167		elfedit32_sec_getsymtab =	PARENT;
168		elfedit64_sec_getsymtab =	PARENT;
169
170		elfedit32_sec_getversym =	PARENT;
171		elfedit64_sec_getversym =	PARENT;
172
173		elfedit32_sec_getxshndx =	PARENT;
174		elfedit64_sec_getxshndx =	PARENT;
175
176		elfedit32_sec_issymtab =	PARENT;
177		elfedit64_sec_issymtab =	PARENT;
178
179		elfedit32_shndx_to_name =	PARENT;
180		elfedit64_shndx_to_name =	PARENT;
181
182		elfedit32_sec_msgprefix =	PARENT;
183		elfedit64_sec_msgprefix =	PARENT;
184
185		elfedit32_strtab_insert =	PARENT;
186		elfedit64_strtab_insert =	PARENT;
187
188		elfedit32_strtab_insert_test =	PARENT;
189		elfedit64_strtab_insert_test =	PARENT;
190
191		elfedit32_type_to_shndx =	PARENT;
192		elfedit64_type_to_shndx =	PARENT;
193
194local:
195		*;
196};
197