ia64/xen-unstable

changeset 18767:cf3b9afb8568

[IA64] minios: Fix ctor and dtor sections.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
author dietmar.hahn@fujitsu-siemens.com
date Mon Nov 17 09:27:02 2008 +0100 (2008-11-17)
parents 3dfe1a7c729e
children 7ef733b961c8
files extras/mini-os/arch/ia64/minios-ia64.lds
line diff
     1.1 --- a/extras/mini-os/arch/ia64/minios-ia64.lds	Mon Nov 17 09:19:45 2008 +0100
     1.2 +++ b/extras/mini-os/arch/ia64/minios-ia64.lds	Mon Nov 17 09:27:02 2008 +0100
     1.3 @@ -52,7 +52,8 @@ SECTIONS
     1.4    .fini_array     : { *(.fini_array) }
     1.5    PROVIDE (__fini_array_end = .);
     1.6  
     1.7 -  .ctors : {
     1.8 +  .ctors : AT(ADDR(.ctors) - (((5<<(61))+0x100000000) - (1 << 20)))
     1.9 +	{
    1.10          __CTOR_LIST__ = .;
    1.11          QUAD((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
    1.12          *(.ctors)
    1.13 @@ -61,7 +62,8 @@ SECTIONS
    1.14          __CTOR_END__ = .;
    1.15          }
    1.16  
    1.17 -  .dtors : {
    1.18 +  .dtors : AT(ADDR(.dtors) - (((5<<(61))+0x100000000) - (1 << 20)))
    1.19 +        {
    1.20          __DTOR_LIST__ = .;
    1.21          QUAD((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
    1.22          *(.dtors)