[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xsm: Fix linker script integration for xsm initcall list.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1196256529 0
# Node ID 71bfeeb0b321b6db72f2ad05362731a2fd4408f3
# Parent  c00f31f27de6eb69b4d79f7aa330b1e4aba6f45f
xsm: Fix linker script integration for xsm initcall list.
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/x86_32/xen.lds.S |    5 +++--
 xen/arch/x86/x86_64/xen.lds.S |    3 +++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff -r c00f31f27de6 -r 71bfeeb0b321 xen/arch/x86/x86_32/xen.lds.S
--- a/xen/arch/x86/x86_32/xen.lds.S     Wed Nov 28 13:13:51 2007 +0000
+++ b/xen/arch/x86/x86_32/xen.lds.S     Wed Nov 28 13:28:49 2007 +0000
@@ -63,8 +63,9 @@ SECTIONS
   __initcall_start = .;
   .initcall.init : { *(.initcall1.init) } :text
   __initcall_end = .;
-   .xsm_initcall.init : { __xsm_initcall_start = .; 
-   *(.xsm_initcall.init) __xsm_initcall_end = .; }
+  __xsm_initcall_start = .; 
+  .xsm_initcall.init : { *(.xsm_initcall.init) } :text
+  __xsm_initcall_end = .;
   . = ALIGN(PAGE_SIZE);
   __init_end = .;
 
diff -r c00f31f27de6 -r 71bfeeb0b321 xen/arch/x86/x86_64/xen.lds.S
--- a/xen/arch/x86/x86_64/xen.lds.S     Wed Nov 28 13:13:51 2007 +0000
+++ b/xen/arch/x86/x86_64/xen.lds.S     Wed Nov 28 13:28:49 2007 +0000
@@ -61,6 +61,9 @@ SECTIONS
   __initcall_start = .;
   .initcall.init : { *(.initcall1.init) } :text
   __initcall_end = .;
+  __xsm_initcall_start = .; 
+  .xsm_initcall.init : { *(.xsm_initcall.init) } :text
+  __xsm_initcall_end = .;
   . = ALIGN(PAGE_SIZE);
   __init_end = .;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.