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# Generic interface definition for usr/src/cmd/sgs/liblddbg. 28# 29 30# 31# MAPFILE HEADER START 32# 33# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. 34# Object versioning must comply with the rules detailed in 35# 36# usr/src/lib/README.mapfiles 37# 38# You should not be making modifications here until you've read the most current 39# copy of that file. If you need help, contact a gatekeeper for guidance. 40# 41# MAPFILE HEADER END 42# 43 44SUNWprivate_4.73 { 45 global: 46 dbg_desc = NODIRECT; # interposed - ld.so.1(1) 47 dbg_print = NODIRECT; # interposed - ld(1) and ld.so.1(1) 48 49 Dbg_args_file; 50 Dbg_args_option; 51 Dbg_args_str2chr; 52 Dbg_args_Wldel; 53 Dbg_audit_ignore; 54 Dbg_audit_interface; 55 Dbg_audit_lib; 56 Dbg_audit_object; 57 Dbg_audit_symval; 58 Dbg_audit_skip; 59 Dbg_audit_terminate; 60 Dbg_audit_version; 61 62 Dbg_basic_collect; 63 Dbg_basic_create; 64 Dbg_basic_files; 65 Dbg_basic_finish; 66 Dbg_basic_options; 67 Dbg_basic_relocate; 68 Dbg_basic_validate; 69 70 Dbg_help; 71 Dbg_setup; 72 73 Dbg32_bind_global; 74 Dbg64_bind_global; 75 Dbg32_bind_plt_summary; 76 Dbg64_bind_plt_summary; 77 Dbg64_bind_pltpad_from; 78 Dbg64_bind_pltpad_to; 79 Dbg32_bind_reject; 80 Dbg64_bind_reject; 81 Dbg32_bind_weak; 82 Dbg64_bind_weak; 83 84 Dbg32_cap_hw_candidate; 85 Dbg64_cap_hw_candidate; 86 Dbg32_cap_hw_filter; 87 Dbg64_cap_hw_filter; 88 Dbg32_cap_mapfile; 89 Dbg64_cap_mapfile; 90 Dbg32_cap_sec_entry; 91 Dbg64_cap_sec_entry; 92 Dbg32_cap_sec_title; 93 Dbg64_cap_sec_title; 94 Dbg32_cap_val_hw1; 95 Dbg64_cap_val_hw1; 96 97 Dbg32_demangle_name; 98 Dbg64_demangle_name; 99 100 Dbg32_ent_print; 101 Dbg64_ent_print; 102 103 Dbg32_file_analyze; 104 Dbg64_file_analyze; 105 Dbg32_file_aout; 106 Dbg64_file_aout; 107 Dbg32_file_ar; 108 Dbg64_file_ar; 109 Dbg32_file_ar_rescan; 110 Dbg64_file_ar_rescan; 111 Dbg32_file_bind_entry; 112 Dbg64_file_bind_entry; 113 Dbg32_file_bindings; 114 Dbg64_file_bindings; 115 Dbg32_file_cntl; 116 Dbg64_file_cntl; 117 Dbg32_file_config_dis; 118 Dbg64_file_config_dis; 119 Dbg32_file_config_obj; 120 Dbg64_file_config_obj; 121 Dbg32_file_del_rescan; 122 Dbg64_file_del_rescan; 123 Dbg32_file_delete; 124 Dbg64_file_delete; 125 Dbg32_file_dlclose; 126 Dbg64_file_dlclose; 127 Dbg32_file_dldump; 128 Dbg64_file_dldump; 129 Dbg32_file_dlopen; 130 Dbg64_file_dlopen; 131 Dbg32_file_elf; 132 Dbg64_file_elf; 133 Dbg32_file_cleanup; 134 Dbg64_file_cleanup; 135 Dbg32_file_filtee; 136 Dbg64_file_filtee; 137 Dbg32_file_filter; 138 Dbg64_file_filter; 139 Dbg32_file_fixname; 140 Dbg64_file_fixname; 141 Dbg32_file_generic; 142 Dbg64_file_generic; 143 Dbg32_file_hdl_action; 144 Dbg64_file_hdl_action; 145 Dbg32_file_hdl_collect; 146 Dbg64_file_hdl_collect; 147 Dbg32_file_hdl_title; 148 Dbg64_file_hdl_title; 149 Dbg32_file_lazyload; 150 Dbg64_file_lazyload; 151 Dbg32_file_ldso; 152 Dbg64_file_ldso; 153 Dbg32_file_mmapobj; 154 Dbg64_file_mmapobj; 155 Dbg32_file_mode_promote; 156 Dbg64_file_mode_promote; 157 Dbg32_file_modified; 158 Dbg64_file_modified; 159 Dbg32_file_needed; 160 Dbg64_file_needed; 161 Dbg32_file_output; 162 Dbg64_file_output; 163 Dbg32_file_preload; 164 Dbg64_file_preload; 165 Dbg32_file_prot; 166 Dbg64_file_prot; 167 Dbg32_file_rejected; 168 Dbg64_file_rejected; 169 Dbg32_file_reuse; 170 Dbg64_file_reuse; 171 Dbg32_file_skip; 172 Dbg64_file_skip; 173 174 Dbg32_got_display; 175 Dbg64_got_display; 176 177 Dbg32_libs_audit; 178 Dbg64_libs_audit; 179 Dbg32_libs_find; 180 Dbg64_libs_find; 181 Dbg32_libs_found; 182 Dbg64_libs_found; 183 Dbg32_libs_insecure; 184 Dbg64_libs_insecure; 185 Dbg32_libs_init; 186 Dbg64_libs_init; 187 Dbg32_libs_l; 188 Dbg64_libs_l; 189 Dbg32_libs_path; 190 Dbg64_libs_path; 191 Dbg32_libs_req; 192 Dbg64_libs_req; 193 Dbg32_libs_update; 194 Dbg64_libs_update; 195 Dbg32_libs_yp; 196 Dbg64_libs_yp; 197 Dbg32_libs_ylu; 198 Dbg64_libs_ylu; 199 200 Dbg32_map_dash; 201 Dbg64_map_dash; 202 Dbg32_map_ent; 203 Dbg64_map_ent; 204 Dbg32_map_parse; 205 Dbg64_map_parse; 206 Dbg32_map_pipe; 207 Dbg64_map_pipe; 208 Dbg32_map_set_atsign; 209 Dbg64_map_set_atsign; 210 Dbg32_map_seg; 211 Dbg64_map_seg; 212 Dbg32_map_set_equal; 213 Dbg64_map_set_equal; 214 Dbg32_map_size_new; 215 Dbg64_map_size_new; 216 Dbg32_map_size_old; 217 Dbg64_map_size_old; 218 Dbg32_map_sort; 219 Dbg64_map_sort; 220 Dbg32_map_sort_seg; 221 Dbg64_map_sort_seg; 222 Dbg32_map_symbol; 223 Dbg64_map_symbol; 224 Dbg32_map_version; 225 Dbg64_map_version; 226 227 Dbg32_move_adjexpandreloc; 228 Dbg64_move_adjexpandreloc; 229 Dbg32_move_adjmovereloc; 230 Dbg64_move_adjmovereloc; 231 Dbg32_move_bad; 232 Dbg64_move_bad; 233 Dbg32_move_data; 234 Dbg64_move_data; 235 Dbg32_move_entry1; 236 Dbg64_move_entry1; 237 Dbg32_move_entry2; 238 Dbg64_move_entry2; 239 Dbg32_move_expand; 240 Dbg64_move_expand; 241 Dbg32_move_input; 242 Dbg64_move_input; 243 Dbg32_move_outmove; 244 Dbg64_move_outmove; 245 Dbg32_move_outsctadj; 246 Dbg64_move_outsctadj; 247 Dbg32_move_parexpn; 248 Dbg64_move_parexpn; 249 250 Dbg32_reloc_apply_reg; 251 Dbg64_reloc_apply_reg; 252 Dbg32_reloc_apply_val; 253 Dbg64_reloc_apply_val; 254 Dbg32_reloc_ars_entry; 255 Dbg64_reloc_ars_entry; 256 Dbg32_reloc_copy; 257 Dbg64_reloc_copy; 258 Dbg32_reloc_discard; 259 Dbg64_reloc_discard; 260 Dbg32_reloc_doact; 261 Dbg64_reloc_doact; 262 Dbg32_reloc_doact_title; 263 Dbg64_reloc_doact_title; 264 Dbg32_reloc_dooutrel; 265 Dbg64_reloc_dooutrel; 266 Dbg32_reloc_entry; 267 Dbg64_reloc_entry; 268 Dbg32_reloc_error; 269 Dbg64_reloc_error; 270 Dbg32_reloc_generate; 271 Dbg64_reloc_generate; 272 Dbg32_reloc_in; 273 Dbg64_reloc_in; 274 Dbg32_reloc_ors_entry; 275 Dbg64_reloc_ors_entry; 276 Dbg32_reloc_out; 277 Dbg64_reloc_out; 278 Dbg32_reloc_proc; 279 Dbg64_reloc_proc; 280 Dbg32_reloc_run; 281 Dbg64_reloc_run; 282 Dbg32_reloc_sloppycomdat; 283 Dbg64_reloc_sloppycomdat; 284 Dbg32_reloc_transition; 285 Dbg64_reloc_transition; 286 287 Dbg32_sec_added; 288 Dbg64_sec_added; 289 Dbg32_sec_backing; 290 Dbg64_sec_backing; 291 Dbg32_sec_created; 292 Dbg64_sec_created; 293 Dbg32_sec_discarded; 294 Dbg64_sec_discarded; 295 Dbg32_sec_genstr_compress; 296 Dbg64_sec_genstr_compress; 297 Dbg32_sec_group; 298 Dbg64_sec_group; 299 Dbg32_sec_gnu_comdat; 300 Dbg64_sec_gnu_comdat; 301 Dbg32_sec_in; 302 Dbg64_sec_in; 303 Dbg32_sec_order_error; 304 Dbg64_sec_order_error; 305 Dbg32_sec_order_list; 306 Dbg64_sec_order_list; 307 Dbg32_sec_redirected; 308 Dbg64_sec_redirected; 309 Dbg32_sec_strtab; 310 Dbg64_sec_strtab; 311 Dbg32_sec_unsup_strmerge; 312 Dbg64_sec_unsup_strmerge; 313 314 Dbg32_seg_entry; 315 Dbg64_seg_entry; 316 Dbg32_seg_list; 317 Dbg64_seg_list; 318 Dbg32_seg_os; 319 Dbg64_seg_os; 320 Dbg32_seg_title; 321 Dbg64_seg_title; 322 323 Dbg32_shdr_modified; 324 Dbg64_shdr_modified; 325 326 Dbg32_statistics_ar; 327 Dbg64_statistics_ar; 328 Dbg32_statistics_ld; 329 Dbg64_statistics_ld; 330 331 Dbg32_support_action; 332 Dbg64_support_action; 333 Dbg32_support_load; 334 Dbg64_support_load; 335 Dbg32_support_req; 336 Dbg64_support_req; 337 Dbg32_support_vnone; 338 Dbg64_support_vnone; 339 340 Dbg32_syminfo_entry; 341 Dbg64_syminfo_entry; 342 Dbg32_syminfo_title; 343 Dbg64_syminfo_title; 344 345 Dbg32_syms_ar_checking; 346 Dbg64_syms_ar_checking; 347 Dbg32_syms_ar_entry; 348 Dbg64_syms_ar_entry; 349 Dbg32_syms_ar_resolve; 350 Dbg64_syms_ar_resolve; 351 Dbg32_syms_ar_title; 352 Dbg64_syms_ar_title; 353 Dbg32_syms_created; 354 Dbg64_syms_created; 355 Dbg32_syms_discarded; 356 Dbg64_syms_discarded; 357 Dbg32_syms_dup_discarded; 358 Dbg64_syms_dup_discarded; 359 Dbg32_syms_dlsym; 360 Dbg64_syms_dlsym; 361 Dbg32_syms_dup_sort_addr; 362 Dbg64_syms_dup_sort_addr; 363 Dbg32_syms_entered; 364 Dbg64_syms_entered; 365 Dbg32_syms_entry; 366 Dbg64_syms_entry; 367 Dbg32_syms_global; 368 Dbg64_syms_global; 369 Dbg32_syms_ignore; 370 Dbg64_syms_ignore; 371 Dbg32_syms_ignore_gnuver; 372 Dbg64_syms_ignore_gnuver; 373 Dbg32_syms_lazy_rescan; 374 Dbg64_syms_lazy_rescan; 375 Dbg32_syms_lookup; 376 Dbg64_syms_lookup; 377 Dbg32_syms_lookup_aout; 378 Dbg32_syms_new; 379 Dbg64_syms_new; 380 Dbg32_syms_old; 381 Dbg64_syms_old; 382 Dbg32_syms_process; 383 Dbg64_syms_process; 384 Dbg32_syms_reduce; 385 Dbg64_syms_reduce; 386 Dbg32_syms_reloc; 387 Dbg64_syms_reloc; 388 Dbg32_syms_resolved; 389 Dbg64_syms_resolved; 390 Dbg32_syms_resolving; 391 Dbg64_syms_resolving; 392 Dbg32_syms_sec_entry; 393 Dbg64_syms_sec_entry; 394 Dbg32_syms_sec_title; 395 Dbg64_syms_sec_title; 396 Dbg32_syms_spec_title; 397 Dbg64_syms_spec_title; 398 Dbg32_syms_updated; 399 Dbg64_syms_updated; 400 Dbg32_syms_up_title; 401 Dbg64_syms_up_title; 402 403 Dbg_tls_modactivity; 404 Dbg_tls_static_block; 405 Dbg_tls_static_resv; 406 407 Dbg32_util_call_array; 408 Dbg64_util_call_array; 409 Dbg32_util_call_fini; 410 Dbg64_util_call_fini; 411 Dbg32_util_call_init; 412 Dbg64_util_call_init; 413 Dbg32_util_call_main; 414 Dbg64_util_call_main; 415 Dbg32_util_collect; 416 Dbg64_util_collect; 417 Dbg32_util_dbnotify; 418 Dbg64_util_dbnotify; 419 Dbg32_util_edge_in; 420 Dbg64_util_edge_in; 421 Dbg32_util_edge_out; 422 Dbg64_util_edge_out; 423 Dbg32_util_lcinterface; 424 Dbg64_util_lcinterface; 425 Dbg32_util_intoolate; 426 Dbg64_util_intoolate; 427 Dbg32_util_nl; 428 Dbg64_util_nl; 429 Dbg32_util_no_init; 430 Dbg64_util_no_init; 431 Dbg32_util_scc_entry; 432 Dbg64_util_scc_entry; 433 Dbg32_util_scc_title; 434 Dbg64_util_scc_title; 435 Dbg32_util_str; 436 Dbg64_util_str; 437 438 Dbg32_unused_file; 439 Dbg64_unused_file; 440 Dbg32_unused_lcinterface; 441 Dbg64_unused_lcinterface; 442 Dbg32_unused_path; 443 Dbg64_unused_path; 444 Dbg32_unused_sec; 445 Dbg64_unused_sec; 446 Dbg32_unused_unref; 447 Dbg64_unused_unref; 448 449 Dbg32_ver_avail_entry; 450 Dbg64_ver_avail_entry; 451 Dbg32_ver_avail_title; 452 Dbg64_ver_avail_title; 453 Dbg32_ver_def_title; 454 Dbg64_ver_def_title; 455 Dbg32_ver_desc_entry; 456 Dbg64_ver_desc_entry; 457 Dbg32_ver_need_entry; 458 Dbg64_ver_need_entry; 459 Dbg32_ver_need_title; 460 Dbg64_ver_need_title; 461 Dbg32_ver_nointerface; 462 Dbg64_ver_nointerface; 463 Dbg32_ver_symbol; 464 Dbg64_ver_symbol; 465 466} SUNWprivate_3.23; 467 468 469# The following interfaces are used by various parts of the link-editors and 470# elfdump(1). The link-editors are always packaged together but there 471# seems to be a variety of old elfdump's lying around. elfdump only uses 472# this interface, and thus by separating in from the ever changing Dbg_* 473# interfaces we can provide a stable versioning environment for this utility. 474 475SUNWprivate_3.23 { 476 global: 477 Elf_syminfo_entry; 478 Elf_syminfo_title; 479 480 Elf32_cap_entry; 481 Elf64_cap_entry; 482 Elf32_cap_title; 483 Elf64_cap_title; 484 485 Elf32_demangle_name; 486 Elf64_demangle_name; 487 Elf32_dyn_entry; 488 Elf64_dyn_entry; 489 Elf32_dyn_null_entry; 490 Elf64_dyn_null_entry; 491 Elf32_dyn_title; 492 Elf64_dyn_title; 493 494 Elf32_ehdr; 495 Elf64_ehdr; 496 497 Elf32_got_entry; 498 Elf64_got_entry; 499 Elf32_got_title; 500 Elf64_got_title; 501 502 Elf32_phdr; 503 Elf64_phdr; 504 505 Elf32_reloc_apply_reg; 506 Elf64_reloc_apply_reg; 507 Elf32_reloc_apply_val; 508 Elf64_reloc_apply_val; 509 Elf32_reloc_entry_1; 510 Elf64_reloc_entry_1; 511 Elf32_reloc_entry_2; 512 Elf64_reloc_entry_2; 513 Elf32_reloc_title; 514 Elf64_reloc_title; 515 516 Elf32_shdr; 517 Elf64_shdr; 518 519 Elf32_syms_table_title; 520 Elf64_syms_table_title; 521 Elf32_syms_table_entry; 522 Elf64_syms_table_entry; 523 524 Elf32_ver_def_title; 525 Elf64_ver_def_title; 526 Elf32_ver_line_1; 527 Elf64_ver_line_1; 528 Elf32_ver_line_2; 529 Elf64_ver_line_2; 530 Elf32_ver_line_3; 531 Elf64_ver_line_3; 532 Elf32_ver_line_4; 533 Elf64_ver_line_4; 534 Elf32_ver_line_5; 535 Elf64_ver_line_5; 536 Elf32_ver_need_title; 537 Elf64_ver_need_title; 538 539 local: 540 *; 541}; 542