powerpc: Revert switch to TEXT_TEXT in linker script
[pandora-kernel.git] / arch / powerpc / kernel / vmlinux.lds.S
index 433ae11..a047a6c 100644 (file)
@@ -54,8 +54,8 @@ SECTIONS
                ALIGN_FUNCTION();
                HEAD_TEXT
                _text = .;
-               TEXT_TEXT
-               *(.fixup __ftr_alt_*)
+               /* careful! __ftr_alt_* sections need to be close to .text */
+               *(.text .fixup __ftr_alt_* .ref.text)
                SCHED_TEXT
                LOCK_TEXT
                KPROBES_TEXT