powerpc: Revert switch to TEXT_TEXT in linker script

Commit edada399 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 edada399 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>
This commit is contained in:
Tim Abbott 2009-04-28 11:47:15 -04:00 коммит произвёл Linus Torvalds
Родитель 27b1833279
Коммит 13beadd91f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -54,8 +54,8 @@ SECTIONS
ALIGN_FUNCTION(); ALIGN_FUNCTION();
HEAD_TEXT HEAD_TEXT
_text = .; _text = .;
TEXT_TEXT /* careful! __ftr_alt_* sections need to be close to .text */
*(.fixup __ftr_alt_*) *(.text .fixup __ftr_alt_* .ref.text)
SCHED_TEXT SCHED_TEXT
LOCK_TEXT LOCK_TEXT
KPROBES_TEXT KPROBES_TEXT