]> git.kaiwu.me - haproxy.git/commit
MEDIUM: sym: store a compressed symbol table in a loadable section
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 16 Sep 2026 14:10:08 +0000 (16:10 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 1 Oct 2026 15:06:31 +0000 (17:06 +0200)
commit005038b80d468cdca0a9fdcb4b3c993ec02f8367
tree5d43bbf6f5df3807a636749e6c5e6ef98dbdebbf
parent50f0328039f2a81a1b8044d43cb75e2036eb1bd1
MEDIUM: sym: store a compressed symbol table in a loadable section

Implement the MiniDebugInfo, and store the symtab, compressed with xz,
into the .gnu_debugdata section, provided the needed utilities are
available, and we're building an ELF binary.
Makes it a loadable section, so that it is always available, and teach
haproxy to parse it, so that we will always get all available symbols
for binaries built that way, even if we can't even read the binary
itself.
Makefile
scripts/minidbg.sh [new file with mode: 0755]
src/sym.c