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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Xen patchbot-unstable
# HG changeset patch
# User Keir Fraser <[hidden email]>
# Date 1196256529 0
# Node ID 71bfeeb0b321b6db72f2ad05362731a2fd4408f3
# Parent  c00f31f27de6eb69b4d79f7aa330b1e4aba6f45f
xsm: Fix linker script integration for xsm initcall list.
Signed-off-by: Stefan Berger <[hidden email]>
Signed-off-by: Keir Fraser <[hidden email]>
---
 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
[hidden email]
http://lists.xensource.com/xen-changelog