diff options
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index cb0e8d46c3e8..04b8e71bf5b0 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -33,6 +33,7 @@ SECTIONS | |||
33 | 33 | ||
34 | /* Text and gots */ | 34 | /* Text and gots */ |
35 | .text : { | 35 | .text : { |
36 | _text = .; | ||
36 | *(.text .text.*) | 37 | *(.text .text.*) |
37 | SCHED_TEXT | 38 | SCHED_TEXT |
38 | LOCK_TEXT | 39 | LOCK_TEXT |
@@ -61,11 +62,7 @@ SECTIONS | |||
61 | __stop___ex_table = .; | 62 | __stop___ex_table = .; |
62 | } | 63 | } |
63 | 64 | ||
64 | __bug_table : { | 65 | BUG_TABLE |
65 | __start___bug_table = .; | ||
66 | *(__bug_table) | ||
67 | __stop___bug_table = .; | ||
68 | } | ||
69 | 66 | ||
70 | /* | 67 | /* |
71 | * Init sections discarded at runtime | 68 | * Init sections discarded at runtime |
@@ -108,13 +105,7 @@ SECTIONS | |||
108 | 105 | ||
109 | .initcall.init : { | 106 | .initcall.init : { |
110 | __initcall_start = .; | 107 | __initcall_start = .; |
111 | *(.initcall1.init) | 108 | INITCALLS |
112 | *(.initcall2.init) | ||
113 | *(.initcall3.init) | ||
114 | *(.initcall4.init) | ||
115 | *(.initcall5.init) | ||
116 | *(.initcall6.init) | ||
117 | *(.initcall7.init) | ||
118 | __initcall_end = .; | 109 | __initcall_end = .; |
119 | } | 110 | } |
120 | 111 | ||