xref: /netbsd-src/external/gpl3/binutils/dist/libctf/libctf.ver (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
1/* Copyright (C) 2019-2024 Free Software Foundation, Inc.
2
3   This file is part of libctf.
4
5   libctf is free software; you can redistribute it and/or modify it under
6   the terms of the GNU General Public License as published by the Free
7   Software Foundation; either version 3, or (at your option) any later
8   version.
9
10   This program is distributed in the hope that it will be useful, but
11   WITHOUT ANY WARRANTY; without even the implied warranty of
12   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13   See the GNU General Public License for more details.
14
15   You should have received a copy of the GNU General Public License
16   along with this program; see the file COPYING.  If not see
17   <http://www.gnu.org/licenses/>.  */
18
19LIBCTF_1.0 {
20    global:
21	/* In libctf and libctf-nobfd.  */
22
23	ctf_bufopen;
24	ctf_simple_open;
25	ctf_create;
26	ctf_close;
27	ctf_ref;
28	ctf_file_close;
29
30	ctf_cuname;
31	ctf_cuname_set;
32	ctf_parent_file;
33	ctf_parent_name;
34	ctf_parent_name_set;
35	ctf_type_isparent;
36	ctf_type_ischild;
37
38	ctf_import;
39	ctf_setmodel;
40	ctf_getmodel;
41
42	ctf_setspecific;
43	ctf_getspecific;
44
45	ctf_errno;
46	ctf_errmsg;
47	ctf_version;
48
49	ctf_func_info;
50	ctf_func_args;
51	ctf_func_type_info;
52	ctf_func_type_args;
53
54	ctf_lookup_by_name;
55	ctf_lookup_by_symbol;
56	ctf_lookup_variable;
57
58	ctf_type_resolve;
59	ctf_type_lname;
60	ctf_type_name;
61	ctf_type_name_raw;
62	ctf_type_aname;
63	ctf_type_aname_raw;
64	ctf_type_size;
65	ctf_type_align;
66	ctf_type_kind;
67	ctf_type_kind_forwarded;
68	ctf_type_reference;
69	ctf_type_pointer;
70	ctf_type_encoding;
71	ctf_type_visit;
72	ctf_type_cmp;
73	ctf_type_compat;
74
75	ctf_member_info;
76	ctf_member_next;
77	ctf_array_info;
78	ctf_member_count;
79
80	ctf_enum_name;
81	ctf_enum_value;
82
83	ctf_label_set;
84	ctf_label_get;
85
86	ctf_label_topmost;
87	ctf_label_info;
88
89	ctf_member_iter;
90	ctf_enum_iter;
91	ctf_enum_next;
92	ctf_type_iter;
93	ctf_type_next;
94	ctf_type_iter_all;
95	ctf_label_iter;
96	ctf_variable_iter;
97	ctf_variable_next;
98
99	ctf_next_create;
100	ctf_next_destroy;
101	ctf_next_copy;
102
103	ctf_add_array;
104	ctf_add_const;
105	ctf_add_enum;
106	ctf_add_enum_encoded;
107	ctf_add_float;
108	ctf_add_forward;
109	ctf_add_function;
110	ctf_add_integer;
111	ctf_add_pointer;
112	ctf_add_type;
113	ctf_add_typedef;
114	ctf_add_restrict;
115	ctf_add_slice;
116	ctf_add_struct;
117	ctf_add_union;
118	ctf_add_struct_sized;
119	ctf_add_union_sized;
120	ctf_add_volatile;
121
122	ctf_add_enumerator;
123	ctf_add_member;
124	ctf_add_member_offset;
125	ctf_add_member_encoded;
126	ctf_add_variable;
127
128	ctf_set_array;
129
130	ctf_update;
131	ctf_discard;
132	ctf_snapshot;
133	ctf_rollback;
134	ctf_write;
135	ctf_write_mem;
136	ctf_gzwrite;
137	ctf_compress_write;
138	ctf_getdatasect;
139
140	ctf_arc_write;
141	ctf_arc_write_fd;
142	ctf_arc_open;
143	ctf_arc_bufopen;
144	ctf_arc_close;
145	ctf_arc_open_by_name;
146	ctf_arc_open_by_name_sections;
147	ctf_archive_count;
148	ctf_archive_iter;
149	ctf_archive_next;
150	ctf_archive_raw_iter;
151	ctf_get_arc;
152
153	ctf_dump;
154
155	ctf_setdebug;
156	ctf_getdebug;
157	ctf_errwarning_next;
158
159	ctf_link_add_ctf;
160	ctf_link_add_cu_mapping;
161	ctf_link_set_memb_name_changer;
162	ctf_link_set_variable_filter;
163	ctf_link;
164	ctf_link_add_strtab;
165	ctf_link_shuffle_syms;
166	ctf_link_write;
167
168	ctf_fdopen;                             /* libctf only.  */
169	ctf_open;                               /* libctf only.  */
170	ctf_bfdopen;                            /* libctf only.  */
171	ctf_bfdopen_ctfsect;                    /* libctf only.  */
172    local:
173	*;
174};
175
176LIBCTF_1.1 {
177    global:
178	ctf_dict_open;
179	ctf_dict_open_sections;
180	ctf_dict_close;
181	ctf_parent_dict;
182
183	ctf_symbol_next;
184	ctf_add_objt_sym;
185	ctf_add_func_sym;
186
187	ctf_link_add_linker_symbol;
188
189	ctf_arc_lookup_symbol;
190	ctf_arc_flush_caches;
191
192	ctf_getsymsect;
193	ctf_getstrsect;
194	ctf_symsect_endianness;
195	ctf_arc_symsect_endianness;
196} LIBCTF_1.0;
197
198LIBCTF_1.2 {
199    global:
200	ctf_lookup_by_symbol_name;
201	ctf_arc_lookup_symbol_name;
202	ctf_add_unknown;
203} LIBCTF_1.1;
204