lds: align RO_DATA_SECTION members
When using the RO_DATA_SECTION macro, all the individual components
are put into the rodata section. As they now end up in the same
section there is no alignment enforced between them anymore. This
leads to unaligned start pointers when any of the components have a
unaligned size. Enforce some alignment between them.

Fixes: c5d38e920101 (lds: Add and use RO_DATA_SECTION macro)
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5aa9c60 commit d5f8bd9c503e0a17ef071eec50c537cc82a7956c
@Lucas Stach Lucas Stach authored on 19 Dec 2019
Sascha Hauer committed on 20 Dec 2019
Showing 1 changed file
View
include/asm-generic/barebox.lds.h