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