lkml.org 
[lkml]   [2004]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch 2/5] UML: resync LDS script for SMP changes
From
Date

Add a couple entries to the linker script which are needed for SMP to link.
(From Yan Burman)

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
---

vanilla-linux-2.6.9-paolo/arch/um/kernel/dyn.lds.S | 2 ++
vanilla-linux-2.6.9-paolo/arch/um/kernel/uml.lds.S | 2 ++
2 files changed, 4 insertions(+)

diff -puN arch/um/kernel/uml.lds.S~uml-smp-lds-fix arch/um/kernel/uml.lds.S
--- vanilla-linux-2.6.9/arch/um/kernel/uml.lds.S~uml-smp-lds-fix 2004-10-21 01:33:45.945044440 +0200
+++ vanilla-linux-2.6.9-paolo/arch/um/kernel/uml.lds.S 2004-10-21 01:33:45.947044136 +0200
@@ -35,6 +35,8 @@ SECTIONS
{
*(.text)
SCHED_TEXT
+ LOCK_TEXT
+ *(.fixup)
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
*(.gnu.linkonce.t*)
diff -puN arch/um/kernel/dyn.lds.S~uml-smp-lds-fix arch/um/kernel/dyn.lds.S
--- vanilla-linux-2.6.9/arch/um/kernel/dyn.lds.S~uml-smp-lds-fix 2004-10-21 01:33:58.339160248 +0200
+++ vanilla-linux-2.6.9-paolo/arch/um/kernel/dyn.lds.S 2004-10-21 01:36:01.192483704 +0200
@@ -59,6 +59,8 @@ SECTIONS
.text : {
*(.text)
SCHED_TEXT
+ LOCK_TEXT
+ *(.fixup)
*(.stub .text.* .gnu.linkonce.t.*)
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.064 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site