PARISC: fix boot failure on 32-bit systems caused by branch stubs placed before ...
commit488f1224df8e32d9592afbcaf6d2c393d6ad6d8f
authorJohn David Anglin <dave.anglin@bell.net>
Thu, 17 May 2012 14:34:34 +0000 (17 10:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:32:58 +0000 (10 00:32 +0900)
tree8798066af2c6fe46d3302a23c13f65dcfe9d7906
parent93b71523531161bfdd2ac30dd1ea4bb70d1708bd
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