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