[PATCH 3/3] ARM: zImage: fix issues with missing GOT entries for some global variables

Tony Lindgren tony at atomide.com
Thu Apr 21 08:50:47 EDT 2011


* Nicolas Pitre <nicolas.pitre at linaro.org> [110420 07:12]:
> Many architecture specific versions of uncompress.h make use of global
> variables marked static.  In such case the GOT is bypassed and the
> code in head.S can't relocate them.
> 
> Instead of removing the static keyword from all those files and hope that
> it won't come back, let's simply
> define it out.
> 
> Signed-off-by: Nicolas Pitre <nicolas.pitre at linaro.org>
> ---
> 
> This should fix remaining issues some people have with the DT append patch.

This fixes the issue where the beginning of the DT data got overwritten
by the uncompressed kernel:

Tested-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list