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.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S
index 53d57d17a894..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
@@ -125,6 +125,12 @@ SECTIONS
125 *(__ftr_fixup) 125 *(__ftr_fixup)
126 __stop___ftr_fixup = .; 126 __stop___ftr_fixup = .;
127 } 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 }
128#ifdef CONFIG_PPC64 134#ifdef CONFIG_PPC64
129 . = ALIGN(8); 135 . = ALIGN(8);
130 __fw_ftr_fixup : AT(ADDR(__fw_ftr_fixup) - LOAD_OFFSET) { 136 __fw_ftr_fixup : AT(ADDR(__fw_ftr_fixup) - LOAD_OFFSET) {