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