7dc32b89ce3560e54fc73b1ec8d97f2f4a1d6afa
[deliverable/binutils-gdb.git] / libctf / ChangeLog
1 2019-07-13 Nick Alcock <nick.alcock@oracle.com>
2
3 * ctf-impl.h (ctf_file_t): New field ctf_link_type_mapping.
4 (struct ctf_link_type_mapping_key): New.
5 (ctf_hash_type_mapping_key): Likewise.
6 (ctf_hash_eq_type_mapping_key): Likewise.
7 (ctf_add_type_mapping): Likewise.
8 (ctf_type_mapping): Likewise.
9 (ctf_dynhash_empty): Likewise.
10 * ctf-open.c (ctf_file_close): Update accordingly.
11 * ctf-create.c (ctf_update): Likewise.
12 (ctf_add_type): Populate the mapping.
13 * ctf-hash.c (ctf_hash_type_mapping_key): Hash a type mapping key.
14 (ctf_hash_eq_type_mapping_key): Check the key for equality.
15 (ctf_dynhash_insert): Fix comment typo.
16 (ctf_dynhash_empty): New.
17 * ctf-link.c (ctf_add_type_mapping): New.
18 (ctf_type_mapping): Likewise.
19 (empty_link_type_mapping): New.
20 (ctf_link_one_input_archive): Call it.
21
22 2019-07-13 Nick Alcock <nick.alcock@oracle.com>
23
24 * ctf-link.c: New file, linking of the string and type sections.
25 * Makefile.am (libctf_a_SOURCES): Add it.
26 * Makefile.in: Regenerate.
27
28 * ctf-impl.h (ctf_file_t): New fields ctf_link_inputs,
29 ctf_link_outputs.
30 * ctf-create.c (ctf_update): Update accordingly.
31 * ctf-open.c (ctf_file_close): Likewise.
32 * ctf-error.c (_ctf_errlist): Updated with new errors.
33
34 2019-07-13 Nick Alcock <nick.alcock@oracle.com>
35
36 * ctf-dump.c (ctf_dump_funcs): Check the right error value.
37
38 2019-07-13 Nick Alcock <nick.alcock@oracle.com>
39
40 * ctf-dump.c (ctf_dump): Use ctf_type_iter_all to dump types, not
41 ctf_type_iter.
42 (ctf_dump_type): Pass down the flag from ctf_type_iter_all.
43 (ctf_dump_format_type): Add non-root-type { } notation.
44 Add root flag to prototype.
45 (ctf_dump_label): Adjust accordingly.
46 (ctf_dump_objts): Likewise.
47 (ctf_dump_var): Likewise.
48
49 2019-07-13 Nick Alcock <nick.alcock@oracle.com>
50
51 * ctf-create.c (ctf_compress_write): Fix double-free.
52
53 2019-07-13 Nick Alcock <nick.alcock@oracle.com>
54
55 * ctf-archive.c (ctf_arc_write): Split off, and reimplement in terms
56 of...
57 (ctf_arc_write_fd): ... this new function.
58 * ctf-create.c (ctf_write_mem): New.
59
60 2019-07-13 Nick Alcock <nick.alcock@oracle.com>
61
62 * ctf-impl.h (ctf_str_atom_t) <csa_offset>: New field.
63 (ctf_file_t) <ctf_syn_ext_strtab>: Likewise.
64 (ctf_str_add_ref): Name the last arg.
65 (ctf_str_add_external) New.
66 (ctf_str_add_strraw_explicit): Likewise.
67 (ctf_simple_open_internal): Likewise.
68 (ctf_bufopen_internal): Likewise.
69
70 * ctf-string.c (ctf_strraw_explicit): Split from...
71 (ctf_strraw): ... here, with new support for ctf_syn_ext_strtab.
72 (ctf_str_add_ref_internal): Return the atom, not the
73 string.
74 (ctf_str_add): Adjust accordingly.
75 (ctf_str_add_ref): Likewise. Move up in the file.
76 (ctf_str_add_external): New: update the csa_offset.
77 (ctf_str_count_strtab): Only account for strings with no csa_offset
78 in the internal strtab length.
79 (ctf_str_write_strtab): If the csa_offset is set, update the
80 string's refs without writing the string out, and update the
81 ctf_syn_ext_strtab. Make OOM handling less ugly.
82 * ctf-create.c (struct ctf_sort_var_arg_cb): New.
83 (ctf_update): Handle failure to populate the strtab. Pass in the
84 new ctf_sort_var arg. Adjust for ctf_syn_ext_strtab addition.
85 Call ctf_simple_open_internal, not ctf_simple_open.
86 (ctf_sort_var): Call ctf_strraw_explicit rather than looking up
87 strings by hand.
88 * ctf-hash.c (ctf_hash_insert_type): Likewise (but using
89 ctf_strraw). Adjust to diagnose ECTF_STRTAB nonetheless.
90 * ctf-open.c (init_types): No longer filter out ECTF_STRTAB.
91 (ctf_file_close): Destroy the ctf_syn_ext_strtab.
92 (ctf_simple_open): Rename to, and reimplement as a wrapper around...
93 (ctf_simple_open_internal): ... this new function, which calls
94 ctf_bufopen_internal.
95 (ctf_bufopen): Rename to, and reimplement as a wrapper around...
96 (ctf_bufopen_internal): ... this new function, which sets
97 ctf_syn_ext_strtab.
98
99 2019-07-13 Nick Alcock <nick.alcock@oracle.com>
100
101 * ctf_types.c (ctf_type_iter_all): New.
102
103 2019-07-13 Nick Alcock <nick.alcock@oracle.com>
104
105 * ctf-open.c (init_symtab): Check for overflow against the right
106 section.
107 (upgrade_header): Set cth_objtidxoff, cth_funcidxoff to zero-length.
108 (upgrade_types_v1): Note that these sections are not checked.
109 (flip_header): Endian-swap the header fields.
110 (flip_ctf): Endian-swap the sections.
111 (flip_objts): Update comment.
112 (ctf_bufopen): Check header offsets and alignment for validity.
113
114 2019-07-13 Nick Alcock <nick.alcock@oracle.com>
115
116 * ctf-open-bfd.c: Add <assert.h>.
117 (ctf_bfdopen_ctfsect): Open string and symbol tables using
118 techniques borrowed from bfd_elf_sym_name.
119 (ctf_new_archive_internal): Improve comment.
120 * ctf-archive.c (ctf_arc_close): Do not free the ctfi_strsect.
121 * ctf-open.c (ctf_bufopen): Allow opening with a string section but
122 no symbol section, but not vice versa.
123
124 2019-07-08 Nick Alcock <nick.alcock@oracle.com>
125
126 * ctf-impl.h (ctf_file_t): New field ctf_openflags.
127 * ctf-open.c (ctf_bufopen): Set it. No longer dump header offsets.
128 * ctf-dump.c (dump_header): New function, dump the CTF header.
129 (ctf_dump): Call it.
130 (ctf_dump_header_strfield): New function.
131 (ctf_dump_header_sectfield): Likewise.
132
133 2019-07-06 Nick Alcock <nick.alcock@oracle.com>
134
135 * ctf-impl.h (ctf_file_t): New fields ctf_header, ctf_dynbase,
136 ctf_cuname, ctf_dyncuname: ctf_base and ctf_buf are no longer const.
137 * ctf-open.c (ctf_set_base): Preserve the gap between ctf_buf and
138 ctf_base: do not assume that it is always sizeof (ctf_header_t).
139 Print out ctf_cuname: only print out ctf_parname if set.
140 (ctf_free_base): Removed, ctf_base is no longer freed: free
141 ctf_dynbase instead.
142 (ctf_set_version): Fix spacing.
143 (upgrade_header): New, in-place header upgrading.
144 (upgrade_types): Rename to...
145 (upgrade_types_v1): ... this. Free ctf_dynbase, not ctf_base. No
146 longer track old and new headers separately. No longer allow for
147 header sizes explicitly: squeeze the headers out on upgrade (they
148 are preserved in fp->ctf_header). Set ctf_dynbase, ctf_base and
149 ctf_buf explicitly. Use ctf_free, not ctf_free_base.
150 (upgrade_types): New, also handle ctf_parmax updating.
151 (flip_header): Flip ctf_cuname.
152 (flip_types): Flip BUF explicitly rather than deriving BUF from
153 BASE.
154 (ctf_bufopen): Store the header in fp->ctf_header. Correct minimum
155 required alignment of objtoff and funcoff. No longer store it in
156 the ctf_buf unless that buf is derived unmodified from the input.
157 Set ctf_dynbase where ctf_base is dynamically allocated. Drop locals
158 that duplicate fields in ctf_file: move allocation of ctf_file
159 further up instead. Call upgrade_header as needed. Move
160 version-specific ctf_parmax initialization into upgrade_types. More
161 concise error handling.
162 (ctf_file_close): No longer test for null pointers before freeing.
163 Free ctf_dyncuname, ctf_dynbase, and ctf_header. Do not call
164 ctf_free_base.
165 (ctf_cuname): New.
166 (ctf_cuname_set): New.
167 * ctf-create.c (ctf_update): Populate ctf_cuname.
168 (ctf_gzwrite): Write out the header explicitly. Remove obsolescent
169 comment.
170 (ctf_write): Likewise.
171 (ctf_compress_write): Get the header from ctf_header, not ctf_base.
172 Fix the compression length: fp->ctf_size never counted the CTF
173 header. Simplify the compress call accordingly.
174
175 2019-07-11 Hans-Peter Nilsson <hp@bitrange.com>
176
177 * ctf-endian.h: Don't assume htole64 and le64toh are always
178 present if HAVE_ENDIAN_H; also check if htole64 is defined.
179 [!WORDS_BIGENDIAN] (htole64, le64toh): Define as identity,
180 not bswap_identity_64.
181
182 2019-09-18 Alan Modra <amodra@gmail.com>
183
184 * ctf-open-bfd.c: Update throughout for bfd section macro changes.
185
186 2019-09-09 Phil Blundell <pb@pbcl.net>
187
188 binutils 2.33 branch created.
189
190 2019-07-18 Nick Alcock <nick.alcock@oracle.com>
191
192 * ctf-types.c (ctf_type_aname_raw): New.
193 (ctf_func_type_info): Likewise.
194 (ctf_func_type_args): Likewise.
195 * ctf-error.c (_ctf_errlist): Fix description.
196 * ctf-lookup.c: Fix file description.
197
198 2019-06-28 Nick Alcock <nick.alcock@oracle.com>
199
200 * ctf-create.c (ctf_create): Fix off-by-one error.
201
202 2019-06-28 Nick Alcock <nick.alcock@oracle.com>
203
204 * ctf-impl.h: (struct ctf_strs_writable): New, non-const version of
205 struct ctf_strs.
206 (struct ctf_dtdef): Note that dtd_data.ctt_name is unpopulated.
207 (struct ctf_str_atom): New, disambiguated single string.
208 (struct ctf_str_atom_ref): New, points to some other location that
209 references this string's offset.
210 (struct ctf_file): New members ctf_str_atoms and ctf_str_num_refs.
211 Remove member ctf_dtvstrlen: we no longer track the total strlen
212 as we add strings.
213 (ctf_str_create_atoms): Declare new function in ctf-string.c.
214 (ctf_str_free_atoms): Likewise.
215 (ctf_str_add): Likewise.
216 (ctf_str_add_ref): Likewise.
217 (ctf_str_rollback): Likewise.
218 (ctf_str_purge_refs): Likewise.
219 (ctf_str_write_strtab): Likewise.
220 (ctf_realloc): Declare new function in ctf-util.c.
221
222 * ctf-open.c (ctf_bufopen): Create the atoms table.
223 (ctf_file_close): Destroy it.
224 * ctf-create.c (ctf_update): Copy-and-free it on update. No longer
225 special-case the position of the parname string. Construct the
226 strtab by calling ctf_str_add_ref and ctf_str_write_strtab after the
227 rest of each buffer element is constructed, not via open-coding:
228 realloc the CTF buffer and append the strtab to it. No longer
229 maintain ctf_dtvstrlen. Sort the variable entry table later, after
230 strtab construction.
231 (ctf_copy_membnames): Remove: integrated into ctf_copy_{s,l,e}members.
232 (ctf_copy_smembers): Drop the string offset: call ctf_str_add_ref
233 after buffer element construction instead.
234 (ctf_copy_lmembers): Likewise.
235 (ctf_copy_emembers): Likewise.
236 (ctf_create): No longer maintain the ctf_dtvstrlen.
237 (ctf_dtd_delete): Likewise.
238 (ctf_dvd_delete): Likewise.
239 (ctf_add_generic): Likewise.
240 (ctf_add_enumerator): Likewise.
241 (ctf_add_member_offset): Likewise.
242 (ctf_add_variable): Likewise.
243 (membadd): Likewise.
244 * ctf-util.c (ctf_realloc): New, wrapper around realloc that aborts
245 if there are active ctf_str_num_refs.
246 (ctf_strraw): Move to ctf-string.c.
247 (ctf_strptr): Likewise.
248 * ctf-string.c: New file, strtab manipulation.
249
250 * Makefile.am (libctf_a_SOURCES): Add it.
251 * Makefile.in: Regenerate.
252
253 2019-06-28 Nick Alcock <nick.alcock@oracle.com>
254
255 * ctf-impl.h (ctf_hash_iter_f): New.
256 (ctf_dynhash_iter): New declaration.
257 (ctf_dynhash_iter_remove): New declaration.
258 * ctf-hash.c (ctf_dynhash_iter): Define.
259 (ctf_dynhash_iter_remove): Likewise.
260 (ctf_hashtab_traverse): New.
261 (ctf_hashtab_traverse_remove): Likewise.
262 (struct ctf_traverse_cb_arg): Likewise.
263 (struct ctf_traverse_remove_cb_arg): Likewise.
264
265 2019-06-28 Nick Alcock <nick.alcock@oracle.com>
266
267 * ctf-hash.c (ctf_dynhash_remove): Call with a mocked-up element.
268
269 2019-06-28 Nick Alcock <nick.alcock@oracle.com>
270
271 * ctf-dump.c (ctf_dump_format_type): Prefix hex strings with 0x.
272 (ctf_dump_funcs): Likewise.
273
274 2019-06-19 Nick Alcock <nick.alcock@oracle.com>
275
276 * ctf-open-bfd.c: Add swap.h and ctf-endian.h.
277 (ctf_fdopen): Check for endian-swapped raw CTF magic, and
278 little-endian CTF archive magic. Do not check the CTF version:
279 ctf_simple_open does that in endian-safe ways. Do not dereference
280 null pointers on open failure.
281
282 2019-06-19 Nick Alcock <nick.alcock@oracle.com>
283
284 * ctf-open.c (get_vbytes_common): Return the new slice size.
285 (ctf_bufopen): Flip the endianness of the CTF-section header copy.
286 Remember to copy in the CTF data when opening an uncompressed
287 foreign-endian CTF file. Prune useless variable manipulation.
288
289 2019-06-19 Nick Alcock <nick.alcock@oracle.com>
290
291 * ctf-open.c (ctf_types): Fail when unidentified type kinds are
292 seen.
293
294 2019-06-19 Nick Alcock <nick.alcock@oracle.com>
295
296 * ctf-open.c (ctf_bufopen): Dump header offsets into the debugging
297 output.
298
299 2019-06-19 Nick Alcock <nick.alcock@oracle.com>
300
301 * ctf-subr.c (_PAGESIZE): Remove.
302 (ctf_data_alloc): Likewise.
303 (ctf_data_free): Likewise.
304 (ctf_data_protect): Likewise.
305 * ctf-impl.h: Remove declarations.
306 * ctf-create.c (ctf_update): No longer call ctf_data_protect: use
307 ctf_free, not ctf_data_free.
308 (ctf_compress_write): Use ctf_data_alloc, not ctf_alloc. Free
309 the buffer again on compression error.
310 * ctf-open.c (ctf_set_base): No longer track the size: call
311 ctf_free, not ctf_data_free.
312 (upgrade_types): Likewise. Call ctf_alloc, not ctf_data_alloc.
313 (ctf_bufopen): Likewise. No longer call ctf_data_protect.
314
315 2019-06-19 Nick Alcock <nick.alcock@oracle.com>
316
317 * ctf-create.c (ctf_dtd_insert): Pass on error returns from
318 ctf_dynhash_insert.
319 (ctf_dvd_insert): Likewise.
320 (ctf_add_generic): Likewise.
321 (ctf_add_variable): Likewise.
322 * ctf-impl.h: Adjust declarations.
323
324 2019-06-14 Alan Modra <amodra@gmail.com>
325
326 * configure: Regenerate.
327
328 2019-06-06 Nick Alcock <nick.alcock@oracle.com>
329
330 * ctf-decls.h: Include <libiberty.h>.
331 * ctf-lookup.c (ctf_lookup_by_name): Call xstrndup(), not strndup().
332
333 2019-06-06 Nick Alcock <nick.alcock@oracle.com>
334
335 * ctf-dump.c (ctf_dump_format_type): Cast size_t's used in printf()s.
336 (ctf_dump_objts): Likewise.
337 (ctf_dump_funcs): Likewise.
338 (ctf_dump_member): Likewise.
339 (ctf_dump_str): Likewise.
340
341 2019-06-06 Nick Alcock <nick.alcock@oracle.com>
342
343 * ctf-archive.c (arc_mmap_header): Mark fd as potentially unused.
344 * ctf-subr.c (ctf_data_protect): Mark both args as potentially unused.
345
346 2019-06-05 Nick Alcock <nick.alcock@oracle.com>
347
348 * ctf-archive.c (ctf_arc_write): Eschew %zi format specifier.
349 (ctf_arc_open_by_offset): Likewise.
350 * ctf-create.c (ctf_add_type): Likewise.
351
352 2019-06-04 Tom Tromey <tromey@adacore.com>
353
354 * ctf-create.c (ctf_add_encoded, ctf_add_slice)
355 (ctf_add_member_offset): Use CHAR_BIT, not NBBY.
356
357 2019-06-04 Nick Alcock <nick.alcock@oracle.com>
358
359 * configure.ac: Check for O_CLOEXEC.
360 * ctf-decls.h (O_CLOEXEC): Define (to 0), if need be.
361 * config.h.in: Regenerate.
362 * configure: Likewise.
363
364 2019-06-04 Nick Alcock <nick.alcock@oracle.com>
365
366 * qsort_r.c: Rename to...
367 * ctf-qsort_r.c: ... this.
368 (_quicksort): Define to ctf_qsort_r.
369 * ctf-decls.h (qsort_r): Remove.
370 (ctf_qsort_r): Add.
371 (struct ctf_qsort_arg): New, transport the real ARG and COMPAR.
372 (ctf_qsort_compar_thunk): Rearrange the arguments to COMPAR.
373 * Makefile.am (libctf_a_LIBADD): Remove.
374 (libctf_a_SOURCES): New, add ctf-qsort_r.c.
375 * ctf-archive.c (ctf_arc_write): Call ctf_qsort_r, not qsort_r.
376 * ctf-create.c (ctf_update): Likewise.
377 * configure.ac: Check for BSD versus GNU qsort_r signature.
378 * Makefile.in: Regenerate.
379 * config.h.in: Likewise.
380 * configure: Likewise.
381
382 2019-06-03 Nick Alcock <nick.alcock@oracle.com>
383
384 * ctf-dump.c (ctf_dump_funcs): Free in the right place.
385
386 2019-05-29 Nick Alcock <nick.alcock@oracle.com>
387
388 * Makefile.am (ZLIB): New.
389 (ZLIBINC): Likewise.
390 (AM_CFLAGS): Use them.
391 (libctf_a_LIBADD): New, for LIBOBJS.
392 * configure.ac: Check for zlib, endian.h, and qsort_r.
393 * ctf-endian.h: New, providing htole64 and le64toh.
394 * swap.h: Code style fixes.
395 (bswap_identity_64): New.
396 * qsort_r.c: New, from gnulib (with one added #include).
397 * ctf-decls.h: New, providing a conditional qsort_r declaration,
398 and unconditional definitions of MIN and MAX.
399 * ctf-impl.h: Use it. Do not use <sys/errno.h>.
400 (ctf_set_errno): Now returns unsigned long.
401 * ctf-util.c (ctf_set_errno): Adjust here too.
402 * ctf-archive.c: Use ctf-endian.h.
403 (ctf_arc_open_by_offset): Use memset, not bzero. Drop cts_type,
404 cts_flags and cts_offset.
405 (ctf_arc_write): Drop debugging dependent on the size of off_t.
406 * ctf-create.c: Provide a definition of roundup if not defined.
407 (ctf_create): Drop cts_type, cts_flags and cts_offset.
408 (ctf_add_reftype): Do not check if type IDs are below zero.
409 (ctf_add_slice): Likewise.
410 (ctf_add_typedef): Likewise.
411 (ctf_add_member_offset): Cast error-returning ssize_t's to size_t
412 when known error-free. Drop CTF_ERR usage for functions returning
413 int.
414 (ctf_add_member_encoded): Drop CTF_ERR usage for functions returning
415 int.
416 (ctf_add_variable): Likewise.
417 (enumcmp): Likewise.
418 (enumadd): Likewise.
419 (membcmp): Likewise.
420 (ctf_add_type): Likewise. Cast error-returning ssize_t's to size_t
421 when known error-free.
422 * ctf-dump.c (ctf_is_slice): Drop CTF_ERR usage for functions
423 returning int: use CTF_ERR for functions returning ctf_type_id.
424 (ctf_dump_label): Likewise.
425 (ctf_dump_objts): Likewise.
426 * ctf-labels.c (ctf_label_topmost): Likewise.
427 (ctf_label_iter): Likewise.
428 (ctf_label_info): Likewise.
429 * ctf-lookup.c (ctf_func_args): Likewise.
430 * ctf-open.c (upgrade_types): Cast to size_t where appropriate.
431 (ctf_bufopen): Likewise. Use zlib types as needed.
432 * ctf-types.c (ctf_member_iter): Drop CTF_ERR usage for functions
433 returning int.
434 (ctf_enum_iter): Likewise.
435 (ctf_type_size): Likewise.
436 (ctf_type_align): Likewise. Cast to size_t where appropriate.
437 (ctf_type_kind_unsliced): Likewise.
438 (ctf_type_kind): Likewise.
439 (ctf_type_encoding): Likewise.
440 (ctf_member_info): Likewise.
441 (ctf_array_info): Likewise.
442 (ctf_enum_value): Likewise.
443 (ctf_type_rvisit): Likewise.
444 * ctf-open-bfd.c (ctf_bfdopen): Drop cts_type, cts_flags and
445 cts_offset.
446 (ctf_simple_open): Likewise.
447 (ctf_bfdopen_ctfsect): Likewise. Set cts_size properly.
448 * Makefile.in: Regenerate.
449 * aclocal.m4: Likewise.
450 * config.h: Likewise.
451 * configure: Likewise.
452
453 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
454
455 * configure.in: Check for bfd_section_from_elf_index.
456 * configure: Regenerate.
457 * config.h.in [HAVE_BFD_ELF]: Likewise.
458 * libctf/ctf_open_bfd (ctf_bfdopen_ctfsect): Use it.
459 abfd is potentially unused now.
460
461 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
462
463 * Makefile.am: New.
464 * Makefile.in: Regenerated.
465 * config.h.in: Likewise.
466 * aclocal.m4: Likewise.
467 * configure: Likewise.
468
469 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
470
471 * ctf-dump.c: New.
472
473 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
474
475 * ctf-labels.c: New.
476
477 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
478
479 * ctf-impl.h (_libctf_version): New declaration.
480 * ctf-subr.c (_libctf_version): Define it.
481 (ctf_version): New.
482
483 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
484
485 * ctf-create.c (enumcmp): New.
486 (enumadd): Likewise.
487 (membcmp): Likewise.
488 (membadd): Likewise.
489 (ctf_add_type): Likewise.
490
491 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
492
493 * ctf-lookup.c (isqualifier): New.
494 (ctf_lookup_by_name): Likewise.
495 (struct ctf_lookup_var_key): Likewise.
496 (ctf_lookup_var): Likewise.
497 (ctf_lookup_variable): Likewise.
498 (ctf_lookup_symbol_name): Likewise.
499 (ctf_lookup_by_symbol): Likewise.
500 (ctf_func_info): Likewise.
501 (ctf_func_args): Likewise.
502
503 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
504
505 * ctf-decl.c: New file.
506 * ctf-types.c: Likewise.
507 * ctf-impl.h: New declarations.
508
509 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
510
511 * ctf-open-bfd.c: New file.
512 * ctf-open.c (ctf_close): New.
513 * ctf-impl.h: Include bfd.h.
514 (ctf_file): New members ctf_data_mmapped, ctf_data_mmapped_len.
515 (ctf_archive_internal): New members ctfi_abfd, ctfi_data,
516 ctfi_bfd_close.
517 (ctf_bfdopen_ctfsect): New declaration.
518 (_CTF_SECTION): likewise.
519
520 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
521
522 * ctf-archive.c: New.
523 * ctf-impl.h (ctf_archive_internal): New type.
524 (ctf_arc_open_internal): New declaration.
525 (ctf_arc_bufopen): Likewise.
526 (ctf_arc_close_internal): Likewise.
527
528 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
529
530 * ctf-open.c: New file.
531 * swap.h: Likewise.
532
533 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
534
535 * ctf-create.c: New file.
536 * ctf-lookup.c: New file.
537
538 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
539
540 * ctf-impl.h: New definitions and declarations for type creation
541 and lookup.
542
543 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
544
545 * ctf-hash.c: New file.
546 * ctf-impl.h: New declarations.
547
548 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
549
550 * ctf-error.c: New file.
551
552 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
553
554 * ctf-util.c: New file.
555 * elf.h: Likewise.
556 * ctf-impl.h: Include it, and add declarations.
557
558 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
559
560 * ctf-impl.h: New file.
561 * ctf-subr.c: New file.
562
563 \f
564 Local Variables:
565 mode: change-log
566 left-margin: 8
567 fill-column: 76
568 version-control: never
569 End:
This page took 0.055022 seconds and 4 git commands to generate.