
8 Mar
2021
8 Mar
'21
11:29 a.m.
On Mon, Mar 8, 2021 at 5:23 PM Marek Behun marek.behun@nic.cz wrote:
On Mon, 8 Mar 2021 15:27:41 +0800 Bin Meng bmeng.cn@gmail.com wrote:
#define __ADDRESSABLE(sym) \ static void * __section(".discard.addressable") __used \
__PASTE(__addressable_##sym, __LINE__) = (void *)&sym;
__UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)&sym;
nits: need one space after ,
This is copy-paster from Linux, so it should be first fixed there.
Do you mean this whole file is copy-paster from Linux? Is this the only place that U-Boot's version is different? If not, probably we need to do a sync with the Linux one.
Regards, Bin