This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH v2 00/19] libctf, and CTF support for objdump and readelf
- From: Nick Alcock <nick dot alcock at oracle dot com>
- To: binutils at sourceware dot org
- Date: Fri, 17 May 2019 23:09:43 +0100
- Subject: [PATCH v2 00/19] libctf, and CTF support for objdump and readelf
This is the second posting of libctf, containing fixes for every review comment
received in the last cycle, and introduction of backward-compatibility code for
the old v1 format found in some enterprise Linux kernel packages, and nothing
else: in particular, the various format changes and prototype changes planned
have not landed yet. (The backward-compatibility code is preparation for this,
since it is that code which will be enhanced and disentangled when the format
changes land.)
(The format description is the same as it was in the last patch series: see that
series for more info. It *will* change shortly -- though in a fashion that will
not leave it unrecognizably different -- and when it changes I'll probably write
something in texinfo or something to describe in a more GNUish fashion.)
Joseph: you'll probably be interested in patches 3, 9, 10, and 15 in particular,
for their BFDization and portability fixes.
Nick Alcock (19):
include: new header ctf.h: file format description
include: new header ctf-api.h
libctf: lowest-level memory allocation and debug-dumping wrappers
libctf: low-level list manipulation and helper utilities
libctf: error handling
libctf: hashing
libctf: implementation definitions related to file creation
libctf: creation functions
libctf: opening
libctf: ELF file opening via BFD
libctf: core type lookup
libctf: lookups by name and symbol
libctf: type copying
libctf: library version enforcement
libctf: mmappable archives
libctf: labels
libctf: debug dumping
libctf: build system
binutils: CTF support for objdump and readelf
Makefile.def | 6 +
Makefile.in | 991 +++-
binutils/Makefile.am | 10 +-
binutils/Makefile.in | 18 +-
binutils/aclocal.m4 | 10 +-
binutils/doc/Makefile.in | 9 +-
binutils/doc/binutils.texi | 12 +
binutils/doc/ctf.options.texi | 19 +
binutils/objdump.c | 156 +-
binutils/readelf.c | 206 +
configure | 2 +-
configure.ac | 2 +-
include/ctf-api.h | 363 ++
include/ctf.h | 561 +++
libctf/Makefile.am | 31 +
libctf/Makefile.in | 767 ++++
{binutils => libctf}/aclocal.m4 | 99 +-
libctf/config.h.in | 113 +
libctf/configure | 7462 +++++++++++++++++++++++++++++++
libctf/configure.ac | 63 +
libctf/ctf-archive.c | 617 +++
libctf/ctf-create.c | 2032 +++++++++
libctf/ctf-decl.c | 195 +
libctf/ctf-dump.c | 595 +++
libctf/ctf-error.c | 93 +
libctf/ctf-hash.c | 277 ++
libctf/ctf-impl.h | 374 ++
libctf/ctf-labels.c | 138 +
libctf/ctf-lookup.c | 427 ++
libctf/ctf-open-bfd.c | 264 ++
libctf/ctf-open.c | 1687 +++++++
libctf/ctf-subr.c | 259 ++
libctf/ctf-types.c | 1023 +++++
libctf/ctf-util.c | 176 +
libctf/elf.h | 61 +
libctf/swap.h | 60 +
36 files changed, 19107 insertions(+), 71 deletions(-)
create mode 100644 binutils/doc/ctf.options.texi
create mode 100644 include/ctf-api.h
create mode 100644 include/ctf.h
create mode 100644 libctf/Makefile.am
create mode 100644 libctf/Makefile.in
copy {binutils => libctf}/aclocal.m4 (95%)
create mode 100644 libctf/config.h.in
create mode 100755 libctf/configure
create mode 100644 libctf/configure.ac
create mode 100644 libctf/ctf-archive.c
create mode 100644 libctf/ctf-create.c
create mode 100644 libctf/ctf-decl.c
create mode 100644 libctf/ctf-dump.c
create mode 100644 libctf/ctf-error.c
create mode 100644 libctf/ctf-hash.c
create mode 100644 libctf/ctf-impl.h
create mode 100644 libctf/ctf-labels.c
create mode 100644 libctf/ctf-lookup.c
create mode 100644 libctf/ctf-open-bfd.c
create mode 100644 libctf/ctf-open.c
create mode 100644 libctf/ctf-subr.c
create mode 100644 libctf/ctf-types.c
create mode 100644 libctf/ctf-util.c
create mode 100644 libctf/elf.h
create mode 100644 libctf/swap.h
--
2.21.0.237.gd0cfaa883d