aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r--arch/powerpc/kernel/vmlinux.lds.S10
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S
index 0c3000bf8d75..87a72c66ce27 100644
--- a/arch/powerpc/kernel/vmlinux.lds.S
+++ b/arch/powerpc/kernel/vmlinux.lds.S
@@ -35,7 +35,7 @@ SECTIONS
35 ALIGN_FUNCTION(); 35 ALIGN_FUNCTION();
36 *(.text.head) 36 *(.text.head)
37 _text = .; 37 _text = .;
38 *(.text .fixup .text.init.refok .exit.text.refok) 38 *(.text .fixup .text.init.refok .exit.text.refok __ftr_alt_*)
39 SCHED_TEXT 39 SCHED_TEXT
40 LOCK_TEXT 40 LOCK_TEXT
41 KPROBES_TEXT 41 KPROBES_TEXT
@@ -64,8 +64,6 @@ SECTIONS
64 64
65 NOTES 65 NOTES
66 66
67 BUG_TABLE
68
69/* 67/*
70 * Init sections discarded at runtime 68 * Init sections discarded at runtime
71 */ 69 */
@@ -127,6 +125,12 @@ SECTIONS
127 *(__ftr_fixup) 125 *(__ftr_fixup)
128 __stop___ftr_fixup = .; 126 __stop___ftr_fixup = .;
129 } 127 }
128 . = ALIGN(8);
129 __lwsync_fixup : AT(ADDR(__lwsync_fixup) - LOAD_OFFSET) {
130 __start___lwsync_fixup = .;
131 *(__lwsync_fixup)
132 __stop___lwsync_fixup = .;
133 }
130#ifdef CONFIG_PPC64 134#ifdef CONFIG_PPC64
131 . = ALIGN(8); 135 . = ALIGN(8);
132 __fw_ftr_fixup : AT(ADDR(__fw_ftr_fixup) - LOAD_OFFSET) { 136 __fw_ftr_fixup : AT(ADDR(__fw_ftr_fixup) - LOAD_OFFSET) {