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