xref: /illumos-gate/usr/src/cmd/sgs/libelf/common/mapfile-vers (revision 856f710c9dc323b39da5935194d7928ffb99b67f)
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# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23#
24
25#
26# MAPFILE HEADER START
27#
28# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29# Object versioning must comply with the rules detailed in
30#
31#	usr/src/lib/README.mapfiles
32#
33# You should not be making modifications here until you've read the most current
34# copy of that file. If you need help, contact a gatekeeper for guidance.
35#
36# MAPFILE HEADER END
37#
38
39$mapfile_version 2
40
41SYMBOL_VERSION SUNW_1.7 {
42    global:
43	elf_getphdrnum;
44	elf_getshdrnum;
45	elf_getshdrstrndx;
46} SUNW_1.6;
47
48SYMBOL_VERSION SUNW_1.6 {
49    global:
50	elf_getphnum;
51} SUNW_1.5;
52
53SYMBOL_VERSION SUNW_1.5 {
54    global:
55	gelf_getcap;
56	gelf_update_cap;
57} SUNW_1.4;
58
59SYMBOL_VERSION SUNW_1.4 {
60    global:
61	elf_getshnum;
62	elf_getshstrndx;
63	gelf_getsymshndx;
64	gelf_update_symshndx;
65} SUNW_1.3;
66
67SYMBOL_VERSION SUNW_1.3 {
68    global:
69	elf32_checksum;
70	elf64_checksum;
71	gelf_checksum;
72} SUNW_1.2;
73
74SYMBOL_VERSION SUNW_1.2 {
75    global:
76	elf64_fsize;
77	elf64_getehdr;
78	elf64_getphdr;
79	elf64_getshdr;
80	elf64_newehdr;
81	elf64_newphdr;
82	elf64_xlatetof;
83	elf64_xlatetom;
84	gelf_getclass;
85	gelf_fsize;
86	gelf_getehdr;
87	gelf_update_ehdr;
88	gelf_newehdr;
89	gelf_getphdr;
90	gelf_update_phdr;
91	gelf_newphdr;
92	gelf_getshdr;
93	gelf_update_shdr;
94	gelf_xlatetof;
95	gelf_xlatetom;
96	gelf_getsym;
97	gelf_update_sym;
98	gelf_getsyminfo;
99	gelf_getmove;
100	gelf_update_move;
101	gelf_update_syminfo;
102	gelf_getdyn;
103	gelf_update_dyn;
104	gelf_getrela;
105	gelf_update_rela;
106	gelf_getrel;
107	gelf_update_rel;
108} SUNW_1.1;
109
110SYMBOL_VERSION SUNW_1.1 {
111    global:
112	SUNW_1.1;
113} SUNW_0.7;
114
115SYMBOL_VERSION SUNW_0.7 {
116    global:
117	elf_begin;
118	elf_end;
119	elf_memory;
120	elf_next;
121	elf_rand;
122	elf_cntl;
123	elf_errmsg;
124	elf_errno;
125	elf_fill;
126	elf_flagdata;
127	elf_flagehdr;
128	elf_flagelf;
129	elf_flagphdr;
130	elf_flagscn;
131	elf_flagshdr;
132	elf_getarhdr;
133	elf_getarsym;
134	elf_getbase;
135	elf_getdata;
136	elf_newdata;
137	elf_rawdata;
138	elf_getident;
139	elf_getscn;
140	elf_ndxscn;
141	elf_newscn;
142	elf_nextscn;
143	elf_hash;
144	elf_kind;
145	elf_rawfile;
146	elf_strptr;
147	elf_update;
148	elf_version;
149	nlist;
150	elf32_fsize;
151	elf32_getphdr;
152	elf32_newphdr;
153	elf32_getshdr;
154	elf32_getehdr;
155	elf32_newehdr;
156	elf32_xlatetof;
157	elf32_xlatetom;
158    local:
159	*;
160};
161
162SYMBOL_VERSION SUNWprivate_1.1 {
163    global:
164	_elf_execfill;
165	_elf_getarhdrbase;
166	_elf_getarsymwordsize;
167	_elf_getnextoff;
168	_elf_getxoff;
169	_elf_outsync;
170	_elf_sys_encoding;
171	_elf_swap_wrimage;
172	_gelf_getdyndtflags_1;
173
174$if _ELF32
175	elf_demangle;
176$endif
177};
178