ia64/xen-unstable

changeset 16496:71bfeeb0b321

xsm: Fix linker script integration for xsm initcall list.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Nov 28 13:28:49 2007 +0000 (2007-11-28)
parents c00f31f27de6
children c555a5f97982
files xen/arch/x86/x86_32/xen.lds.S xen/arch/x86/x86_64/xen.lds.S
line diff
     1.1 --- a/xen/arch/x86/x86_32/xen.lds.S	Wed Nov 28 13:13:51 2007 +0000
     1.2 +++ b/xen/arch/x86/x86_32/xen.lds.S	Wed Nov 28 13:28:49 2007 +0000
     1.3 @@ -63,8 +63,9 @@ SECTIONS
     1.4    __initcall_start = .;
     1.5    .initcall.init : { *(.initcall1.init) } :text
     1.6    __initcall_end = .;
     1.7 -   .xsm_initcall.init : { __xsm_initcall_start = .; 
     1.8 -   *(.xsm_initcall.init) __xsm_initcall_end = .; }
     1.9 +  __xsm_initcall_start = .; 
    1.10 +  .xsm_initcall.init : { *(.xsm_initcall.init) } :text
    1.11 +  __xsm_initcall_end = .;
    1.12    . = ALIGN(PAGE_SIZE);
    1.13    __init_end = .;
    1.14  
     2.1 --- a/xen/arch/x86/x86_64/xen.lds.S	Wed Nov 28 13:13:51 2007 +0000
     2.2 +++ b/xen/arch/x86/x86_64/xen.lds.S	Wed Nov 28 13:28:49 2007 +0000
     2.3 @@ -61,6 +61,9 @@ SECTIONS
     2.4    __initcall_start = .;
     2.5    .initcall.init : { *(.initcall1.init) } :text
     2.6    __initcall_end = .;
     2.7 +  __xsm_initcall_start = .; 
     2.8 +  .xsm_initcall.init : { *(.xsm_initcall.init) } :text
     2.9 +  __xsm_initcall_end = .;
    2.10    . = ALIGN(PAGE_SIZE);
    2.11    __init_end = .;
    2.12