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

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Apr 27 04:55:05 EDT 2011


On Wed, Apr 20, 2011 at 12:15:04AM -0400, Nicolas Pitre wrote:
> 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.

No, we're not doing this - it creates confusion with static variables
declared inside functions.

It's far easier to audit for the presence of 'static' than it is for
the possibility of an ignored 'static' inside a function body.

Ensure that the uncompress.h header files are right.



More information about the linux-arm-kernel mailing list