This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH v5 00/37] libctf linking, final cycle
- From: Nick Alcock <nick dot alcock at oracle dot com>
- To: binutils at sourceware dot org
- Cc: Nick Alcock <nick dot alcock at oracle dot com>
- Date: Tue, 1 Oct 2019 11:56:08 +0100
- Subject: [PATCH v5 00/37] libctf linking, final cycle
The posted portion of this series only contains those patches which have seen
changes more significant than tabdamage fixes since v4, to avoid pointlessly
bombing the list with stuff you've all seen already. Since some of those are
outside my purview, I'll hold off pushing until you've said you're happy with
them. (It seems likely: the changes are uncontroversial. Some are literally
just tabdamage fixes for stuff that went in in previous series.)
I have also got --disable-libctf working, but that's for another patch series
I think: this one is quite long enough!
Full patch series, as usual:
Hans-Peter Nilsson (1):
libctf: make it compile for old glibc
Nick Alcock (37):
libctf: allow the header to change between versions
libctf, binutils: dump the CTF header
libctf, bfd: fix ctf_bfdopen_ctfsect opening symbol and string
sections
libctf: add the object index and function index sections
binutils: readelf: when dumping CTF, load strtab and symtab
automatically
binutils: objdump does not take --ctf-symbols or --ctf-strings options
libctf: Add iteration over non-root types
libctf: support getting strings from the ELF strtab
libctf: write CTF files to memory, and CTF archives to fds
libctf: fix double-free on ctf_compress_write error path
libctf: dump: support non-root type dumping
libctf: dump: check the right error values when dumping functions
libctf: add the ctf_link machinery
libctf: map from old to corresponding newly-added types in
ctf_add_type
libctf: add linking of the variable section
libctf: add CU-mapping machinery
libctf: teach ctf_add_type how forwards work
libctf: don't leak hash keys or values on value replacement
libctf: eschew C99 for loop initial declarations
libctf: get rid of a disruptive public include of <sys/param.h>
libctf: bfd-open: mark the bfd as cacheable
libctf: actually close bfds we have opened
bfd: new functions for getting strings out of a strtab
bfd, ld: add CTF section linking
libctf: installable libctf as a shared library
objdump: get CTF parent importing right
libctf: handle nonrepresentable types at link time
libctf: avoid the need to ever use ctf_update
libctf: properly handle ctf_add_type of forwards and self-reffing
structs
libctf: allow ctf_type_lname of a null pointer.
libctf: get the encoding of non-ints/fps in the dynamic space right
libctf: remove ctf_malloc, ctf_free and ctf_strdup
libctf: make ctf_dump not crash on OOM
libctf: fix refcount leak in ctf_import
binutils: spaces -> tabs in CTF parts of objdump and readelf
libctf: fix tabdamage