[PATCH 0/3] make XIP kernel .data compressed in ROM

Nicolas Pitre nicolas.pitre at linaro.org
Tue Aug 29 13:04:03 PDT 2017


On Tue, 29 Aug 2017, Chris Brandt wrote:

> On Tuesday, August 29, 2017, Nicolas Pitre wrote:
> > Executive summary: our linker script is a complete mess. In your case
> > that would be partly solved by the patch that Arnd sent on Jul 28th 2017
> > titled "ARM: move __bug_table into .data for XIP_KERNEL". However the
> > XIP linker script is still broken for similar reasons.
> 
> Ya, I thought that would happen eventually. The only way I could get 
> agreement to fix existing broken XIP_KERNEL stuff was to split the linker 
> script into XIP and non-XIP. But, trying to follow every vmlinux.lds.S 
> change and checking to see if it is needed for vmlinux-xip.lds.S is a bit 
> daunting.

It is. And even in the non-XIP case with regards to changes in 
include/asm-generic/vmlinux.lds.h too.


Nicolas



More information about the linux-arm-kernel mailing list