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{ 42 global: 43 main; # debuggers seem to like this. 44 45 46 47 # liblddbg dbg_print() function 48 dbg_print = NODIRECT; 49 50 51 52 # Core API 53 elfedit_command_usage; 54 elfedit_cpl_command; 55 elfedit_cpl_match; 56 elfedit_cpl_module; 57 elfedit_cpl_ndx; 58 elfedit_elferr; 59 elfedit_flags; 60 elfedit_malloc; 61 elfedit_msg; 62 elfedit_outstyle; 63 elfedit_pager_init; 64 elfedit_printf; 65 elfedit_realloc; 66 elfedit_str_to_c_literal; 67 elfedit_write; 68 69 70 71 # ato[u]i routines 72 elfedit_const_to_atoui; 73 elfedit_mach_sunw_hw1_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_type_to_shndx; 199 elfedit64_type_to_shndx; 200 201 local: 202 *; 203}; 204