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