ARM: 8513/1: xip: Move XIP linking to a separate file
authorChris Brandt <chris.brandt@renesas.com>
Wed, 3 Feb 2016 14:58:10 +0000 (15:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 11 Feb 2016 15:33:39 +0000 (15:33 +0000)
commit538bf4694898b19e76f32d554cc16135cf37b51c
tree23bf4422d05f626d03d3c46ea5e98c4f7c571f2e
parent8b6f2499ac45d5a0ab2e4b6f9613ab3f60416be1
ARM: 8513/1: xip: Move XIP linking to a separate file

When building an XIP kernel, the linker script needs to be much different
than a conventional kernel's script. Over time, it's been difficult to
maintain both XIP and non-XIP layouts in one linker script. Therefore,
this patch separates the two procedures into two completely different
files.

The new linker script is essentially a straight copy of the current script
with all the non-CONFIG_XIP_KERNEL portions removed.

Additionally, all CONFIG_XIP_KERNEL portions have been removed from the
existing linker script...never to return again.

It should be noted that this does not fix any current XIP issues, but
rather is the first move in fixing them properly with subsequent patches.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/vmlinux-xip.lds.S [new file with mode: 0644]
arch/arm/kernel/vmlinux.lds.S