]> git.kaiwu.me - haproxy.git/commit
BUILD: sym: Build properly with gold as a linker
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 15 Oct 2026 14:50:23 +0000 (16:50 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 15 Oct 2026 15:31:44 +0000 (17:31 +0200)
commit4d9b317958fcb744f3a73c0517696926b2330ca7
treec65b39c7ad34104d6530b6efa307d30bef44ac85
parentef7ca1014fc1c488c6fc839a809053bb7f77f7c6
BUILD: sym: Build properly with gold as a linker

Some linkers, such as gold, will not let us do our trick of having our
note in our own program header, and will merge it with other notes. If
that happens, then detect it, and just link the binary a second time,
now that we know the size of the section, as we created the xz file
already, we can add it without wasting any binary space.
Makefile
scripts/minidbg.sh
src/sym.c