]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PARISC: fix boot failure on 32-bit systems caused by branch stubs placed before ...
authorJohn David Anglin <dave.anglin@bell.net>
Thu, 17 May 2012 14:34:34 +0000 (10:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:36:07 +0000 (00:36 +0900)
commite01b7f872913f583b5c043b99c8f5af2eb44d051
tree83f13ddf5b1c84272bfdc865e72511d88a58234b
parent27ab30eb965b9d26c5811f5505d95c8ede08c580
PARISC: fix boot failure on 32-bit systems caused by branch stubs placed before .text

commit ed5fb2471b7060767957fb964eb1aaec71533ab1 upstream.

In certain configurations, the resulting kernel becomes too large to boot
because the linker places the long branch stubs for the merged .text section
at the very start of the image.  As a result, the initial transfer of control
jumps to an unexpected location.  Fix this by placing the head text in a
separate section so the stubs for .text are not at the start of the image.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/vmlinux.lds.S