diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2013-02-19 05:11:30 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-03-04 02:20:09 +0100 |
commit | b4e6153704dda5bef78dd59324205b5e61829499 (patch) | |
tree | d35becb2f01f88da2249d07e8e4758f34c07fcfd /arch/arm/mach-imx/clk-imx6q.c | |
parent | Linux 3.9-rc1 (diff) | |
download | linux-b4e6153704dda5bef78dd59324205b5e61829499.tar.xz linux-b4e6153704dda5bef78dd59324205b5e61829499.zip |
ARM: mach-imx: move early resume code out of the .data section
Building the kernel with allyesconfig fails because the i.mx early
resume code located in the .data section is unable to fixup the bl
relocation as the branch target gets too far away.
The idea of having code in the .data section allows for easy access to
nearby data using relative addressing while the MMU is off. However it
is probably best to move the code back to the .text section where it
belongs and fixup the data access instead. This solves the bl reloc
issue (at least until this becomes a general problem) and simplifies
the code as well.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/clk-imx6q.c')
0 files changed, 0 insertions, 0 deletions