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