mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] m68knommu: add some missing sections into the linker script
@ 2008-05-01  2:16 Greg Ungerer
  0 siblings, 0 replies; only message in thread
From: Greg Ungerer @ 2008-05-01  2:16 UTC (permalink / raw)
  To: torvalds; +Cc: akpm, gerg, linux-kernel

From: Sebastian Siewior <bigeasy@linutronix.de>

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>
---


diff -Naurp linux-2.6.25/arch/m68knommu/kernel/vmlinux.lds.S linux-2.6.25-uc0/arch/m68knommu/kernel/vmlinux.lds.S
--- linux-2.6.25/arch/m68knommu/kernel/vmlinux.lds.S	2008-04-17 12:49:44.000000000 +1000
+++ linux-2.6.25-uc0/arch/m68knommu/kernel/vmlinux.lds.S	2008-04-22 14:48:44.000000000 +1000
@@ -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
 
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-01  2:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-01  2:16 [PATCH] m68knommu: add some missing sections into the linker script Greg Ungerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®