]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: linker script: factor out some common definitions between XIP and non-XIP
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 28 Feb 2018 03:39:27 +0000 (22:39 -0500)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Sat, 10 Mar 2018 01:19:01 +0000 (20:19 -0500)
commit76b1e3d888b3068f68d17129bf3ac5d6cb1535bd
tree16d86241f1e85cdc5d5ca8e723f6cdbc7d8ddc65
parentec86ef94f7e7b4fb720bc80e7ffb57326f152ab0
ARM: linker script: factor out some common definitions between XIP and non-XIP

Lots of duplications between vmlinux.lds.S and vmlinux-xip.lds.S.
This may lead to one file being updated but not the other. For example,
SOFTIRQENTRY_TEXT and HYPERVISOR_TEXT were missing from the XIP version.

This creates vmlinux.lds.h where a bunch of common defines are moved.

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 [new file with mode: 0644]