]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: make the mem_stats section aligned to void*
authorWilly Tarreau <w@1wt.eu>
Tue, 9 Aug 2022 06:09:24 +0000 (08:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 9 Aug 2022 06:09:24 +0000 (08:09 +0200)
commit4bc37086b8c46991692c6ac368762722ee3c87c6
tree884e8c1872a4598a81cb0e3a2bc68792519733d7
parentba19acd822011a97a72da7eb71215329774f0977
MINOR: debug: make the mem_stats section aligned to void*

Not specifying the alignment will let the linker choose it, and it turns
out that it will not necessarily be the same size as the one chosen for
struct mem_stats, as can be seen if any new fields are added there. Let's
enforce an alignment to void* both for the section and for the structure.
include/haproxy/bug.h
include/haproxy/pool.h