lds: Add and use RO_DATA_SECTION macro
We have many different pointer arrays which we put into linker sections
and each time there's one added we have to adjust all linker scripts.
This adds a common RO_DATA_SECTION define and uses it for all
architectures. This makes it easier to add a new linker array.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1bb55ab commit c5d38e92010174f58d733274430ee91f340553b5
@Sascha Hauer Sascha Hauer authored on 2 Oct 2019
Showing 13 changed files
View
arch/arm/lib32/barebox.lds.S
View
arch/arm/lib64/barebox.lds.S
View
arch/mips/lib/barebox.lds.S
View
arch/nios2/cpu/barebox.lds.S
View
arch/openrisc/cpu/barebox.lds.S
View
arch/ppc/boards/pcm030/barebox.lds.S
View
arch/ppc/mach-mpc85xx/barebox.lds.S
View
arch/riscv/lib/barebox.lds.S
View
arch/sandbox/board/barebox.lds.S
View
arch/x86/lib/barebox.lds.S
View
arch/x86/mach-efi/elf_ia32_efi.lds.S
View
arch/x86/mach-efi/elf_x86_64_efi.lds.S
View
include/asm-generic/barebox.lds.h