mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 2/5] UML: resync LDS script for SMP changes
@ 2004-10-23  3:53 blaisorblade_spam
  0 siblings, 0 replies; only message in thread
From: blaisorblade_spam @ 2004-10-23  3:53 UTC (permalink / raw)
  To: akpm; +Cc: jdike, linux-kernel, user-mode-linux-devel, blaisorblade_spam


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

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

only message in thread, other threads:[~2004-10-23  4:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-23  3:53 [patch 2/5] UML: resync LDS script for SMP changes blaisorblade_spam

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®