> Hmm, well. How about emitting .BTF.ext.string from GCC and have the linker > merge the .BTF.ext.string section with the CTF string section then? You can't > really say "the ship has sailed" if I read the CTF webpage - there seems to be > many format changes planned.
Forgot to mention that BPF programs are never linked in practice, even if we support it in the GNU toolchain. BPF programmers compile C code into an object file, and then that object file is loaded in the kernel via libbpf. So they don't ever use the linker. A pity, because this was a neat idea.