]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: linker script: factor out stuff for the DISCARD section
authorNicolas Pitre <nicolas.pitre@linaro.org>
Mon, 5 Mar 2018 21:34:03 +0000 (16:34 -0500)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Sat, 10 Mar 2018 01:19:35 +0000 (20:19 -0500)
commitab42fad00953301c0d25d71340bf194868bd3df9
tree46f891ac455c7ef04014011fde34a509af6c400f
parent2f181e0ba8db654cf9e1b6abe454aebca9587448
ARM: linker script: factor out stuff for the DISCARD section

Move common entries to vmlinux.lds.h and leave XIP and non-XIP entries
in their respective file. The ARM_NOMMU_KEEP() and ARM_NOMMU_DISCARD()
macros are added to be usable within the definition of ARM_DISCARD macro.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Chris Brandt <Chris.Brandt@renesas.com>
arch/arm/kernel/vmlinux-xip.lds.S
arch/arm/kernel/vmlinux.lds.S
arch/arm/kernel/vmlinux.lds.h