Skip to contentSkip to conversation

m68knommu: add some missing sections into the linker script

PATCH New Greg Ungerer 1 participant 1 message May 1, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m68knommu: add some missing sections into the linker script

From: Sebastian Siewior <[email protected]>

Add some missing sections into the linker script.
Those are required for spinlocks & kallsyms.

---

arch/m68knommu/kernel/vmlinux.lds.S +3 -0
diff -Naurp linux-2.6.25/arch/m68knommu/kernel/vmlinux.lds.S linux-2.6.25-uc0/arch/m68knommu/kernel/vmlinux.lds.S
@@ -64,6 +64,7 @@ SECTIONS {
 		_stext = . ;
 		TEXT_TEXT
 		SCHED_TEXT
+		LOCK_TEXT
         	*(.text.lock)
 
 		. = ALIGN(16);          /* Exception table              */
@@ -73,6 +74,7 @@ SECTIONS {
 
 		*(.rodata) *(.rodata.*)
 		*(__vermagic)		/* Kernel version magic */
+		*(__markers_strings)
 		*(.rodata1)
 		*(.rodata.str1.1)
 
@@ -182,6 +184,7 @@ SECTIONS {
 		*(COMMON)
 		. = ALIGN(4) ;
 		_ebss = . ;
+	 	_end = . ;
 	} > BSS
 
 }