]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
include, libctf: header and soname changes for CTFv4
authorNick Alcock <nick.alcock@oracle.com>
Thu, 24 Apr 2025 12:20:53 +0000 (13:20 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 25 Apr 2025 17:07:41 +0000 (18:07 +0100)
commitde5a31a8ca9a3806f99f418ef4b6aa77c5a61032
treea25866e6e7693d00697b2a65ac72f557fc93bbad
parent13ce9e17b7d676abdb4b502125020d9df4a2de33
include, libctf: header and soname changes for CTFv4

These changes bump the current file format version to CTF_VERSION_4, and
introduce a new VERSION_5 identical with it to get the version integer and
the name identical again.  A great many changes are made to account for
the changes to handle CTFv4 (which is a BTF superset).

libctf will not compile after these changes, which is why it's been diked
out of the build system and forced-off until the series is complete.

Because all the CTF_K constants have changed values, this is necessarily an
ABI break: add a #define to make picking up this break at compile time
obvious.

Note that the ABI has broken by bumping the soname (deriving it now from
libctf/libtool-version) and folding all newer symbols in the symbol version
file into a new LIBCTF_2.0 version, which is now the only exported version.
include/ctf-api.h
include/ctf.h
libctf/Makefile.am
libctf/Makefile.in
libctf/libctf.ver
libctf/libtool-version [new file with mode: 0644]