xref: /illumos-gate/usr/src/cmd/sgs/liblddbg/common/mapfile-vers (revision d2d5cf7c5d909b74a88d499283e24750a9a52c5d)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
55aefb655Srie# Common Development and Distribution License (the "License").
65aefb655Srie# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
21fb1354edSrie
22fb1354edSrie#
23cce0e03bSab196087# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24fb1354edSrie# Use is subject to license terms.
25fb1354edSrie#
260e233487SRod Evans
27fb1354edSrie#
287c478bd9Sstevel@tonic-gate# Generic interface definition for usr/src/cmd/sgs/liblddbg.
297c478bd9Sstevel@tonic-gate#
307c478bd9Sstevel@tonic-gate# For information regarding the establishment of versioned definitions see:
317c478bd9Sstevel@tonic-gate#	The Linker and Libraries Manual (version 2.5 or greater)
327c478bd9Sstevel@tonic-gate# This is part of the Developers Guide in the Answerbook.  Specifically refer
337c478bd9Sstevel@tonic-gate# to Chapter 2 under section "Defining Additional Symbols" through section
347c478bd9Sstevel@tonic-gate# "Reducing Symbol Scope", and Chapter 5 "Versioning".
357c478bd9Sstevel@tonic-gate#
367c478bd9Sstevel@tonic-gate# For specific OSNET rules for the modification (evolution) of these version
377c478bd9Sstevel@tonic-gate# definitions see:
387c478bd9Sstevel@tonic-gate#	Policy for Shared Library Version Names and Interface Definitions
397c478bd9Sstevel@tonic-gate
407c478bd9Sstevel@tonic-gate
41*d2d5cf7cSAli BahramiSUNWprivate_4.68 {
427c478bd9Sstevel@tonic-gate	global:
435aefb655Srie		dbg_desc = NODIRECT;	# interposed - ld.so.1(1)
445aefb655Srie		dbg_print = NODIRECT;	# interposed - ld(1) and ld.so.1(1)
455aefb655Srie
467c478bd9Sstevel@tonic-gate		Dbg_args_files;
4792a02081SRod Evans		Dbg_args_opts;
4892a02081SRod Evans		Dbg_args_str2chr;
4992a02081SRod Evans		Dbg_args_Wldel;
507247f888Srie		Dbg_audit_ignore;
517c478bd9Sstevel@tonic-gate		Dbg_audit_interface;
527c478bd9Sstevel@tonic-gate		Dbg_audit_lib;
537c478bd9Sstevel@tonic-gate		Dbg_audit_object;
547c478bd9Sstevel@tonic-gate		Dbg_audit_symval;
55c75e1b9dSrie		Dbg_audit_skip;
567247f888Srie		Dbg_audit_terminate;
577c478bd9Sstevel@tonic-gate		Dbg_audit_version;
585aefb655Srie
597c478bd9Sstevel@tonic-gate		Dbg_setup;
605aefb655Srie
615aefb655Srie		Dbg32_bind_global;
625aefb655Srie		Dbg64_bind_global;
635aefb655Srie		Dbg32_bind_plt_summary;
645aefb655Srie		Dbg64_bind_plt_summary;
655aefb655Srie		Dbg64_bind_pltpad_from;
665aefb655Srie		Dbg64_bind_pltpad_to;
6760758829Srie		Dbg32_bind_reject;
6860758829Srie		Dbg64_bind_reject;
695aefb655Srie		Dbg32_bind_weak;
705aefb655Srie		Dbg64_bind_weak;
715aefb655Srie
725aefb655Srie		Dbg32_cap_hw_candidate;
735aefb655Srie		Dbg64_cap_hw_candidate;
745aefb655Srie		Dbg32_cap_hw_filter;
755aefb655Srie		Dbg64_cap_hw_filter;
765aefb655Srie		Dbg32_cap_mapfile;
775aefb655Srie		Dbg64_cap_mapfile;
785aefb655Srie		Dbg32_cap_sec_entry;
795aefb655Srie		Dbg64_cap_sec_entry;
805aefb655Srie		Dbg32_cap_sec_title;
815aefb655Srie		Dbg64_cap_sec_title;
825aefb655Srie		Dbg32_cap_val_hw1;
835aefb655Srie		Dbg64_cap_val_hw1;
845aefb655Srie
855aefb655Srie		Dbg32_demangle_name;
865aefb655Srie		Dbg64_demangle_name;
875aefb655Srie
885aefb655Srie		Dbg32_ent_print;
895aefb655Srie		Dbg64_ent_print;
905aefb655Srie
915aefb655Srie		Dbg32_file_analyze;
925aefb655Srie		Dbg64_file_analyze;
935aefb655Srie		Dbg32_file_aout;
945aefb655Srie		Dbg64_file_aout;
955aefb655Srie		Dbg32_file_ar;
965aefb655Srie		Dbg64_file_ar;
975aefb655Srie		Dbg32_file_ar_rescan;
985aefb655Srie		Dbg64_file_ar_rescan;
995aefb655Srie		Dbg32_file_bind_entry;
1005aefb655Srie		Dbg64_file_bind_entry;
1015aefb655Srie		Dbg32_file_bindings;
1025aefb655Srie		Dbg64_file_bindings;
1035aefb655Srie		Dbg32_file_cntl;
1045aefb655Srie		Dbg64_file_cntl;
1055aefb655Srie		Dbg32_file_config_dis;
1065aefb655Srie		Dbg64_file_config_dis;
1075aefb655Srie		Dbg32_file_config_obj;
1085aefb655Srie		Dbg64_file_config_obj;
1095aefb655Srie		Dbg32_file_del_rescan;
1105aefb655Srie		Dbg64_file_del_rescan;
1115aefb655Srie		Dbg32_file_delete;
1125aefb655Srie		Dbg64_file_delete;
1135aefb655Srie		Dbg32_file_dlclose;
1145aefb655Srie		Dbg64_file_dlclose;
1155aefb655Srie		Dbg32_file_dldump;
1165aefb655Srie		Dbg64_file_dldump;
1175aefb655Srie		Dbg32_file_dlopen;
1185aefb655Srie		Dbg64_file_dlopen;
1195aefb655Srie		Dbg32_file_elf;
1205aefb655Srie		Dbg64_file_elf;
12102ca3e02Srie		Dbg32_file_cleanup;
12202ca3e02Srie		Dbg64_file_cleanup;
1235aefb655Srie		Dbg32_file_filtee;
1245aefb655Srie		Dbg64_file_filtee;
1255aefb655Srie		Dbg32_file_filter;
1265aefb655Srie		Dbg64_file_filter;
1275aefb655Srie		Dbg32_file_fixname;
1285aefb655Srie		Dbg64_file_fixname;
1295aefb655Srie		Dbg32_file_generic;
1305aefb655Srie		Dbg64_file_generic;
1315aefb655Srie		Dbg32_file_hdl_action;
1325aefb655Srie		Dbg64_file_hdl_action;
1335aefb655Srie		Dbg32_file_hdl_collect;
1345aefb655Srie		Dbg64_file_hdl_collect;
1355aefb655Srie		Dbg32_file_hdl_title;
1365aefb655Srie		Dbg64_file_hdl_title;
1375aefb655Srie		Dbg32_file_lazyload;
1385aefb655Srie		Dbg64_file_lazyload;
1395aefb655Srie		Dbg32_file_ldso;
1405aefb655Srie		Dbg64_file_ldso;
1415aefb655Srie		Dbg32_file_mode_promote;
1425aefb655Srie		Dbg64_file_mode_promote;
1433906e0c2Srie		Dbg32_file_modified;
1443906e0c2Srie		Dbg64_file_modified;
1455aefb655Srie		Dbg32_file_needed;
1465aefb655Srie		Dbg64_file_needed;
1475aefb655Srie		Dbg32_file_output;
1485aefb655Srie		Dbg64_file_output;
1495aefb655Srie		Dbg32_file_preload;
1505aefb655Srie		Dbg64_file_preload;
1515aefb655Srie		Dbg32_file_prot;
1525aefb655Srie		Dbg64_file_prot;
1535aefb655Srie		Dbg32_file_rejected;
1545aefb655Srie		Dbg64_file_rejected;
1555aefb655Srie		Dbg32_file_reuse;
1565aefb655Srie		Dbg64_file_reuse;
1575aefb655Srie		Dbg32_file_skip;
1585aefb655Srie		Dbg64_file_skip;
1595aefb655Srie
1605aefb655Srie		Dbg32_got_display;
1615aefb655Srie		Dbg64_got_display;
1625aefb655Srie
1635aefb655Srie		Dbg32_libs_audit;
1645aefb655Srie		Dbg64_libs_audit;
1655aefb655Srie		Dbg32_libs_find;
1665aefb655Srie		Dbg64_libs_find;
1675aefb655Srie		Dbg32_libs_found;
1685aefb655Srie		Dbg64_libs_found;
1693dbfc803SRod Evans		Dbg32_libs_insecure;
1703dbfc803SRod Evans		Dbg64_libs_insecure;
1715aefb655Srie		Dbg32_libs_init;
1725aefb655Srie		Dbg64_libs_init;
1735aefb655Srie		Dbg32_libs_l;
1745aefb655Srie		Dbg64_libs_l;
1755aefb655Srie		Dbg32_libs_path;
1765aefb655Srie		Dbg64_libs_path;
1775aefb655Srie		Dbg32_libs_req;
1785aefb655Srie		Dbg64_libs_req;
1795aefb655Srie		Dbg32_libs_update;
1805aefb655Srie		Dbg64_libs_update;
1815aefb655Srie		Dbg32_libs_yp;
1825aefb655Srie		Dbg64_libs_yp;
1835aefb655Srie		Dbg32_libs_ylu;
1845aefb655Srie		Dbg64_libs_ylu;
1855aefb655Srie
1865aefb655Srie		Dbg32_map_dash;
1875aefb655Srie		Dbg64_map_dash;
1885aefb655Srie		Dbg32_map_ent;
1895aefb655Srie		Dbg64_map_ent;
1905aefb655Srie		Dbg32_map_parse;
1915aefb655Srie		Dbg64_map_parse;
1925aefb655Srie		Dbg32_map_pipe;
1935aefb655Srie		Dbg64_map_pipe;
1945aefb655Srie		Dbg32_map_set_atsign;
1955aefb655Srie		Dbg64_map_set_atsign;
1965aefb655Srie		Dbg32_map_seg;
1975aefb655Srie		Dbg64_map_seg;
1985aefb655Srie		Dbg32_map_set_equal;
1995aefb655Srie		Dbg64_map_set_equal;
2005aefb655Srie		Dbg32_map_size_new;
2015aefb655Srie		Dbg64_map_size_new;
2025aefb655Srie		Dbg32_map_size_old;
2035aefb655Srie		Dbg64_map_size_old;
2045aefb655Srie		Dbg32_map_sort_fini;
2055aefb655Srie		Dbg64_map_sort_fini;
2065aefb655Srie		Dbg32_map_sort_orig;
2075aefb655Srie		Dbg64_map_sort_orig;
2085aefb655Srie		Dbg32_map_symbol;
2095aefb655Srie		Dbg64_map_symbol;
2105aefb655Srie		Dbg32_map_version;
2115aefb655Srie		Dbg64_map_version;
2125aefb655Srie
2135aefb655Srie		Dbg32_move_adjexpandreloc;
2145aefb655Srie		Dbg64_move_adjexpandreloc;
2155aefb655Srie		Dbg32_move_adjmovereloc;
2165aefb655Srie		Dbg64_move_adjmovereloc;
2175aefb655Srie		Dbg32_move_data;
2185aefb655Srie		Dbg64_move_data;
2195aefb655Srie		Dbg32_move_entry1;
2205aefb655Srie		Dbg64_move_entry1;
2215aefb655Srie		Dbg32_move_entry2;
2225aefb655Srie		Dbg64_move_entry2;
2235aefb655Srie		Dbg32_move_expand;
2245aefb655Srie		Dbg64_move_expand;
2255aefb655Srie		Dbg32_move_input;
2265aefb655Srie		Dbg64_move_input;
2275aefb655Srie		Dbg32_move_outmove;
2285aefb655Srie		Dbg64_move_outmove;
2295aefb655Srie		Dbg32_move_outsctadj;
2305aefb655Srie		Dbg64_move_outsctadj;
2315aefb655Srie		Dbg32_move_parexpn;
2325aefb655Srie		Dbg64_move_parexpn;
2335aefb655Srie
2345aefb655Srie		Dbg32_reloc_apply_reg;
2355aefb655Srie		Dbg64_reloc_apply_reg;
2365aefb655Srie		Dbg32_reloc_apply_val;
2375aefb655Srie		Dbg64_reloc_apply_val;
2385aefb655Srie		Dbg32_reloc_ars_entry;
2395aefb655Srie		Dbg64_reloc_ars_entry;
2405aefb655Srie		Dbg32_reloc_copy;
2415aefb655Srie		Dbg64_reloc_copy;
2425aefb655Srie		Dbg32_reloc_discard;
2435aefb655Srie		Dbg64_reloc_discard;
2445aefb655Srie		Dbg32_reloc_doact;
2455aefb655Srie		Dbg64_reloc_doact;
2465aefb655Srie		Dbg32_reloc_doact_title;
2475aefb655Srie		Dbg64_reloc_doact_title;
2485aefb655Srie		Dbg32_reloc_dooutrel;
2495aefb655Srie		Dbg64_reloc_dooutrel;
2505aefb655Srie		Dbg32_reloc_entry;
2515aefb655Srie		Dbg64_reloc_entry;
2525aefb655Srie		Dbg32_reloc_error;
2535aefb655Srie		Dbg64_reloc_error;
2545aefb655Srie		Dbg32_reloc_generate;
2555aefb655Srie		Dbg64_reloc_generate;
2565aefb655Srie		Dbg32_reloc_in;
2575aefb655Srie		Dbg64_reloc_in;
2585aefb655Srie		Dbg32_reloc_ors_entry;
2595aefb655Srie		Dbg64_reloc_ors_entry;
2605aefb655Srie		Dbg32_reloc_out;
2615aefb655Srie		Dbg64_reloc_out;
2625aefb655Srie		Dbg32_reloc_proc;
2635aefb655Srie		Dbg64_reloc_proc;
2645aefb655Srie		Dbg32_reloc_run;
2655aefb655Srie		Dbg64_reloc_run;
266d2ef9fe9Sab196087		Dbg32_reloc_sloppycomdat;
267d2ef9fe9Sab196087		Dbg64_reloc_sloppycomdat;
2685aefb655Srie		Dbg32_reloc_transition;
2695aefb655Srie		Dbg64_reloc_transition;
2705aefb655Srie
2715aefb655Srie		Dbg32_sec_added;
2725aefb655Srie		Dbg64_sec_added;
2735aefb655Srie		Dbg32_sec_created;
2745aefb655Srie		Dbg64_sec_created;
2755aefb655Srie		Dbg32_sec_discarded;
2765aefb655Srie		Dbg64_sec_discarded;
277cce0e03bSab196087		Dbg32_sec_genstr_compress;
278cce0e03bSab196087		Dbg64_sec_genstr_compress;
2795aefb655Srie		Dbg32_sec_group;
2805aefb655Srie		Dbg64_sec_group;
2810e233487SRod Evans		Dbg32_sec_gnu_comdat;
2820e233487SRod Evans		Dbg64_sec_gnu_comdat;
2835aefb655Srie		Dbg32_sec_in;
2845aefb655Srie		Dbg64_sec_in;
2855aefb655Srie		Dbg32_sec_order_error;
2865aefb655Srie		Dbg64_sec_order_error;
2875aefb655Srie		Dbg32_sec_order_list;
2885aefb655Srie		Dbg64_sec_order_list;
2890e233487SRod Evans		Dbg32_sec_redirected;
2900e233487SRod Evans		Dbg64_sec_redirected;
2915aefb655Srie		Dbg32_sec_strtab;
2925aefb655Srie		Dbg64_sec_strtab;
293cce0e03bSab196087		Dbg32_sec_unsup_strmerge;
294cce0e03bSab196087		Dbg64_sec_unsup_strmerge;
2955aefb655Srie
2965aefb655Srie		Dbg32_seg_entry;
2975aefb655Srie		Dbg64_seg_entry;
2985aefb655Srie		Dbg32_seg_list;
2995aefb655Srie		Dbg64_seg_list;
3005aefb655Srie		Dbg32_seg_os;
3015aefb655Srie		Dbg64_seg_os;
3025aefb655Srie		Dbg32_seg_title;
3035aefb655Srie		Dbg64_seg_title;
3045aefb655Srie
3057010c12aSrie		Dbg32_shdr_modified;
3067010c12aSrie		Dbg64_shdr_modified;
3077010c12aSrie
3085aefb655Srie		Dbg32_statistics_ar;
3095aefb655Srie		Dbg64_statistics_ar;
3105aefb655Srie		Dbg32_statistics_ld;
3115aefb655Srie		Dbg64_statistics_ld;
3125aefb655Srie
3135aefb655Srie		Dbg32_support_action;
3145aefb655Srie		Dbg64_support_action;
3155aefb655Srie		Dbg32_support_load;
3165aefb655Srie		Dbg64_support_load;
3175aefb655Srie		Dbg32_support_req;
3185aefb655Srie		Dbg64_support_req;
319*d2d5cf7cSAli Bahrami		Dbg32_support_vnone;
320*d2d5cf7cSAli Bahrami		Dbg64_support_vnone;
3215aefb655Srie
3225aefb655Srie		Dbg32_syminfo_entry;
3235aefb655Srie		Dbg64_syminfo_entry;
3245aefb655Srie		Dbg32_syminfo_title;
3255aefb655Srie		Dbg64_syminfo_title;
3265aefb655Srie
3275aefb655Srie		Dbg32_syms_ar_checking;
3285aefb655Srie		Dbg64_syms_ar_checking;
3295aefb655Srie		Dbg32_syms_ar_entry;
3305aefb655Srie		Dbg64_syms_ar_entry;
3315aefb655Srie		Dbg32_syms_ar_resolve;
3325aefb655Srie		Dbg64_syms_ar_resolve;
3335aefb655Srie		Dbg32_syms_ar_title;
3345aefb655Srie		Dbg64_syms_ar_title;
3355aefb655Srie		Dbg32_syms_created;
3365aefb655Srie		Dbg64_syms_created;
3375aefb655Srie		Dbg32_syms_discarded;
3385aefb655Srie		Dbg64_syms_discarded;
33924b9abbaSab196087		Dbg32_syms_dup_discarded;
34024b9abbaSab196087		Dbg64_syms_dup_discarded;
3415aefb655Srie		Dbg32_syms_dlsym;
3425aefb655Srie		Dbg64_syms_dlsym;
343d579eb63Sab196087		Dbg32_syms_dup_sort_addr;
344d579eb63Sab196087		Dbg64_syms_dup_sort_addr;
3455aefb655Srie		Dbg32_syms_entered;
3465aefb655Srie		Dbg64_syms_entered;
3475aefb655Srie		Dbg32_syms_entry;
3485aefb655Srie		Dbg64_syms_entry;
3495aefb655Srie		Dbg32_syms_global;
3505aefb655Srie		Dbg64_syms_global;
3515aefb655Srie		Dbg32_syms_ignore;
3525aefb655Srie		Dbg64_syms_ignore;
353d840867fSab196087		Dbg32_syms_ignore_gnuver;
354d840867fSab196087		Dbg64_syms_ignore_gnuver;
3555aefb655Srie		Dbg32_syms_lazy_rescan;
3565aefb655Srie		Dbg64_syms_lazy_rescan;
3575aefb655Srie		Dbg32_syms_lookup;
3585aefb655Srie		Dbg64_syms_lookup;
3595aefb655Srie		Dbg32_syms_lookup_aout;
3605aefb655Srie		Dbg32_syms_new;
3615aefb655Srie		Dbg64_syms_new;
3625aefb655Srie		Dbg32_syms_old;
3635aefb655Srie		Dbg64_syms_old;
3645aefb655Srie		Dbg32_syms_process;
3655aefb655Srie		Dbg64_syms_process;
3665aefb655Srie		Dbg32_syms_reduce;
3675aefb655Srie		Dbg64_syms_reduce;
3685aefb655Srie		Dbg32_syms_reloc;
3695aefb655Srie		Dbg64_syms_reloc;
3705aefb655Srie		Dbg32_syms_resolved;
3715aefb655Srie		Dbg64_syms_resolved;
3725aefb655Srie		Dbg32_syms_resolving;
3735aefb655Srie		Dbg64_syms_resolving;
3745aefb655Srie		Dbg32_syms_sec_entry;
3755aefb655Srie		Dbg64_syms_sec_entry;
3765aefb655Srie		Dbg32_syms_sec_title;
3775aefb655Srie		Dbg64_syms_sec_title;
3785aefb655Srie		Dbg32_syms_spec_title;
3795aefb655Srie		Dbg64_syms_spec_title;
3805aefb655Srie		Dbg32_syms_updated;
3815aefb655Srie		Dbg64_syms_updated;
3825aefb655Srie		Dbg32_syms_up_title;
3835aefb655Srie		Dbg64_syms_up_title;
3845aefb655Srie
3857c478bd9Sstevel@tonic-gate		Dbg_tls_modactivity;
3867c478bd9Sstevel@tonic-gate		Dbg_tls_static_block;
387d326b23bSrie		Dbg_tls_static_resv;
3885aefb655Srie
3895aefb655Srie		Dbg32_util_broadcast;
3905aefb655Srie		Dbg64_util_broadcast;
3915aefb655Srie		Dbg32_util_call_array;
3925aefb655Srie		Dbg64_util_call_array;
3935aefb655Srie		Dbg32_util_call_fini;
3945aefb655Srie		Dbg64_util_call_fini;
3955aefb655Srie		Dbg32_util_call_init;
3965aefb655Srie		Dbg64_util_call_init;
3975aefb655Srie		Dbg32_util_call_main;
3985aefb655Srie		Dbg64_util_call_main;
3995aefb655Srie		Dbg32_util_collect;
4005aefb655Srie		Dbg64_util_collect;
4015aefb655Srie		Dbg32_util_dbnotify;
4025aefb655Srie		Dbg64_util_dbnotify;
4035aefb655Srie		Dbg32_util_edge_in;
4045aefb655Srie		Dbg64_util_edge_in;
4055aefb655Srie		Dbg32_util_edge_out;
4065aefb655Srie		Dbg64_util_edge_out;
40710a4fa49Srie		Dbg32_util_lcinterface;
40810a4fa49Srie		Dbg64_util_lcinterface;
4095aefb655Srie		Dbg32_util_intoolate;
4105aefb655Srie		Dbg64_util_intoolate;
4115aefb655Srie		Dbg32_util_nl;
4125aefb655Srie		Dbg64_util_nl;
4135aefb655Srie		Dbg32_util_no_init;
4145aefb655Srie		Dbg64_util_no_init;
4155aefb655Srie		Dbg32_util_scc_entry;
4165aefb655Srie		Dbg64_util_scc_entry;
4175aefb655Srie		Dbg32_util_scc_title;
4185aefb655Srie		Dbg64_util_scc_title;
4195aefb655Srie		Dbg32_util_str;
4205aefb655Srie		Dbg64_util_str;
4215aefb655Srie		Dbg32_util_wait;
4225aefb655Srie		Dbg64_util_wait;
4235aefb655Srie
4245aefb655Srie		Dbg32_unused_file;
4255aefb655Srie		Dbg64_unused_file;
42610a4fa49Srie		Dbg32_unused_lcinterface;
42710a4fa49Srie		Dbg64_unused_lcinterface;
4289aa23310Srie		Dbg32_unused_path;
4299aa23310Srie		Dbg64_unused_path;
4305aefb655Srie		Dbg32_unused_sec;
4315aefb655Srie		Dbg64_unused_sec;
4325aefb655Srie		Dbg32_unused_unref;
4335aefb655Srie		Dbg64_unused_unref;
4345aefb655Srie
4355aefb655Srie		Dbg32_ver_avail_entry;
4365aefb655Srie		Dbg64_ver_avail_entry;
4375aefb655Srie		Dbg32_ver_avail_title;
4385aefb655Srie		Dbg64_ver_avail_title;
4395aefb655Srie		Dbg32_ver_def_title;
4405aefb655Srie		Dbg64_ver_def_title;
4415aefb655Srie		Dbg32_ver_desc_entry;
4425aefb655Srie		Dbg64_ver_desc_entry;
4435aefb655Srie		Dbg32_ver_need_entry;
4445aefb655Srie		Dbg64_ver_need_entry;
4455aefb655Srie		Dbg32_ver_need_title;
4465aefb655Srie		Dbg64_ver_need_title;
4475aefb655Srie		Dbg32_ver_nointerface;
4485aefb655Srie		Dbg64_ver_nointerface;
4495aefb655Srie		Dbg32_ver_symbol;
4505aefb655Srie		Dbg64_ver_symbol;
4515aefb655Srie
452d840867fSab196087} SUNWprivate_3.23;
4537c478bd9Sstevel@tonic-gate
4547c478bd9Sstevel@tonic-gate
4557c478bd9Sstevel@tonic-gate# The following interfaces are used by various parts of the link-editors and
456d579eb63Sab196087# elfdump(1).  The link-editors are always packaged together but there
4577c478bd9Sstevel@tonic-gate# seems to be a variety of old elfdump's lying around.  elfdump only uses
4587c478bd9Sstevel@tonic-gate# this interface, and thus by separating in from the ever changing Dbg_*
45933eb6ee1Sab196087# interfaces we can provide a stable versioning environment for this utility.
4607c478bd9Sstevel@tonic-gate
461d840867fSab196087SUNWprivate_3.23 {
4627c478bd9Sstevel@tonic-gate	global:
4635aefb655Srie		Elf_syminfo_entry;
4645aefb655Srie		Elf_syminfo_title;
4655aefb655Srie
4665aefb655Srie		Elf32_cap_entry;
4675aefb655Srie		Elf64_cap_entry;
4685aefb655Srie		Elf32_cap_title;
4695aefb655Srie		Elf64_cap_title;
4705aefb655Srie
4715aefb655Srie		Elf32_demangle_name;
4725aefb655Srie		Elf64_demangle_name;
4735aefb655Srie		Elf32_dyn_entry;
4745aefb655Srie		Elf64_dyn_entry;
4753244bcaaSab196087		Elf32_dyn_null_entry;
4763244bcaaSab196087		Elf64_dyn_null_entry;
4775aefb655Srie		Elf32_dyn_title;
4785aefb655Srie		Elf64_dyn_title;
4795aefb655Srie
4805aefb655Srie		Elf32_ehdr;
4815aefb655Srie		Elf64_ehdr;
4825aefb655Srie
4835aefb655Srie		Elf32_got_entry;
4845aefb655Srie		Elf64_got_entry;
4855aefb655Srie		Elf32_got_title;
4865aefb655Srie		Elf64_got_title;
4875aefb655Srie
4885aefb655Srie		Elf32_phdr;
4895aefb655Srie		Elf64_phdr;
4905aefb655Srie
4915aefb655Srie		Elf32_reloc_apply_reg;
4925aefb655Srie		Elf64_reloc_apply_reg;
4935aefb655Srie		Elf32_reloc_apply_val;
4945aefb655Srie		Elf64_reloc_apply_val;
4955aefb655Srie		Elf32_reloc_entry_1;
4965aefb655Srie		Elf64_reloc_entry_1;
4975aefb655Srie		Elf32_reloc_entry_2;
4985aefb655Srie		Elf64_reloc_entry_2;
4995aefb655Srie		Elf32_reloc_title;
5005aefb655Srie		Elf64_reloc_title;
5015aefb655Srie
5025aefb655Srie		Elf32_shdr;
5035aefb655Srie		Elf64_shdr;
5045aefb655Srie
5055aefb655Srie		Elf32_syms_table_title;
5065aefb655Srie		Elf64_syms_table_title;
5075aefb655Srie		Elf32_syms_table_entry;
5085aefb655Srie		Elf64_syms_table_entry;
5095aefb655Srie
5105aefb655Srie		Elf32_ver_def_title;
5115aefb655Srie		Elf64_ver_def_title;
5125aefb655Srie		Elf32_ver_line_1;
5135aefb655Srie		Elf64_ver_line_1;
5145aefb655Srie		Elf32_ver_line_2;
5155aefb655Srie		Elf64_ver_line_2;
5165aefb655Srie		Elf32_ver_line_3;
5175aefb655Srie		Elf64_ver_line_3;
5185aefb655Srie		Elf32_ver_line_4;
5195aefb655Srie		Elf64_ver_line_4;
5205aefb655Srie		Elf32_ver_line_5;
5215aefb655Srie		Elf64_ver_line_5;
5225aefb655Srie		Elf32_ver_need_title;
5235aefb655Srie		Elf64_ver_need_title;
5247c478bd9Sstevel@tonic-gate
5257c478bd9Sstevel@tonic-gate	local:
5267c478bd9Sstevel@tonic-gate		*;
5277c478bd9Sstevel@tonic-gate};
5287c478bd9Sstevel@tonic-gate
5297c478bd9Sstevel@tonic-gate# The following functions must be provided by our caller, or one of the callers
5307c478bd9Sstevel@tonic-gate# dependencies.  When used with ld.so.1 all functions are provided from ld.so.1,
5317c478bd9Sstevel@tonic-gate# but when used with ld, many of the functions fall back to libc.  Presently we
5327c478bd9Sstevel@tonic-gate# don't build liblddbg with a libc dependency simply to avoid having to load it
5337c478bd9Sstevel@tonic-gate# with ld.so.1 which already offers the required interfaces (from libc_pic.a).
5347c478bd9Sstevel@tonic-gate# Distinguishing between `parent' and `extern' symbols offers a small
5357c478bd9Sstevel@tonic-gate# performance advantage with direct bindings, but this is mainly a test of what
5367c478bd9Sstevel@tonic-gate# we're capable of doing, rather than an admission that its really worth it :-).
5377c478bd9Sstevel@tonic-gate
5387c478bd9Sstevel@tonic-gate{
5397c478bd9Sstevel@tonic-gate		_close =	FUNCTION extern;
5407c478bd9Sstevel@tonic-gate		_open =		FUNCTION extern;
5417c478bd9Sstevel@tonic-gate		_write =	FUNCTION extern;
5427257d1b4Sraf		dgettext =	FUNCTION extern;
5437c478bd9Sstevel@tonic-gate		dlopen =	FUNCTION extern;
5447c478bd9Sstevel@tonic-gate		dlsym =		FUNCTION extern;
5455aefb655Srie		free =		FUNCTION parent;
5465aefb655Srie		malloc =	FUNCTION parent;
5477c478bd9Sstevel@tonic-gate		memcpy =	FUNCTION extern;
5487c478bd9Sstevel@tonic-gate		qsort =		FUNCTION extern;
5497c478bd9Sstevel@tonic-gate		snprintf =	FUNCTION extern;
5507c478bd9Sstevel@tonic-gate		sprintf =	FUNCTION extern;
5517c478bd9Sstevel@tonic-gate		strcat =	FUNCTION extern;
5527c478bd9Sstevel@tonic-gate		strcmp =	FUNCTION extern;
5537c478bd9Sstevel@tonic-gate		strcpy =	FUNCTION extern;
5547c478bd9Sstevel@tonic-gate		strlen =	FUNCTION extern;
5557c478bd9Sstevel@tonic-gate		strrchr =	FUNCTION extern;
5567c478bd9Sstevel@tonic-gate		strtok_r =	FUNCTION extern;
5577c478bd9Sstevel@tonic-gate};
558