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