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