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