mapfile-vers revision 9273:9a0603d78ad3
190792Sgshapiro#
2261363Sgshapiro# CDDL HEADER START
390792Sgshapiro#
490792Sgshapiro# The contents of this file are subject to the terms of the
590792Sgshapiro# Common Development and Distribution License (the "License").
690792Sgshapiro# You may not use this file except in compliance with the License.
790792Sgshapiro#
890792Sgshapiro# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9266692Sgshapiro# or http://www.opensolaris.org/os/licensing.
1090792Sgshapiro# See the License for the specific language governing permissions
1190792Sgshapiro# and limitations under the License.
1290792Sgshapiro#
1390792Sgshapiro# When distributing Covered Code, include this CDDL HEADER in each
1490792Sgshapiro# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1590792Sgshapiro# If applicable, add the following below this CDDL HEADER, with the
1690792Sgshapiro# fields enclosed by brackets "[]" replaced with your own identifying
1790792Sgshapiro# information: Portions Copyright [yyyy] [name of copyright owner]
1890792Sgshapiro#
1990792Sgshapiro# CDDL HEADER END
2090792Sgshapiro#
2190792Sgshapiro
2290792Sgshapiro#
2390792Sgshapiro# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2490792Sgshapiro# Use is subject to license terms.
2590792Sgshapiro#
2690792Sgshapiro
2790792Sgshapiro#
2890792Sgshapiro# MAPFILE HEADER START
2990792Sgshapiro#
3090792Sgshapiro# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
3190792Sgshapiro# Object versioning must comply with the rules detailed in
3290792Sgshapiro#
3390792Sgshapiro#	usr/src/lib/README.mapfiles
3490792Sgshapiro#
3590792Sgshapiro# You should not be making modifications here until you've read the most current
3690792Sgshapiro# copy of that file. If you need help, contact a gatekeeper for guidance.
3790792Sgshapiro#
3890792Sgshapiro# MAPFILE HEADER END
3990792Sgshapiro#
4090792Sgshapiro
4190792Sgshapiro# This mapfile is shared by all of the elfedit modules.
4290792Sgshapiro# These sharable objects only export two functions,
4390792Sgshapiro# elfedit[32|64]_init. Everything else is reduced to
4490792Sgshapiro# local scope.
4590792Sgshapiro#
4690792Sgshapiro# The routines exported by elfedit for use by the modules
4790792Sgshapiro# are also defined here, using the PARENT mapfile keyword.
4890792Sgshapiro
4990792SgshapiroSUNWprivate_1.1 {
5090792Sgshapiro	global:
5190792Sgshapiro		# Standard init routines exported by every module
5290792Sgshapiro		elfedit32_init;
5390792Sgshapiro		elfedit64_init;
5490792Sgshapiro
5590792Sgshapiro
5690792Sgshapiro		# liblddbg dbg_print() function
5790792Sgshapiro		dbg_print =			PARENT NODIRECT;
5890792Sgshapiro
5990792Sgshapiro
6090792Sgshapiro		# Core API
6190792Sgshapiro		elfedit_command_usage =		PARENT;
6290792Sgshapiro		elfedit_cpl_match =		PARENT;
6390792Sgshapiro		elfedit_cpl_ndx =		PARENT;
6490792Sgshapiro		elfedit_elferr =		PARENT;
6590792Sgshapiro		elfedit_flags =			PARENT;
6690792Sgshapiro		elfedit_malloc =		PARENT;
6790792Sgshapiro		elfedit_msg =			PARENT;
6890792Sgshapiro		elfedit_outstyle =		PARENT;
6990792Sgshapiro		elfedit_pager_init =		PARENT;
7090792Sgshapiro		elfedit_printf =		PARENT;
7190792Sgshapiro		elfedit_realloc =		PARENT;
7290792Sgshapiro		elfedit_str_to_c_literal =	PARENT;
7390792Sgshapiro		elfedit_write =			PARENT;
7490792Sgshapiro
7590792Sgshapiro
7690792Sgshapiro
7790792Sgshapiro		# ato[u]i routines
7890792Sgshapiro		elfedit_const_to_atoui =	PARENT;
7990792Sgshapiro
8090792Sgshapiro		elfedit_atoi =			PARENT;
8190792Sgshapiro		elfedit_atoui =			PARENT;
8290792Sgshapiro		elfedit_atoconst =		PARENT;
8390792Sgshapiro
8490792Sgshapiro		elfedit_atoi2 =			PARENT;
8590792Sgshapiro		elfedit_atoui2 =		PARENT;
8690792Sgshapiro		elfedit_atoconst2 =		PARENT;
8790792Sgshapiro
8890792Sgshapiro		elfedit_atoi_range =		PARENT;
8990792Sgshapiro		elfedit_atoui_range =		PARENT;
9090792Sgshapiro		elfedit_atoconst_range =	PARENT;
9190792Sgshapiro
9290792Sgshapiro		elfedit_atoi_range2 =		PARENT;
9390792Sgshapiro		elfedit_atoui_range2 =		PARENT;
9490792Sgshapiro		elfedit_atoconst_range2 =	PARENT;
9590792Sgshapiro
9690792Sgshapiro		elfedit_atoi_value_to_str =	PARENT;
9790792Sgshapiro		elfedit_atoui_value_to_str =	PARENT;
9890792Sgshapiro		elfedit_atoconst_value_to_str =	PARENT;
9990792Sgshapiro
10090792Sgshapiro		elfedit_cpl_atoi =		PARENT;
10190792Sgshapiro		elfedit_cpl_atoui =		PARENT;
10290792Sgshapiro		elfedit_cpl_atoconst =		PARENT;
10390792Sgshapiro
10490792Sgshapiro
10590792Sgshapiro
10690792Sgshapiro		# Convenience functions built on top of the ato[u]i routines
10790792Sgshapiro		elfedit_atobool =		PARENT;
10890792Sgshapiro		elfedit_atoshndx =		PARENT;
10990792Sgshapiro
11090792Sgshapiro
11190792Sgshapiro
11290792Sgshapiro		# Getopt
11390792Sgshapiro		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