xref: /illumos-gate/usr/src/cmd/sgs/liblddbg/common/mapfile-vers (revision 02ca3e029e37aa98ac6717698bfdac6afe960932)
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#
23d579eb63Sab196087# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24fb1354edSrie# Use is subject to license terms.
25fb1354edSrie#
26fb1354edSrie# ident	"%Z%%M%	%I%	%E% SMI"
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*02ca3e02SrieSUNWprivate_4.58 {
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;
477c478bd9Sstevel@tonic-gate		Dbg_args_flags;
487c478bd9Sstevel@tonic-gate		Dbg_audit_interface;
497c478bd9Sstevel@tonic-gate		Dbg_audit_lib;
507c478bd9Sstevel@tonic-gate		Dbg_audit_object;
517c478bd9Sstevel@tonic-gate		Dbg_audit_symval;
52c75e1b9dSrie		Dbg_audit_skip;
537c478bd9Sstevel@tonic-gate		Dbg_audit_version;
545aefb655Srie
557c478bd9Sstevel@tonic-gate		Dbg_setup;
565aefb655Srie
575aefb655Srie		Dbg32_bind_global;
585aefb655Srie		Dbg64_bind_global;
595aefb655Srie		Dbg32_bind_plt_summary;
605aefb655Srie		Dbg64_bind_plt_summary;
615aefb655Srie		Dbg64_bind_pltpad_from;
625aefb655Srie		Dbg64_bind_pltpad_to;
635aefb655Srie		Dbg32_bind_weak;
645aefb655Srie		Dbg64_bind_weak;
655aefb655Srie
665aefb655Srie		Dbg32_cap_hw_candidate;
675aefb655Srie		Dbg64_cap_hw_candidate;
685aefb655Srie		Dbg32_cap_hw_filter;
695aefb655Srie		Dbg64_cap_hw_filter;
705aefb655Srie		Dbg32_cap_mapfile;
715aefb655Srie		Dbg64_cap_mapfile;
725aefb655Srie		Dbg32_cap_sec_entry;
735aefb655Srie		Dbg64_cap_sec_entry;
745aefb655Srie		Dbg32_cap_sec_title;
755aefb655Srie		Dbg64_cap_sec_title;
765aefb655Srie		Dbg32_cap_val_hw1;
775aefb655Srie		Dbg64_cap_val_hw1;
785aefb655Srie
795aefb655Srie		Dbg32_demangle_name;
805aefb655Srie		Dbg64_demangle_name;
815aefb655Srie
825aefb655Srie		Dbg32_ent_print;
835aefb655Srie		Dbg64_ent_print;
845aefb655Srie
855aefb655Srie		Dbg32_file_analyze;
865aefb655Srie		Dbg64_file_analyze;
875aefb655Srie		Dbg32_file_aout;
885aefb655Srie		Dbg64_file_aout;
895aefb655Srie		Dbg32_file_ar;
905aefb655Srie		Dbg64_file_ar;
915aefb655Srie		Dbg32_file_ar_rescan;
925aefb655Srie		Dbg64_file_ar_rescan;
935aefb655Srie		Dbg32_file_bind_entry;
945aefb655Srie		Dbg64_file_bind_entry;
955aefb655Srie		Dbg32_file_bindings;
965aefb655Srie		Dbg64_file_bindings;
975aefb655Srie		Dbg32_file_cntl;
985aefb655Srie		Dbg64_file_cntl;
995aefb655Srie		Dbg32_file_config_dis;
1005aefb655Srie		Dbg64_file_config_dis;
1015aefb655Srie		Dbg32_file_config_obj;
1025aefb655Srie		Dbg64_file_config_obj;
1035aefb655Srie		Dbg32_file_del_rescan;
1045aefb655Srie		Dbg64_file_del_rescan;
1055aefb655Srie		Dbg32_file_delete;
1065aefb655Srie		Dbg64_file_delete;
1075aefb655Srie		Dbg32_file_dlclose;
1085aefb655Srie		Dbg64_file_dlclose;
1095aefb655Srie		Dbg32_file_dldump;
1105aefb655Srie		Dbg64_file_dldump;
1115aefb655Srie		Dbg32_file_dlopen;
1125aefb655Srie		Dbg64_file_dlopen;
1135aefb655Srie		Dbg32_file_elf;
1145aefb655Srie		Dbg64_file_elf;
115*02ca3e02Srie		Dbg32_file_cleanup;
116*02ca3e02Srie		Dbg64_file_cleanup;
1175aefb655Srie		Dbg32_file_filtee;
1185aefb655Srie		Dbg64_file_filtee;
1195aefb655Srie		Dbg32_file_filter;
1205aefb655Srie		Dbg64_file_filter;
1215aefb655Srie		Dbg32_file_fixname;
1225aefb655Srie		Dbg64_file_fixname;
1235aefb655Srie		Dbg32_file_generic;
1245aefb655Srie		Dbg64_file_generic;
1255aefb655Srie		Dbg32_file_hdl_action;
1265aefb655Srie		Dbg64_file_hdl_action;
1275aefb655Srie		Dbg32_file_hdl_collect;
1285aefb655Srie		Dbg64_file_hdl_collect;
1295aefb655Srie		Dbg32_file_hdl_title;
1305aefb655Srie		Dbg64_file_hdl_title;
1315aefb655Srie		Dbg32_file_lazyload;
1325aefb655Srie		Dbg64_file_lazyload;
1335aefb655Srie		Dbg32_file_ldso;
1345aefb655Srie		Dbg64_file_ldso;
1355aefb655Srie		Dbg32_file_mode_promote;
1365aefb655Srie		Dbg64_file_mode_promote;
1373906e0c2Srie		Dbg32_file_modified;
1383906e0c2Srie		Dbg64_file_modified;
1395aefb655Srie		Dbg32_file_needed;
1405aefb655Srie		Dbg64_file_needed;
1415aefb655Srie		Dbg32_file_output;
1425aefb655Srie		Dbg64_file_output;
1435aefb655Srie		Dbg32_file_preload;
1445aefb655Srie		Dbg64_file_preload;
1455aefb655Srie		Dbg32_file_prot;
1465aefb655Srie		Dbg64_file_prot;
1475aefb655Srie		Dbg32_file_rejected;
1485aefb655Srie		Dbg64_file_rejected;
1495aefb655Srie		Dbg32_file_reuse;
1505aefb655Srie		Dbg64_file_reuse;
1515aefb655Srie		Dbg32_file_skip;
1525aefb655Srie		Dbg64_file_skip;
1535aefb655Srie
1545aefb655Srie		Dbg32_got_display;
1555aefb655Srie		Dbg64_got_display;
1565aefb655Srie
1575aefb655Srie		Dbg32_libs_audit;
1585aefb655Srie		Dbg64_libs_audit;
1595aefb655Srie		Dbg32_libs_find;
1605aefb655Srie		Dbg64_libs_find;
1615aefb655Srie		Dbg32_libs_found;
1625aefb655Srie		Dbg64_libs_found;
1635aefb655Srie		Dbg32_libs_ignore;
1645aefb655Srie		Dbg64_libs_ignore;
1655aefb655Srie		Dbg32_libs_init;
1665aefb655Srie		Dbg64_libs_init;
1675aefb655Srie		Dbg32_libs_l;
1685aefb655Srie		Dbg64_libs_l;
1695aefb655Srie		Dbg32_libs_path;
1705aefb655Srie		Dbg64_libs_path;
1715aefb655Srie		Dbg32_libs_req;
1725aefb655Srie		Dbg64_libs_req;
1735aefb655Srie		Dbg32_libs_update;
1745aefb655Srie		Dbg64_libs_update;
1755aefb655Srie		Dbg32_libs_yp;
1765aefb655Srie		Dbg64_libs_yp;
1775aefb655Srie		Dbg32_libs_ylu;
1785aefb655Srie		Dbg64_libs_ylu;
1795aefb655Srie
1805aefb655Srie		Dbg32_map_dash;
1815aefb655Srie		Dbg64_map_dash;
1825aefb655Srie		Dbg32_map_ent;
1835aefb655Srie		Dbg64_map_ent;
1845aefb655Srie		Dbg32_map_parse;
1855aefb655Srie		Dbg64_map_parse;
1865aefb655Srie		Dbg32_map_pipe;
1875aefb655Srie		Dbg64_map_pipe;
1885aefb655Srie		Dbg32_map_set_atsign;
1895aefb655Srie		Dbg64_map_set_atsign;
1905aefb655Srie		Dbg32_map_seg;
1915aefb655Srie		Dbg64_map_seg;
1925aefb655Srie		Dbg32_map_set_equal;
1935aefb655Srie		Dbg64_map_set_equal;
1945aefb655Srie		Dbg32_map_size_new;
1955aefb655Srie		Dbg64_map_size_new;
1965aefb655Srie		Dbg32_map_size_old;
1975aefb655Srie		Dbg64_map_size_old;
1985aefb655Srie		Dbg32_map_sort_fini;
1995aefb655Srie		Dbg64_map_sort_fini;
2005aefb655Srie		Dbg32_map_sort_orig;
2015aefb655Srie		Dbg64_map_sort_orig;
2025aefb655Srie		Dbg32_map_symbol;
2035aefb655Srie		Dbg64_map_symbol;
2045aefb655Srie		Dbg32_map_version;
2055aefb655Srie		Dbg64_map_version;
2065aefb655Srie
2075aefb655Srie		Dbg32_move_adjexpandreloc;
2085aefb655Srie		Dbg64_move_adjexpandreloc;
2095aefb655Srie		Dbg32_move_adjmovereloc;
2105aefb655Srie		Dbg64_move_adjmovereloc;
2115aefb655Srie		Dbg32_move_data;
2125aefb655Srie		Dbg64_move_data;
2135aefb655Srie		Dbg32_move_entry1;
2145aefb655Srie		Dbg64_move_entry1;
2155aefb655Srie		Dbg32_move_entry2;
2165aefb655Srie		Dbg64_move_entry2;
2175aefb655Srie		Dbg32_move_expand;
2185aefb655Srie		Dbg64_move_expand;
2195aefb655Srie		Dbg32_move_input;
2205aefb655Srie		Dbg64_move_input;
2215aefb655Srie		Dbg32_move_outmove;
2225aefb655Srie		Dbg64_move_outmove;
2235aefb655Srie		Dbg32_move_outsctadj;
2245aefb655Srie		Dbg64_move_outsctadj;
2255aefb655Srie		Dbg32_move_parexpn;
2265aefb655Srie		Dbg64_move_parexpn;
2275aefb655Srie
2285aefb655Srie		Dbg32_reloc_apply_reg;
2295aefb655Srie		Dbg64_reloc_apply_reg;
2305aefb655Srie		Dbg32_reloc_apply_val;
2315aefb655Srie		Dbg64_reloc_apply_val;
2325aefb655Srie		Dbg32_reloc_ars_entry;
2335aefb655Srie		Dbg64_reloc_ars_entry;
2345aefb655Srie		Dbg32_reloc_copy;
2355aefb655Srie		Dbg64_reloc_copy;
2365aefb655Srie		Dbg32_reloc_discard;
2375aefb655Srie		Dbg64_reloc_discard;
2385aefb655Srie		Dbg32_reloc_doact;
2395aefb655Srie		Dbg64_reloc_doact;
2405aefb655Srie		Dbg32_reloc_doact_title;
2415aefb655Srie		Dbg64_reloc_doact_title;
2425aefb655Srie		Dbg32_reloc_dooutrel;
2435aefb655Srie		Dbg64_reloc_dooutrel;
2445aefb655Srie		Dbg32_reloc_entry;
2455aefb655Srie		Dbg64_reloc_entry;
2465aefb655Srie		Dbg32_reloc_error;
2475aefb655Srie		Dbg64_reloc_error;
2485aefb655Srie		Dbg32_reloc_generate;
2495aefb655Srie		Dbg64_reloc_generate;
2505aefb655Srie		Dbg32_reloc_in;
2515aefb655Srie		Dbg64_reloc_in;
2525aefb655Srie		Dbg32_reloc_ors_entry;
2535aefb655Srie		Dbg64_reloc_ors_entry;
2545aefb655Srie		Dbg32_reloc_out;
2555aefb655Srie		Dbg64_reloc_out;
2565aefb655Srie		Dbg32_reloc_proc;
2575aefb655Srie		Dbg64_reloc_proc;
2585aefb655Srie		Dbg32_reloc_run;
2595aefb655Srie		Dbg64_reloc_run;
260d2ef9fe9Sab196087		Dbg32_reloc_sloppycomdat;
261d2ef9fe9Sab196087		Dbg64_reloc_sloppycomdat;
2625aefb655Srie		Dbg32_reloc_transition;
2635aefb655Srie		Dbg64_reloc_transition;
2645aefb655Srie
2655aefb655Srie		Dbg32_sec_added;
2665aefb655Srie		Dbg64_sec_added;
2675aefb655Srie		Dbg32_sec_created;
2685aefb655Srie		Dbg64_sec_created;
2695aefb655Srie		Dbg32_sec_discarded;
2705aefb655Srie		Dbg64_sec_discarded;
2715aefb655Srie		Dbg32_sec_group;
2725aefb655Srie		Dbg64_sec_group;
2735aefb655Srie		Dbg32_sec_in;
2745aefb655Srie		Dbg64_sec_in;
2755aefb655Srie		Dbg32_sec_order_error;
2765aefb655Srie		Dbg64_sec_order_error;
2775aefb655Srie		Dbg32_sec_order_list;
2785aefb655Srie		Dbg64_sec_order_list;
2795aefb655Srie		Dbg32_sec_strtab;
2805aefb655Srie		Dbg64_sec_strtab;
2815aefb655Srie
2825aefb655Srie		Dbg32_seg_entry;
2835aefb655Srie		Dbg64_seg_entry;
2845aefb655Srie		Dbg32_seg_list;
2855aefb655Srie		Dbg64_seg_list;
2865aefb655Srie		Dbg32_seg_os;
2875aefb655Srie		Dbg64_seg_os;
2885aefb655Srie		Dbg32_seg_title;
2895aefb655Srie		Dbg64_seg_title;
2905aefb655Srie
2917010c12aSrie		Dbg32_shdr_modified;
2927010c12aSrie		Dbg64_shdr_modified;
2937010c12aSrie
2945aefb655Srie		Dbg32_statistics_ar;
2955aefb655Srie		Dbg64_statistics_ar;
2965aefb655Srie		Dbg32_statistics_ld;
2975aefb655Srie		Dbg64_statistics_ld;
2985aefb655Srie
2995aefb655Srie		Dbg32_support_action;
3005aefb655Srie		Dbg64_support_action;
3015aefb655Srie		Dbg32_support_load;
3025aefb655Srie		Dbg64_support_load;
3035aefb655Srie		Dbg32_support_req;
3045aefb655Srie		Dbg64_support_req;
3055aefb655Srie
3065aefb655Srie		Dbg32_syminfo_entry;
3075aefb655Srie		Dbg64_syminfo_entry;
3085aefb655Srie		Dbg32_syminfo_title;
3095aefb655Srie		Dbg64_syminfo_title;
3105aefb655Srie
3115aefb655Srie		Dbg32_syms_ar_checking;
3125aefb655Srie		Dbg64_syms_ar_checking;
3135aefb655Srie		Dbg32_syms_ar_entry;
3145aefb655Srie		Dbg64_syms_ar_entry;
3155aefb655Srie		Dbg32_syms_ar_resolve;
3165aefb655Srie		Dbg64_syms_ar_resolve;
3175aefb655Srie		Dbg32_syms_ar_title;
3185aefb655Srie		Dbg64_syms_ar_title;
3195aefb655Srie		Dbg32_syms_created;
3205aefb655Srie		Dbg64_syms_created;
3215aefb655Srie		Dbg32_syms_discarded;
3225aefb655Srie		Dbg64_syms_discarded;
3235aefb655Srie		Dbg32_syms_dlsym;
3245aefb655Srie		Dbg64_syms_dlsym;
325d579eb63Sab196087		Dbg32_syms_dup_sort_addr;
326d579eb63Sab196087		Dbg64_syms_dup_sort_addr;
3275aefb655Srie		Dbg32_syms_entered;
3285aefb655Srie		Dbg64_syms_entered;
3295aefb655Srie		Dbg32_syms_entry;
3305aefb655Srie		Dbg64_syms_entry;
3315aefb655Srie		Dbg32_syms_global;
3325aefb655Srie		Dbg64_syms_global;
3335aefb655Srie		Dbg32_syms_ignore;
3345aefb655Srie		Dbg64_syms_ignore;
3355aefb655Srie		Dbg32_syms_lazy_rescan;
3365aefb655Srie		Dbg64_syms_lazy_rescan;
3375aefb655Srie		Dbg32_syms_lookup;
3385aefb655Srie		Dbg64_syms_lookup;
3395aefb655Srie		Dbg32_syms_lookup_aout;
3405aefb655Srie		Dbg32_syms_new;
3415aefb655Srie		Dbg64_syms_new;
3425aefb655Srie		Dbg32_syms_old;
3435aefb655Srie		Dbg64_syms_old;
3445aefb655Srie		Dbg32_syms_process;
3455aefb655Srie		Dbg64_syms_process;
3465aefb655Srie		Dbg32_syms_reduce;
3475aefb655Srie		Dbg64_syms_reduce;
3485aefb655Srie		Dbg32_syms_reloc;
3495aefb655Srie		Dbg64_syms_reloc;
3505aefb655Srie		Dbg32_syms_resolved;
3515aefb655Srie		Dbg64_syms_resolved;
3525aefb655Srie		Dbg32_syms_resolving;
3535aefb655Srie		Dbg64_syms_resolving;
3545aefb655Srie		Dbg32_syms_sec_entry;
3555aefb655Srie		Dbg64_syms_sec_entry;
3565aefb655Srie		Dbg32_syms_sec_title;
3575aefb655Srie		Dbg64_syms_sec_title;
3585aefb655Srie		Dbg32_syms_spec_title;
3595aefb655Srie		Dbg64_syms_spec_title;
3605aefb655Srie		Dbg32_syms_updated;
3615aefb655Srie		Dbg64_syms_updated;
3625aefb655Srie		Dbg32_syms_up_title;
3635aefb655Srie		Dbg64_syms_up_title;
3645aefb655Srie
3657c478bd9Sstevel@tonic-gate		Dbg_tls_modactivity;
3667c478bd9Sstevel@tonic-gate		Dbg_tls_static_block;
367d326b23bSrie		Dbg_tls_static_resv;
3685aefb655Srie
3695aefb655Srie		Dbg32_util_broadcast;
3705aefb655Srie		Dbg64_util_broadcast;
3715aefb655Srie		Dbg32_util_call_array;
3725aefb655Srie		Dbg64_util_call_array;
3735aefb655Srie		Dbg32_util_call_fini;
3745aefb655Srie		Dbg64_util_call_fini;
3755aefb655Srie		Dbg32_util_call_init;
3765aefb655Srie		Dbg64_util_call_init;
3775aefb655Srie		Dbg32_util_call_main;
3785aefb655Srie		Dbg64_util_call_main;
3795aefb655Srie		Dbg32_util_collect;
3805aefb655Srie		Dbg64_util_collect;
3815aefb655Srie		Dbg32_util_dbnotify;
3825aefb655Srie		Dbg64_util_dbnotify;
3835aefb655Srie		Dbg32_util_edge_in;
3845aefb655Srie		Dbg64_util_edge_in;
3855aefb655Srie		Dbg32_util_edge_out;
3865aefb655Srie		Dbg64_util_edge_out;
38710a4fa49Srie		Dbg32_util_lcinterface;
38810a4fa49Srie		Dbg64_util_lcinterface;
3895aefb655Srie		Dbg32_util_intoolate;
3905aefb655Srie		Dbg64_util_intoolate;
3915aefb655Srie		Dbg32_util_nl;
3925aefb655Srie		Dbg64_util_nl;
3935aefb655Srie		Dbg32_util_no_init;
3945aefb655Srie		Dbg64_util_no_init;
3955aefb655Srie		Dbg32_util_scc_entry;
3965aefb655Srie		Dbg64_util_scc_entry;
3975aefb655Srie		Dbg32_util_scc_title;
3985aefb655Srie		Dbg64_util_scc_title;
3995aefb655Srie		Dbg32_util_str;
4005aefb655Srie		Dbg64_util_str;
4015aefb655Srie		Dbg32_util_wait;
4025aefb655Srie		Dbg64_util_wait;
4035aefb655Srie
4045aefb655Srie		Dbg32_unused_file;
4055aefb655Srie		Dbg64_unused_file;
40610a4fa49Srie		Dbg32_unused_lcinterface;
40710a4fa49Srie		Dbg64_unused_lcinterface;
4085aefb655Srie		Dbg32_unused_sec;
4095aefb655Srie		Dbg64_unused_sec;
4105aefb655Srie		Dbg32_unused_unref;
4115aefb655Srie		Dbg64_unused_unref;
4125aefb655Srie
4135aefb655Srie		Dbg32_ver_avail_entry;
4145aefb655Srie		Dbg64_ver_avail_entry;
4155aefb655Srie		Dbg32_ver_avail_title;
4165aefb655Srie		Dbg64_ver_avail_title;
4175aefb655Srie		Dbg32_ver_def_title;
4185aefb655Srie		Dbg64_ver_def_title;
4195aefb655Srie		Dbg32_ver_desc_entry;
4205aefb655Srie		Dbg64_ver_desc_entry;
4215aefb655Srie		Dbg32_ver_need_entry;
4225aefb655Srie		Dbg64_ver_need_entry;
4235aefb655Srie		Dbg32_ver_need_title;
4245aefb655Srie		Dbg64_ver_need_title;
4255aefb655Srie		Dbg32_ver_nointerface;
4265aefb655Srie		Dbg64_ver_nointerface;
4275aefb655Srie		Dbg32_ver_symbol;
4285aefb655Srie		Dbg64_ver_symbol;
4295aefb655Srie
4305aefb655Srie} SUNWprivate_3.20;
4317c478bd9Sstevel@tonic-gate
4327c478bd9Sstevel@tonic-gate
4337c478bd9Sstevel@tonic-gate# The following interfaces are used by various parts of the link-editors and
434d579eb63Sab196087# elfdump(1).  The link-editors are always packaged together but there
4357c478bd9Sstevel@tonic-gate# seems to be a variety of old elfdump's lying around.  elfdump only uses
4367c478bd9Sstevel@tonic-gate# this interface, and thus by separating in from the ever changing Dbg_*
4377c478bd9Sstevel@tonic-gate# interfaces we can provide a stable verioning environment for this utility.
4387c478bd9Sstevel@tonic-gate
4395aefb655SrieSUNWprivate_3.20 {
4407c478bd9Sstevel@tonic-gate	global:
4415aefb655Srie		Elf_syminfo_entry;
4425aefb655Srie		Elf_syminfo_title;
4435aefb655Srie
4445aefb655Srie		Elf32_cap_entry;
4455aefb655Srie		Elf64_cap_entry;
4465aefb655Srie		Elf32_cap_title;
4475aefb655Srie		Elf64_cap_title;
4485aefb655Srie
4495aefb655Srie		Elf32_demangle_name;
4505aefb655Srie		Elf64_demangle_name;
4515aefb655Srie		Elf32_dyn_entry;
4525aefb655Srie		Elf64_dyn_entry;
4535aefb655Srie		Elf32_dyn_title;
4545aefb655Srie		Elf64_dyn_title;
4555aefb655Srie
4565aefb655Srie		Elf32_ehdr;
4575aefb655Srie		Elf64_ehdr;
4585aefb655Srie
4595aefb655Srie		Elf32_got_entry;
4605aefb655Srie		Elf64_got_entry;
4615aefb655Srie		Elf32_got_title;
4625aefb655Srie		Elf64_got_title;
4635aefb655Srie
4645aefb655Srie		Elf32_phdr;
4655aefb655Srie		Elf64_phdr;
4665aefb655Srie
4675aefb655Srie		Elf32_reloc_apply_reg;
4685aefb655Srie		Elf64_reloc_apply_reg;
4695aefb655Srie		Elf32_reloc_apply_val;
4705aefb655Srie		Elf64_reloc_apply_val;
4715aefb655Srie		Elf32_reloc_entry_1;
4725aefb655Srie		Elf64_reloc_entry_1;
4735aefb655Srie		Elf32_reloc_entry_2;
4745aefb655Srie		Elf64_reloc_entry_2;
4755aefb655Srie		Elf32_reloc_title;
4765aefb655Srie		Elf64_reloc_title;
4775aefb655Srie
4785aefb655Srie		Elf32_shdr;
4795aefb655Srie		Elf64_shdr;
4805aefb655Srie
4815aefb655Srie		Elf32_syms_table_title;
4825aefb655Srie		Elf64_syms_table_title;
4835aefb655Srie		Elf32_syms_table_entry;
4845aefb655Srie		Elf64_syms_table_entry;
4855aefb655Srie
4865aefb655Srie		Elf32_ver_def_title;
4875aefb655Srie		Elf64_ver_def_title;
4885aefb655Srie		Elf32_ver_line_1;
4895aefb655Srie		Elf64_ver_line_1;
4905aefb655Srie		Elf32_ver_line_2;
4915aefb655Srie		Elf64_ver_line_2;
4925aefb655Srie		Elf32_ver_line_3;
4935aefb655Srie		Elf64_ver_line_3;
4945aefb655Srie		Elf32_ver_line_4;
4955aefb655Srie		Elf64_ver_line_4;
4965aefb655Srie		Elf32_ver_line_5;
4975aefb655Srie		Elf64_ver_line_5;
4985aefb655Srie		Elf32_ver_need_title;
4995aefb655Srie		Elf64_ver_need_title;
5007c478bd9Sstevel@tonic-gate
5017c478bd9Sstevel@tonic-gate	local:
5027c478bd9Sstevel@tonic-gate		*;
5037c478bd9Sstevel@tonic-gate};
5047c478bd9Sstevel@tonic-gate
5057c478bd9Sstevel@tonic-gate# The following functions must be provided by our caller, or one of the callers
5067c478bd9Sstevel@tonic-gate# dependencies.  When used with ld.so.1 all functions are provided from ld.so.1,
5077c478bd9Sstevel@tonic-gate# but when used with ld, many of the functions fall back to libc.  Presently we
5087c478bd9Sstevel@tonic-gate# don't build liblddbg with a libc dependency simply to avoid having to load it
5097c478bd9Sstevel@tonic-gate# with ld.so.1 which already offers the required interfaces (from libc_pic.a).
5107c478bd9Sstevel@tonic-gate# Distinguishing between `parent' and `extern' symbols offers a small
5117c478bd9Sstevel@tonic-gate# performance advantage with direct bindings, but this is mainly a test of what
5127c478bd9Sstevel@tonic-gate# we're capable of doing, rather than an admission that its really worth it :-).
5137c478bd9Sstevel@tonic-gate
5147c478bd9Sstevel@tonic-gate{
5157c478bd9Sstevel@tonic-gate		_dgettext =	FUNCTION extern;
5167c478bd9Sstevel@tonic-gate		_close =	FUNCTION extern;
5177c478bd9Sstevel@tonic-gate		_open =		FUNCTION extern;
5187c478bd9Sstevel@tonic-gate		_write =	FUNCTION extern;
5197c478bd9Sstevel@tonic-gate		dlopen =	FUNCTION extern;
5207c478bd9Sstevel@tonic-gate		dlsym =		FUNCTION extern;
5215aefb655Srie		free =		FUNCTION parent;
5225aefb655Srie		malloc =	FUNCTION parent;
5237c478bd9Sstevel@tonic-gate		memcpy =	FUNCTION extern;
5247c478bd9Sstevel@tonic-gate		qsort =		FUNCTION extern;
5257c478bd9Sstevel@tonic-gate		snprintf =	FUNCTION extern;
5267c478bd9Sstevel@tonic-gate		sprintf =	FUNCTION extern;
5277c478bd9Sstevel@tonic-gate		strcat =	FUNCTION extern;
5287c478bd9Sstevel@tonic-gate		strcmp =	FUNCTION extern;
5297c478bd9Sstevel@tonic-gate		strcpy =	FUNCTION extern;
5307c478bd9Sstevel@tonic-gate		strlen =	FUNCTION extern;
5317c478bd9Sstevel@tonic-gate		strrchr =	FUNCTION extern;
5327c478bd9Sstevel@tonic-gate		strtok_r =	FUNCTION extern;
5337c478bd9Sstevel@tonic-gate};
534