
8 Mar
2021
8 Mar
'21
8:44 a.m.
On Sun, Mar 7, 2021 at 12:26 PM Marek BehĂșn marek.behun@nic.cz wrote:
Use the __ADDRESSABLE() macro to make entries and lists declared by ll_entry_declare() and ll_entry_declare_list() addressable so that when building with LTO the compiler does not optimize this data away.
Signed-off-by: Marek BehĂșn marek.behun@nic.cz
include/linker_lists.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com