]> git.baikalelectronics.ru Git - kernel.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)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 May 2012 09:52:17 +0000 (10:52 +0100)
commit25fd9d4182570bd933855140e40d094530dec9d6
treea6a0d39a4a45fc92e048e728d6459674b206659f
parent9c85f43320396f933577ad8cdb83be55a774924e
[PARISC] fix boot failure on 32-bit systems caused by branch stubs placed before .text

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>
Cc: stable@vger.kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
arch/parisc/kernel/vmlinux.lds.S