ARM: use LOADADDR() to get load address of sections
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 11 Feb 2022 19:49:50 +0000 (19:49 +0000)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sat, 5 Mar 2022 10:41:58 +0000 (10:41 +0000)
commit8d9d651ff2270a632e9dc497b142db31e8911315
tree5cd75511da5a6954f95caca52f593454f4f10d56
parent04e91b7324760a377a725e218b5ee783826d30f5
ARM: use LOADADDR() to get load address of sections

Use the linker's LOADADDR() macro to get the load address of the
sections, and provide a macro to set the start and end symbols.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/vmlinux.lds.h