Home
last modified time | relevance | path

Searched hist:"8 d7e4cc2c8ea1d180d32d902eb899f27d3ee53d7" (Results 1 – 2 of 2) sorted by relevance

/linux/arch/arm/boot/compressed/
H A DMakefilediff 8d7e4cc2c8ea1d180d32d902eb899f27d3ee53d7 Wed Apr 27 20:54:39 CEST 2011 Nicolas Pitre <nicolas.pitre@linaro.org> ARM: zImage: make sure no GOTOFF relocs are used with .bss symbols

To be able to relocate the .bss section at run time independently from
the rest of the code, we must make sure that no GOTOFF relocations are
used with .bss symbols. This usually means that no global variables can
be marked static unless they're also const.

To enforce this, suffice to fail the build whenever a private symbol
is allocated to .bss and list those symbols for convenience.

The user_stack and user_stack_end labels in head.S were converted into
non exported symbols to remove false positives.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: Tony Lindgren <tony@atomide.com>
H A Dhead.Sdiff 8d7e4cc2c8ea1d180d32d902eb899f27d3ee53d7 Wed Apr 27 20:54:39 CEST 2011 Nicolas Pitre <nicolas.pitre@linaro.org> ARM: zImage: make sure no GOTOFF relocs are used with .bss symbols

To be able to relocate the .bss section at run time independently from
the rest of the code, we must make sure that no GOTOFF relocations are
used with .bss symbols. This usually means that no global variables can
be marked static unless they're also const.

To enforce this, suffice to fail the build whenever a private symbol
is allocated to .bss and list those symbols for convenience.

The user_stack and user_stack_end labels in head.S were converted into
non exported symbols to remove false positives.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: Tony Lindgren <tony@atomide.com>