]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Revert switch to TEXT_TEXT in linker script
authorTim Abbott <tabbott@MIT.EDU>
Tue, 28 Apr 2009 15:47:15 +0000 (11:47 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Apr 2009 22:55:14 +0000 (15:55 -0700)
commitb2c4ab806900547a810b821951deab48afbb1a54
tree7dd1c38768401a3d0dfd65fb03020a80ede02700
parent0706d139f06d172b210ad2a9ff245b1e3e0a6bcd
powerpc: Revert switch to TEXT_TEXT in linker script

Commit 941cd97c broke the build on 64-bit powerpc because it moved the
__ftr_alt_* sections of a file away from the .text section, causing
link failures due to relative conditional branch targets being too far
away from the branch instructions.  This happens on pretty much all
64-bit powerpc configs.

This change reverts commit 941cd97c while preserving the update from
the *.refok sections to .ref.text that has happened since.

Signed-off-by: Tim Abbott <tabbott@mit.edu>
Requested-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/kernel/vmlinux.lds.S