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