DORMANTno replies

[uml-devel] [patch 2/5] UML: resync LDS script for SMP changes

From: <hidden>
Date: 2004-10-23 04:30:08
Also in: lkml

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

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <redacted>
---

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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help