On Sun, Mar 7, 2021 at 12:26 PM Marek Behún <marek.be...@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.be...@nic.cz>
> ---
>  include/linker_lists.h | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>

Reply via email to