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