Re: [PATCH u-boot 10/39] linker_lists: declare lists and entries as __ADDRESSABLE for LTO

2021-03-07 Thread Bin Meng
On Sun, Mar 7, 2021 at 12:26 PM Marek Behún 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 >

[PATCH u-boot 10/39] linker_lists: declare lists and entries as __ADDRESSABLE for LTO

2021-03-06 Thread Marek Behún
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 --- include/linker_lists.h | 8 ++-- 1 file changed, 6 inser