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