diff options
author | Sebastian Siewior <bigeasy@linutronix.de> | 2008-04-30 22:16:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-01 11:08:35 -0400 |
commit | 779125c274446e873f262e24853353eaf0002719 (patch) | |
tree | a294fefb3eda8b3f6d2a82140d83fbe9c41ff6ad /arch/m68knommu | |
parent | f6054e2131d8f5d43f6686ecc7687994adecc5a2 (diff) |
m68knommu: add some missing sections into the linker script
Add some missing sections into the linker script.
Those are required for spinlocks & kallsyms.
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu')
-rw-r--r-- | arch/m68knommu/kernel/vmlinux.lds.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S index b44edb08e212..5592e0bf951f 100644 --- a/arch/m68knommu/kernel/vmlinux.lds.S +++ b/arch/m68knommu/kernel/vmlinux.lds.S | |||
@@ -64,6 +64,7 @@ SECTIONS { | |||
64 | _stext = . ; | 64 | _stext = . ; |
65 | TEXT_TEXT | 65 | TEXT_TEXT |
66 | SCHED_TEXT | 66 | SCHED_TEXT |
67 | LOCK_TEXT | ||
67 | *(.text.lock) | 68 | *(.text.lock) |
68 | 69 | ||
69 | . = ALIGN(16); /* Exception table */ | 70 | . = ALIGN(16); /* Exception table */ |
@@ -73,6 +74,7 @@ SECTIONS { | |||
73 | 74 | ||
74 | *(.rodata) *(.rodata.*) | 75 | *(.rodata) *(.rodata.*) |
75 | *(__vermagic) /* Kernel version magic */ | 76 | *(__vermagic) /* Kernel version magic */ |
77 | *(__markers_strings) | ||
76 | *(.rodata1) | 78 | *(.rodata1) |
77 | *(.rodata.str1.1) | 79 | *(.rodata.str1.1) |
78 | 80 | ||
@@ -182,6 +184,7 @@ SECTIONS { | |||
182 | *(COMMON) | 184 | *(COMMON) |
183 | . = ALIGN(4) ; | 185 | . = ALIGN(4) ; |
184 | _ebss = . ; | 186 | _ebss = . ; |
187 | _end = . ; | ||
185 | } > BSS | 188 | } > BSS |
186 | 189 | ||
187 | } | 190 | } |