Home | History | Annotate | Download | only in common
      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 
     44 SUNWprivate_4.74 {
     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 		Dbg32_syms_wrap;
    403 		Dbg64_syms_wrap;
    404 
    405 		Dbg_tls_modactivity;
    406 		Dbg_tls_static_block;
    407 		Dbg_tls_static_resv;
    408 
    409 		Dbg32_util_call_array;
    410 		Dbg64_util_call_array;
    411 		Dbg32_util_call_fini;
    412 		Dbg64_util_call_fini;
    413 		Dbg32_util_call_init;
    414 		Dbg64_util_call_init;
    415 		Dbg32_util_call_main;
    416 		Dbg64_util_call_main;
    417 		Dbg32_util_collect;
    418 		Dbg64_util_collect;
    419 		Dbg32_util_dbnotify;
    420 		Dbg64_util_dbnotify;
    421 		Dbg32_util_edge_in;
    422 		Dbg64_util_edge_in;
    423 		Dbg32_util_edge_out;
    424 		Dbg64_util_edge_out;
    425 		Dbg32_util_lcinterface;
    426 		Dbg64_util_lcinterface;
    427 		Dbg32_util_intoolate;
    428 		Dbg64_util_intoolate;
    429 		Dbg32_util_nl;
    430 		Dbg64_util_nl;
    431 		Dbg32_util_no_init;
    432 		Dbg64_util_no_init;
    433 		Dbg32_util_scc_entry;
    434 		Dbg64_util_scc_entry;
    435 		Dbg32_util_scc_title;
    436 		Dbg64_util_scc_title;
    437 		Dbg32_util_str;
    438 		Dbg64_util_str;
    439 
    440 		Dbg32_unused_file;
    441 		Dbg64_unused_file;
    442 		Dbg32_unused_lcinterface;
    443 		Dbg64_unused_lcinterface;
    444 		Dbg32_unused_path;
    445 		Dbg64_unused_path;
    446 		Dbg32_unused_sec;
    447 		Dbg64_unused_sec;
    448 		Dbg32_unused_unref;
    449 		Dbg64_unused_unref;
    450 
    451 		Dbg32_ver_avail_entry;
    452 		Dbg64_ver_avail_entry;
    453 		Dbg32_ver_avail_title;
    454 		Dbg64_ver_avail_title;
    455 		Dbg32_ver_def_title;
    456 		Dbg64_ver_def_title;
    457 		Dbg32_ver_desc_entry;
    458 		Dbg64_ver_desc_entry;
    459 		Dbg32_ver_need_entry;
    460 		Dbg64_ver_need_entry;
    461 		Dbg32_ver_need_title;
    462 		Dbg64_ver_need_title;
    463 		Dbg32_ver_nointerface;
    464 		Dbg64_ver_nointerface;
    465 		Dbg32_ver_symbol;
    466 		Dbg64_ver_symbol;
    467 
    468 } SUNWprivate_3.23;
    469 
    470 
    471 # The following interfaces are used by various parts of the link-editors and
    472 # elfdump(1).  The link-editors are always packaged together but there
    473 # seems to be a variety of old elfdump's lying around.  elfdump only uses
    474 # this interface, and thus by separating in from the ever changing Dbg_*
    475 # interfaces we can provide a stable versioning environment for this utility.
    476 
    477 SUNWprivate_3.23 {
    478 	global:
    479 		Elf_syminfo_entry;
    480 		Elf_syminfo_title;
    481 
    482 		Elf32_cap_entry;
    483 		Elf64_cap_entry;
    484 		Elf32_cap_title;
    485 		Elf64_cap_title;
    486 
    487 		Elf32_demangle_name;
    488 		Elf64_demangle_name;
    489 		Elf32_dyn_entry;
    490 		Elf64_dyn_entry;
    491 		Elf32_dyn_null_entry;
    492 		Elf64_dyn_null_entry;
    493 		Elf32_dyn_title;
    494 		Elf64_dyn_title;
    495 
    496 		Elf32_ehdr;
    497 		Elf64_ehdr;
    498 
    499 		Elf32_got_entry;
    500 		Elf64_got_entry;
    501 		Elf32_got_title;
    502 		Elf64_got_title;
    503 
    504 		Elf32_phdr;
    505 		Elf64_phdr;
    506 
    507 		Elf32_reloc_apply_reg;
    508 		Elf64_reloc_apply_reg;
    509 		Elf32_reloc_apply_val;
    510 		Elf64_reloc_apply_val;
    511 		Elf32_reloc_entry_1;
    512 		Elf64_reloc_entry_1;
    513 		Elf32_reloc_entry_2;
    514 		Elf64_reloc_entry_2;
    515 		Elf32_reloc_title;
    516 		Elf64_reloc_title;
    517 
    518 		Elf32_shdr;
    519 		Elf64_shdr;
    520 
    521 		Elf32_syms_table_title;
    522 		Elf64_syms_table_title;
    523 		Elf32_syms_table_entry;
    524 		Elf64_syms_table_entry;
    525 
    526 		Elf32_ver_def_title;
    527 		Elf64_ver_def_title;
    528 		Elf32_ver_line_1;
    529 		Elf64_ver_line_1;
    530 		Elf32_ver_line_2;
    531 		Elf64_ver_line_2;
    532 		Elf32_ver_line_3;
    533 		Elf64_ver_line_3;
    534 		Elf32_ver_line_4;
    535 		Elf64_ver_line_4;
    536 		Elf32_ver_line_5;
    537 		Elf64_ver_line_5;
    538 		Elf32_ver_need_title;
    539 		Elf64_ver_need_title;
    540 
    541 	local:
    542 		*;
    543 };
    544