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> |
---|
|
arch/arm/lib32/barebox.lds.S |
---|
arch/arm/lib64/barebox.lds.S |
---|
arch/mips/lib/barebox.lds.S |
---|
arch/nios2/cpu/barebox.lds.S |
---|
arch/openrisc/cpu/barebox.lds.S |
---|
arch/ppc/boards/pcm030/barebox.lds.S |
---|
arch/ppc/mach-mpc85xx/barebox.lds.S |
---|
arch/riscv/lib/barebox.lds.S |
---|
arch/sandbox/board/barebox.lds.S |
---|
arch/x86/lib/barebox.lds.S |
---|
arch/x86/mach-efi/elf_ia32_efi.lds.S |
---|
arch/x86/mach-efi/elf_x86_64_efi.lds.S |
---|
include/asm-generic/barebox.lds.h |
---|