diff options
author | Jie Zhang <jie.zhang@analog.com> | 2010-01-05 04:22:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:48 -0500 |
commit | 0afc272cc6044b7a4f1318eadbfb10c4be654441 (patch) | |
tree | fcf25311a64d1334fae7d75b6e8304c64f3638fe /arch/blackfin/kernel/setup.c | |
parent | cb191718fcca887fb4d5e3de833546ab12b433f9 (diff) | |
download | blackbird-op-linux-0afc272cc6044b7a4f1318eadbfb10c4be654441.tar.gz blackbird-op-linux-0afc272cc6044b7a4f1318eadbfb10c4be654441.zip |
Blackfin: fix relocation errors with large initramfs images
Since we are now discarding .exit.text at runtime instead of link time, we
need to place all .text sections ahead of the .data sections. Otherwise,
a really large attached initramfs may cause link errors as it pushes the
PC relative relocations behind the limits of the Blackfin ISA (~16meg).
The instructions in the .exit.text are unable to call back into the .text
sections leading to a link failure.
Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions