]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: initcall: mark the __start_i_* symbols as weak, not global
authorWilly Tarreau <w@1wt.eu>
Wed, 13 Apr 2022 15:12:20 +0000 (17:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 13 Apr 2022 17:13:49 +0000 (19:13 +0200)
commit2a06e248f5c8b7c86c7dd48eed7f6d5e87288457
tree7ef0d45981b28fef3b141b21121207c24253b9c5
parentb12966af1006be8d4438ee1ca39c2541a1f2a4f9
BUILD: initcall: mark the __start_i_* symbols as weak, not global

Just like for previous fix, these symbols are marked ".globl" during
their declaration, but their later mention uses __attribute__((weak)),
so it's better to only use ".weak" during the declaration so that the
symbol's class does not change.

No need to backport this unless someone reports build issues.
include/haproxy/initcall.h